[MEncoder-users] Sending raw video into x264

Andrew Berg bahamutzero8825 at gmail.com
Wed Mar 4 11:16:08 CET 2009


James Hastings-Trew wrote:
> Why try to send output from mencoder to x264 when mencoder has x264 
> built into it? And I don't mean the mencoder that comes with Media 
> Coder. I mean get a decent built of it from 
> http://oss.netfarm.it/mplayer-win32.php.
>   
This package had the man page in HTML included. It's up on the MPlayer
site now, but the last time I tried to look at the HTML man page, I got
an empty file. Thanks for the link.
> I am assuming your input is interlaced NTSC video in mpeg-2, likely from 
> a DVD source, and you want a progressive h.264/aac .mp4 output. You 
> could try this:
>
> mencoder input.vob -fps 30000/1001 -ofps 24000/1001 -of lavf -lavopts 
> format=mp4
> \ -oac faac -faacopts mpeg=4:object=2:br=128:raw -channels 2 -srate 48000
> \ -ovc -ovc x264 -x264encopts 
> bitrate=2500:vbv_maxrate=8000:vbv_bufsize=1835:
> \ 
> nocabac:frameref=6:subq4=6:partitions=all:me=umh:level_idc=31:nofast_pskip:
> \ nodct_decimate:global_header:threads=auto
> \ -sws 9 -vf pullup,softskip,scale=848:480:dsize=848:480,harddup
> \ -o yourmovie.mp4
>   
I'm looking at it with mplayer, and pullup doesn't do a very good job
(at least for the videos I'm working with), but yadif seems to work. Thanks.



More information about the MEncoder-users mailing list