Results 1 to 4 of 4

Thread: Convert Problem

  1. #1
    Join Date
    Jun 2007
    Posts
    5

    Default Convert Problem

    My problem is this, if i upload a video all ok, the video is convert ok but after upload i cant not view the video, the thumbail apears ok but when i touch play the video stop at moment.
    If then i executed the convert command that apears into debug.txt the command works ok and then the video work perfect.
    Why if the command is same only work the video when i executed the command in the ssh session?

  2. #2
    Join Date
    Jun 2007
    Posts
    5

    Default Problem

    I make a script with:
    <?php

    $cmd = "/usr/local/bin/mencoder /home/httpd/vhosts/videosmios.com/httpdocs/video/25.wmv -o /home/httpd/vhosts/videosmios.com/httpdocs/flvideo/25.flv -of lav$

    $last_line = system($cmd, $retval);

    echo '
    </pre>
    <hr />Last line of the output: ' . $last_line . '
    <hr />Return value: ' . $retval;

    ?>
    when i executed this script return value 127 but the video was not encoded, but by command line the comnand is ok.
    I have all necesary packages installed.
    If i executed into command line:
    php convert.php all ok and return 0, after the video is ok.

  3. #3
    Join Date
    May 2007
    Posts
    686

    Default

    It means you are missing a variable or its not guided to the right spot i had the same trouble earlier. My mencoder was not guided to the right place.

  4. #4
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    Problem is your mencoder not properly installed. You can ask your web host or server admin to run the command on server command prompt and see if video is getting converted to FLV. If not they need to reinstall mencoder/mplayer.

Similar Threads

  1. Convert PRoblem
    By umarsa in forum Installation Support
    Replies: 4
    Last Post: 04-15-2009, 10:50 PM
  2. CONVERT PROBLEM :(
    By gergokee in forum Installation Support
    Replies: 16
    Last Post: 09-17-2008, 02:19 PM
  3. problem uploading video: failed to convert frame to gd image
    By MrStinky in forum Installation Support
    Replies: 2
    Last Post: 05-02-2008, 12:47 PM
  4. Problem with convert
    By Nickolin in forum Installation Support
    Replies: 1
    Last Post: 10-12-2007, 09:42 AM
  5. Video Does Not Load/Convert Mencoder Problem Maybe
    By Gersitz in forum Installation Support
    Replies: 1
    Last Post: 09-17-2007, 07:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •