MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Tuesday, June 10, 2008

[MEncoder-users] problem with h264/aac .mp4

Hi

I have encoded some mpg to mp4 with
nice mencoder -really-quiet -aspect 16:9 -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=220
-oac faac -faacopts object=2:tns:mpeg=4 -passlogfile
"/tmp/user/1000/myConvert.7GX8P/divx2pass.log" -o /dev/null
"/home/alex/VideoCamera/src/video/by-date/20071019094844-MOV001_19.mpg"
-idx


nice mencoder -really-quiet -aspect 16:9 -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=220
-oac faac -faacopts object=2:tns:mpeg=4 -passlogfile
"/tmp/user/1000/myConvert.7GX8P/divx2pass.log" -o
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19.avi"
"/home/alex/VideoCamera/src/video/by-date/20071019094844-MOV001_19.mpg"
-idx

MP4Box -aviraw video
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19.avi" -out
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19.h264"

nice MP4Box -aviraw audio
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19.avi" -out
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19.aac"

nice mv
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19_audio.raw"
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19_audio.aac"


nice MP4Box -add
"/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19_video.h264"
-add "/tmp/user/1000/myConvert.7GX8P/20071019094844-MOV001_19_audio.aac"
-new "20071019094844-MOV001_19.mp4"

when i play these output file back with mplayer everything plays okay,
but when I try to rewind to the beginning (has to be to the beginning )

I get these errors
[h264 @ 0xb3f440]warning: first frame is no keyframe ??% ??,?% 0 0
pts value <= previous: -0.313 ct: -0.032 0/ 0 ??% ??% ??,?% 0 0

and the picture goes all crappy and eventually come good

what am missing / I doing wrong ?


alex
--
Please come again.

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy