On Sun, Mar 01, 2009 at 09:41:18PM +1100, Sebastian Spiess wrote:
> Hi all,
> 
> I've started using mencoder to reduce size of the videos I take with my
> digicam.
> 
> up to now I've used something along the line of 
> mencoder P1020451.MOV -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000
> -oac mp3lame -lameopts cbr:br=96:mode=3  -of avi -o wallaby.avi
> 
> as I have not much of a clue I used these settings and they gave me much
> smaller videofiles which play on my ubuntu with no problems.
> 
> But as you can see I use mpeg4 and not ogg. What would be a good setting
> for ogg?
> 
> Do you have any suggestions for optimising the video compacting?
> 
> BTW: I tried using some of the MEncoder GUIs all to no avail. they where
> all complicated to install, dependencies etc... suggestions are welcome!

any reason for using ogg, the guys on the mailing list are rather not
happy with ogm and ogg for video.  I would suggest moving to x264 and
aac in a mkv container.

this is what i use on my video files from my digital camera (power shot
g10 - cannon). my requirement was ease of view from over the internet.

also I use 2 pass encoding and mp4 and scales to quarter pal ~ 300bits (this is 
a cut and paste from the
output of my scripts lanrisk.addr is the input file)


Video Pass 1/2
nice mencoder -really-quiet -vf 
scale=::::::qpal,hqdn3d=2:1:2,pp=de,uspp=5,harddup  -af volnorm=1\
 -ovc x264  -x264encopts \
pass=1:turbo=2:nob_pyramid:bframes=1:subq=6:frameref=3:partitions=all:me=umh:weight_b:threads=auto:qcomp=0.75:mixed_refs:nofast_pskip:trellis=2:nodct_decimate:nopsnr:brdo:bitrate=300
-oac faac  -faacopts br=128:object=2:tns:mpeg=4  -passlogfile \
"/tmp/user/1000/myConvert.14Xa4/divx2pass.log" -o /dev/null \
"lanrisk.addr" -idx    >>"/tmp/user/1000/myConvert.14Xa4/stdout.txt" \
2>>"/tmp/user/1000/myConvert.14Xa4/stderr.txt"


nice mencoder -really-quiet      -vf
scale=::::::qpal,hqdn3d=2:1:2,pp=de,uspp=5,harddup  -af volnorm=1  -ovc
x264  -x264encopts
pass=2:nob_pyramid:bframes=1:subq=6:frameref=3:partitions=all:me=umh:weight_b:threads=auto:qcomp=0.75:mixed_refs:nofast_pskip:trellis=2:nodct_decimate:nopsnr:brdo:bitrate=300
-oac faac  -faacopts br=128:object=2:tns:mpeg=4  -passlogfile
"/tmp/user/1000/myConvert.14Xa4/divx2pass.log" -o
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.avi" "lanrisk.addr" -idx
>>"/tmp/user/1000/myConvert.14Xa4/stdout.txt"
>>2>>"/tmp/user/1000/myConvert.14Xa4/stderr.txt"

nice MP4Box -aviraw video
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.avi" -out
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.h264"
>>"/tmp/user/1000/myConvert.14Xa4/stdout.txt"
>>2>>"/tmp/user/1000/myConvert.14Xa4/stderr.txt"

nice MP4Box -aviraw audio
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.avi" -out
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.aac"
>>"/tmp/user/1000/myConvert.14Xa4/stdout.txt"
>>2>>"/tmp/user/1000/myConvert.14Xa4/stderr.txt"

nice  mv
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_audio.raw"
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_audio.aac"
>>"/tmp/user/1000/myConvert.14Xa4/stdout.txt"
>>2>>"/tmp/user/1000/myConvert.14Xa4/stderr.txt"

nice MP4Box -add
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_video.h264" -add
"/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_audio.aac" -new
"lanrisk.addr.mp4"   >>"/tmp/user/1000/myConvert.14Xa4/stdout.txt"
2>>"/tmp/user/1000/myConvert.14Xa4/stderr.txt"

nice touch -r "lanrisk.addr" "lanrisk.addr.mp4"
>>"/tmp/user/1000/myConvert.14Xa4/stdout.txt"
>>2>>"/tmp/user/1000/myConvert.14Xa4/stderr.txt"


> 
> 
> Cheers,
> 
> Seb



> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
"Over 75 percent of white Americans own their home, and less than 50 percent of 
Hispanos and African Americans don't own their home. And that's a gap, that's a 
homeownership gap. And we've got to do something about it."

        - George W. Bush
07/01/2002
Cleveland, OH

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to