-
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.
-
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.
-
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?
-
Re: mencoder error
probably best to replace with
-ofps 24 -vf harddup
-
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