[MEncoder-users] Extracting row video for x264 encoding

Julien Palard mencoder at mandark.fr
Tue Mar 29 19:17:30 CEST 2011


Hi there !

I'm trying to encode some videos using this way :

Extract raw audio, use faac to encode
Extract raw video, use x264 to encode
box them together as mp4.

I'm using mplayer and faac for the audio, it works :)
I'm using mencoder and x264 for video : I got problems with framrates
: videos outputs are randomly (depending of the input) [normal | a bit
fast | 2x too fast]

My current try is :
mencoder source_file
dsize=650:366:0,scale=0:0,expand=650:366,dsize=1.5,format=i420
-nosound -ovc raw -of rawvideo -ofps 25 video.yuv
then
x264 video.yuv -o --fps 25 --profile baseline --level 3
--no-fast-pskip --vbv-maxrate 512 --vbv-bufsize 512 --partitions all
--no-cabac --me tesa --subme 10 --input-res 650x366 video.h264

I want to force ~25 FPS on output, I don't need more ... but i got
this a/v desync.

Any idea ?


More information about the MEncoder-users mailing list