View Full Version : Encoding as fast as possible
Guilllo
11th January 2008, 17:55
I'd like to transcode x264 videos with aac audios to xvid and mp3 so as to be playable on my tv.
I don't really know which settings to use with mencoder but keep in mind that speed is the only thing that count : file size of one file may be about 4.4gb or less and with a not too big degradation.
Thanks
nm
11th January 2008, 18:36
There are example settings for libavcodec's MPEG-4 ASP encoder in the documentation: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-libavcodec.html#menc-feat-mpeg4-lavc-example-settings
Use a low constant quantizer (vqscale=2) for good quality when you don't have file size restrictions.
Guilllo
11th January 2008, 19:05
Encoding at only 34 fps.
I can remember nerodigital encoding at 70fps when i was under windows.
Isn't there a way to achieve such a speed when encoding a first pass, which are know to be fast ? I would use the first pass as the final file....
nm
11th January 2008, 21:16
Well, -lavcopts vcodec=mpeg4:mbd=0:turbo:vqscale=3 runs at about 50 fps on my Athlon XP 2400+, with a PAL MPEG-2 source. The turbo parameter in MEncoder's lavcopts enables some "fast first pass" settings, but you may need to tweak things further. If you have a dualcore CPU, add more encoding threads (-lavcopts threads=2:...).
Guilllo
12th January 2008, 18:44
I've got a P4 3.2 GHZ HT.
You're right. I'm about 75 fps now. Thanks
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.