[MEncoder-users] x264 converts to bad aspect ratio

Cristian Rusu crirus at gmail.com
Tue Jan 5 15:56:23 CET 2010


Hello

This drives me crazy

I tried to convert a wmv (the most sucking file format) to mp4(h.264)

For some reason the aspect ratio is set to 4/3 although I get x264 [info]:
using SAR=1/1

Should I mention I can never sync audio and video from that wmv?

Please help


Here is what I use:

mencoder 1057.wmv -o /dev/null -ovc x264 -x264encopts
pass=1:turbo:bitrate=600:threads=auto:trellis=1:subq=1:frameref=1:bframes=3:b_pyramid=normal:weight_b
-oac faac -faacopts br=56:mpeg=4:object=2 -srate 44100 -ofps 24000/1001 -vf
harddup -demuxer lavf -noskip -mc 0
mencoder 1057.wmv -o temp.raw -ovc x264 -x264encopts
turbo=1:bitrate=400:threads=auto:trellis=1:subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid=normal:weight_b
-oac faac -faacopts br=56:mpeg=4:object=2 -srate 44100 -ofps 24000/1001 -vf
harddup -demuxer lavf -noskip -mc 0


mplayer  temp.raw -dumpaudio -dumpfile  temp.aac
mplayer  temp.raw -dumpvideo -dumpfile  temp.h264

mp4creator -create=temp.aac  1057.mp4
mp4creator -create=temp.h264 -rate=23.976  1057.mp4

mp4creator -hint=1  1057.mp4
mp4creator -hint=2  1057.mp4
mp4creator -optimize  1057.mp4




_______________
Sincerely
Cristian Rusu
==============
www.crilance.com
crilance.blogspot.com
Web Development & Electronic Publishing


More information about the MEncoder-users mailing list