View Full Version : mencoder and mp4, no bframes?
Sirber
12th December 2006, 22:03
Any status of when MP4 made with mencoder will work with bframes?
bond
15th December 2006, 18:11
why dont you use ffmpeg?
Sirber
27th December 2006, 00:07
I didn't find much infos on how to encode to x264 with it...
Sharktooth
27th December 2006, 05:11
you better use mp4box for muxing...
bond
27th December 2006, 15:04
I didn't find much infos on how to encode to x264 with it...
ffmpeg -i input.avs -vcodec h264 -bf 3 -bpyramid 1 -threads 2 ffmpeg.mp4creates a perfect mp4
Yong
27th December 2006, 16:55
Example, tweaked "full-version" of 2 pass encoding:
ffmpeg -i video.avs -b 400000 -vcodec h264 -cmp chroma -keyint_min 30 -me_range 16 -deblockalpha -3 -deblockbeta -6 -bf 2 -sc_threshold 40 -qdiff 4 -qmin 10 -qmax 51 -qcomp 0.60 -b_qfactor 1.30 -b_qoffset 1 -i_qoffset 1.40 -i_qfactor 0.71 -qsquish 1 -coder 1 -flags loop -directpred 3 -b_strategy 1 -pass 1 -passlogfile "%temp%\x264.log" -an -refs 1 -trellis 0 -subq 1 -flags2 bpyramid+mixed_refs video.mp4
ffmpeg -i video.avs -b 400000 -vcodec h264 -cmp chroma -keyint_min 30 -me_range 16 -deblockalpha -3 -deblockbeta -6 -bf 2 -sc_threshold 40 -qdiff 4 -qmin 10 -qmax 51 -qcomp 0.60 -b_qfactor 1.30 -b_qoffset 1 -i_qoffset 1.40 -i_qfactor 0.71 -qsquish 1 -coder 1 -flags loop -directpred 3 -b_strategy 1 -pass 2 -passlogfile "%temp%\x264.log" -acodec copy -me umh -refs 6 -subq 6 -trellis 2 -flags2 8x8dct+bpyramid+wpred+mixed_refs+brdo -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 video.mp4
For some unknown reason, the parti8x8 and i8x8dct option doesnt work, and some options still missing because devs didnt update the code.
I could write a simple batch file for it if someone is interested;)
Sirber
30th December 2006, 21:29
ffmpeg doesn't allow filtering and subs like mencoder does.
http://www.arl.hpc.mil/SciVis/mencoder.html
In this page, exemples uses "-of mp4". Can mencoder be compiled with GPAC?
bond
31st December 2006, 03:14
why dont you simply feed ffmpeg with an avs script?
Sirber
31st December 2006, 03:16
I'm trying to build a multi-os encoding GUI :)
bond
31st December 2006, 03:23
I'm trying to build a multi-os encoding GUI :)well i guess you will need to fix mencoder's b-frame handling first ;)
Sirber
31st December 2006, 03:35
well i guess you will need to fix mencoder's b-frame handling first ;)
crap :( can I pay you 5$ for it? :D
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.