1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NEED help with mplayer in php

Discussion in 'PHP & Perl' started by CyrusNode, Jul 16, 2009.

  1. CyrusNode

    CyrusNode Registered Member

    Joined:
    May 26, 2009
    Messages:
    58
    Likes Received:
    14
    im just got a new script and uploaded and its working alright but the videos will not play. and im guessing its because im getting an error. This:

    Code:
    PHP CLI
             [B][B]missing[/B][/B] (/usr/bin/php)
             MEncoder
             [B][B]missing[/B][/B] (/usr/bin/mencoder)
             MPlayer
             [B][B]missing[/B][/B] (/usr/bin/mplayer)
             FFMpeg
             [B][B]missing[/B][/B] (/usr/bin/ffmpeg)
             FLVTool2
             [B][B]missing[/B][/B] (/usr/bin/flvtool2)
                     Formats Error (mplayer or mencoder not installed)!
    

    if someone could tell me whats wrong i would be more than happy for the day. ive been going through this all day and still cant figure it out.
    something to do with mplayer or mencoder
     
  2. XoC--

    XoC-- Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 5, 2009
    Messages:
    211
    Likes Received:
    113
    This means you're missing the binaries, you'll need to do look at the scripts requirements and install the packages on your server.

    I'm not exactly sure about memcoder or mplayer but if you're using redhat based distro you can use the commands
    Code:
    yum install ffmpeg
    yum install flvtool2
    
    Also for the missing /usr/bin/php
    You can create a symbolic link to the original location
    example
    Code:
    ln -s <my php bin> /usr/bin/php 
    
     
  3. CyrusNode

    CyrusNode Registered Member

    Joined:
    May 26, 2009
    Messages:
    58
    Likes Received:
    14
    you seriously completely lost me buddy. if you could put that in "newb" terms for me. can i download the bianaries and put them intoa certain folder. and also, my server... i have a hosting company, so i dont know anything about that part.if you could talk me through it i would be more than happy to throw a few ads on for you once its up and running. thats about all ,
     
  4. XoC--

    XoC-- Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 5, 2009
    Messages:
    211
    Likes Received:
    113
    No need for ads, I've pmed you.
     
  5. CyrusNode

    CyrusNode Registered Member

    Joined:
    May 26, 2009
    Messages:
    58
    Likes Received:
    14
    so, that guy XoC never got back to me. great to know that he helped. anyone else ?
     
  6. Allie Albatross

    Allie Albatross Junior Member

    Joined:
    Jan 31, 2009
    Messages:
    116
    Likes Received:
    44
    Location:
    Austin, TX
    Which hosting company do you have?
     
  7. CyrusNode

    CyrusNode Registered Member

    Joined:
    May 26, 2009
    Messages:
    58
    Likes Received:
    14
    well. i am using rude
    if you could help me with this. i have a messenger you can talk to me on.
    just pm me. i need the help bad.