Results 1 to 5 of 5

Thread: mencoder error

  1. #1
    Join Date
    Jun 2007
    Location
    New York, NY
    Posts
    92

    Default mencoder error

    Calling ffmpeg-php -> ffmpeg_movie()
    Get video duration - START
    Get video duration - END
    DURATION: 391.825156
    Create Thumbnail - START
    Create Thumbnail - END
    CONVERT COMMAND: /usr/bin/mencoder /home/xxxxxxx/video/popeyenaturalthingtodo.mp4 -o /home/xxxxxx/flvideo/1192470423497519261.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es
    -------------------------------------------------------------

    Array
    (
    [0] => MEncoder dev-SVN-r24766-3.4.6 (C) 2000-2007 MPlayer Team
    [1] => CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (Family: 6, Model: 15, Stepping: 2)
    [2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    [3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    [4] =>
    [5] =>
    [6] => Exiting... (error parsing command line)
    )

    -------------------------------------------------------------
    Return value: Exiting... (error parsing command line)
    File Size too small : Bytes, Upload a big video.

    The file is only a 16meg mp4 and works fine.
    Find the best video sites at OnlineTV Video Guide. Register your Vshare there today!

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

    Default Re: mencoder error

    The problem is mencoder is not able to convert the video to FLV format.

    Code:
    /usr/bin/mencoder /home/xxxxxxx/video/popeyenaturalthingtodo.mp4 -o /home/xxxxxx/flvideo/1192470423497519261.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
    Ask your server admin or web host to run this command and see if video is getting converted to FLV.

    If mencoder is not able to convert video to FLV, it is problem with mencoder installation.

  3. #3
    Join Date
    Jun 2007
    Location
    New York, NY
    Posts
    92

    Default Re: mencoder error

    From my administrator:

    With the new ffmpeg and mencoder module, the command will run as follows :

    /usr/bin/mencoder /home/nylive/public_html/movietv/share/video/popeyenaturalthingtodo.mp4 -o /home/nylive/public_html/movietv/share/flvideo/1192484602967173392.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 12

    Please note I replaced the ending part of the command

    -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es

    with

    -ofps 12


    So, what do you think?
    Find the best video sites at OnlineTV Video Guide. Register your Vshare there today!

  4. #4
    Join Date
    May 2007
    Posts
    588

    Default Re: mencoder error

    probably best to replace with

    -ofps 24 -vf harddup

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

    Default Re: mencoder error

    This is because mencoder on your server upgraded to latest version, on latest mencoder, they changed command line options.

    For new version of mencoder, you need to use convert command

    Code:
    $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv\
    -of lavf -oac mp3lame -lameopts abr:br=56\
    -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3
    -srate 22050 -ofps 24 -vf harddup";
    http://docs.buyscripts.in/wiki/Mencoder_options

Similar Threads

  1. Converting Error MENCODER
    By umarsa in forum Installation Support
    Replies: 9
    Last Post: 10-24-2008, 02:12 PM
  2. Errors with Mencoder
    By ramius in forum Installation Support
    Replies: 2
    Last Post: 07-30-2008, 05:07 PM
  3. MENCODER CHANGES!
    By mersh in forum Installation Support
    Replies: 7
    Last Post: 08-31-2007, 08:17 AM
  4. FFmpeg, Mencoder, ect...
    By Killerbee in forum Installation Support
    Replies: 2
    Last Post: 08-18-2007, 02:08 PM
  5. mencoder not working? use FFMPEG INSTEAD! :)
    By mersh in forum Installation Support
    Replies: 10
    Last Post: 06-28-2007, 08:56 PM

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
  •