Hello,
I was having trouble converting any video at all until I used:
Code:
$cmd_mencoder = "env LD_PRELOAD=/home/vid/lib/libmp3lame.so.0 $config[mencoder] $video_src -o $video_flv -of lavf -vc ffwmv3 -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";
This works fine for all .wmv files, but for anything else -- .avi, .mpg, etc, it wont convert.
I have also tried using:
Code:
$cmd_mencoder = "env LD_PRELOAD=/home/vid/lib/libmp3lame.so.0 $config[mencoder] '$video_src' -o $video_flv -of lavf -vc ffwmv3 -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";
But that would only convert to .avi and nothing else.
On a file which cannot be converted, the end of the debug looks like:
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
================================================== ========================
Forced video codec: ffwmv3
Read DOCS/HTML/en/codecs.html!
================================================== ========================
Exiting...
2007-11-02 15:44:28 -------------------------------------------------------------
2007-11-02 15:44:28 Return value: Exiting...
2007-11-02 15:44:28 Calling process_video[23,0]
Any help would be greatly appreciated!
Thanks.
Bookmarks