[MPlayer-users] making QT playable x264+aac.mp4 in MacOSX
HTUME 20051111
htumenc at gmail.com
Fri Dec 16 09:54:59 CET 2005
Hi,
I'm Mac user, and using MEncoder from cvs to make QT playable x264+aac.mp4.
(Don't have nor will get iPod).
here are example commandlines:
1) MENCODER_PASS1&2 -- built from CVS
mencoder "MPEG2-PS.mpeg" -nosound -ovc x264 -x264encopts
threads=2:me=3:bitrate=1078:qp_min=10:qp_max=51:i4x4:4x4mv:frameref=5:mixed_refs:subq=6:brdo:trellis=2:keyint=230:scenecut=30:cabac:deblock:nob_adapt:bframes=1:psnr:turbo=1:pass=1
-passlogfile "MPEG2-PS.mpeg.264".log -vf
pullup,softskip,"WHATEVER-YOU-LIKE",harddup -sws 10 -ofps 24.000 -of
rawvideo -o /dev/null
mencoder "MPEG2-PS.mpeg" -nosound -ovc x264 -x264encopts
threads=2:me=3:bitrate=1078:qp_min=10:qp_max=51:i4x4:4x4mv:frameref=5:mixed_refs:subq=6:brdo:trellis=2:keyint=230:scenecut=30:cabac:deblock:nob_adapt:bframes=1:psnr:pass=2
-passlogfile "MPEG2-PS.mpeg.264".log -vf
pullup,softskip,"WHATEVER-YOU-LIKE",harddup -sws 10 -ofps 24.000 -of
rawvideo -o "MPEG2-PS.264"
2) FFMPEG_AUDIO -- MobileHackerz patched.
ffmpeg -i "MPEG2-PS.264" -i "MPEG2-PS.mpeg" -y -vn -f mp4 -acodec aac
-ar 48000 -ac 2 -ab 64 -map 1.1:0.0 "MPEG2-PS.aac.mp4"
3) MP4BOX_--mux -- included in ffmpegX0.0.9u.
mp4box -fps 24.000 -add "MPEG2-PS.264" -add "MPEG2-PS.aac.mp4" -new
"FINAL-OUTPUT.mp4"
Q1) Using "-ofps 24.000" is for mp4box.
a ) MEncoder "-ofps 23.976" , MP4box "-fps 23.976" results "Timescale
23975" in "mp4box -info" (also in VLC).
b ) MEncoder "-ofps 24000/1001" , MP4box "-fps 23.976" results "Timescale 23975"
c ) MEncoder "-ofps 24000/1001" , MP4box "-fps 24000:1001" results
"Timescale 24000000"
d ) MEncoder "-ofps 24.000" , MP4box "-fps 24.000" results "Timescale 24000"
I'm confusing about "c) ", cause mp4box accepts "-fps 24000:1001" when
I mux Video.mp4 created by other tool, like x264cli.
any advise appreciated.
Btw,,,
qt didn't accept cqm=jvt.
Whenever I set Bframes, QT shows "White frame" at beginning.
Although I don't know about win/vfw/avi, this seems "Delay frame"
(hack to put B in AVI).
With "Delay frame", QT-playable, but never show some info like
bitrates, also can't change anything.
When I remove this, .mp4 became 100% QTplayer pro acceptable.
More information about the MPlayer-users
mailing list