[MEncoder-users] Script for h264 conversion for mencoder
Cameron Just
lists.mplayerhq.hu at spam.phoenixdigital.com
Mon Jan 21 03:32:17 CET 2008
Hi James,
Thanks for the tip I have tried a simpler audio encoding now and it
appears to be encoding... I wont be able to test until I get home from
work though.
C:\System\Apps\MEncoder\mencoder.exe Test.mpg -sws 9 -of lavf -lavfopts
format=mp4 -vf crop=392:568:70:3,scale=400:304,dsize=400:304,harddup
-ovc x264 -x264encopts
bitrate=350:vbv_maxrate=1500:vbv_bufsize=1835:nocabac:me=umh:trellis=1:level_idc=41:global_header:threads=auto
-oac faac -faacopts mpeg=4:br=128 -o output.mp4
I report back with the results and paste in the script so it might help
others who google for this answer.
James Hastings-Trew wrote:
> Cameron Just wrote:
>> Hi All,
>>
>> Thankyou for your responses has cleared a few things up for me. My older
>> version of mencoder did not have aac and I stupidly thought ac3 was the
>> same.
>>
>> It appears I cannot find a version of mencoder for win32 which has aac
>> working in it
>>
>> Trying to run this
>> C:\System\Apps\MEncoder\mencoder.exe Test.mpg -sws 9 -of lavf -lavfopts
>> format=mp4 -vf crop=392:568:70:3,scale=400:304,dsize=400:304,harddup
>> -ovc x264 -x264encopts
>> bitrate=350:vbv_maxrate=1500:vbv_bufsize=1835:nocabac:me=umh:trellis=1:level_idc=41:global_header:threads=auto
>>
>> -oac faac -faacopts mpeg=4:object=2:br=160:raw -channels 2 -srate 48000
>> -o output.mp4
>>
>> Gives me the following output
>> ======================================
>> MEncoder 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
>> CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 47,
>> Stepping: 0)
>> CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>> Compiled with runtime CPU detection.
>> Error parsing option on the command line: -faacopts
>>
>> Exiting... (error parsing command line)
>> ======================================
>>
>> I have tried a few versions from various locations on the net
>> http://oss.netfarm.it/mplayer-win32.php
>> and
>> http://www.mplayerhq.hu/design7/dload.html
>>
>> However it appears aac is available because when I run
>> mencoder -oac help
>> I get
>> ====================
>> MEncoder 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
>> CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 47,
>> Stepping: 0)
>> CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>> Compiled with runtime CPU detection
> Hmm. I'm running the version from here:
> http://oss.netfarm.it/mplayer-win32.php
> However, I've not been running any of the rc versions. Mine is
> 24537-4.2.1. Dunno if something broke in the faacopts or not.... sorry.
More information about the MEncoder-users
mailing list