2008-06-19, 06:18
Just curious Geo or anyone what are the settings to use for Handbrake GUI inlcuding adding the CQM . Wanted to try working with that again. Thanks!
Witchdoctor Wrote:Just curious Geo or anyone what are the settings to use for Handbrake GUI inlcuding adding the CQM . Wanted to try working with that again. Thanks!
idahoxj Wrote:I just pasted the settings into the advanced box in the gui and save the result as a preset, everything works fine. I just have a text file I keep my settings in.
For JPSiemers' settings paste this into the advanced window.
level=30:keyint=240:min-keyint=24:ref=5:mixed-refs=1:no-fast-pskip=1:bframes=5:b-pyramid=1:b-rdo=1:bime=1:weightb=1:direct=auto:nf=1ubme=7:partitions=all:8x8dct=1:qpmin=18:vbv-bufsize=1000:vbv-maxrate=5000:ratetol=4.0:me=umh:threads=auto:progress=1:no-psnr=1:no-ssim=1:nr=0:nf:cabac=1:trellis=0:thread-input=1:cqm-file=C\CQM\eqm_avc_hr.cfg
I am also using mediacoder with the same settings selected under the h264 advanced options and with nf=1 added under extra settings. Both methods work well but mediacoder files don't need to be post processed.
I now have about 20 encodes done using both gui programs and I now have zero issues playing the files on the xbox.
Witchdoctor Wrote:I notice that once I save those settings as a preset I close and reopen the program and everything past ratetol=4 is gone. Is it still taking the CQM?
idahoxj Wrote:It wasn't using the cqm. I have it working now though, I placed the cqm file in the handbrake directory and used cqm=.\CQM\eqm_avc_hr.cfg, and I now get a cqm value for the files.
These are the settings I'm using now.
level=30:keyint=240:min-keyint=24:ref=5:mixed-refs=1:no-fast-pskip=1:bframes=5:b-pyramid=1:b-rdo=1:bime=1:weightb=1:direct=auto:nf=1ubme=7:partitions=all:8x8dct=1:qpmin=18:vbv-bufsize=1000:vbv-maxrate=5000:ratetol=4.0:me=umh:threads=auto:progress=1:no-psnr=1:no-ssim=1:nr=0:nf:cabac=1:trellis=0:thread-input=1:cqm=.\CQM\eqm_avc_hr.cfg
The saved presets seem to be buggy so I just paste this into the options every time.
fbgd Wrote:I'm no expert at this stuff but in my opinion you really might be better off just using xvid or the lavc mpeg4 encoder than x264 for xbmc on the xbox. It seems like you guys are having to disable a lot of the good stuff about h264 like the inloop deblocking. I am able to get high quality encodes for movies using xvid at a constant quantizer of 2 along with very acceptable file sizes
fbgd Wrote:I'm no expert at this stuff but in my opinion you really might be better off just using xvid or the lavc mpeg4 encoder than x264 for xbmc on the xbox. It seems like you guys are having to disable a lot of the good stuff about h264 like the inloop deblocking. I am able to get high quality encodes for movies using xvid at a constant quantizer of 2 along with very acceptable file sizesYou are absolutly correct, good old DivX and XviD (and lavc mpeg4 encoder) are also much more compatible with more players and software. The only reason for making H.264 files compatible with the Xbox is if you want to save harddisk space.
Gamester17 Wrote:You are absolutly correct, good old DivX and XviD (and lavc mpeg4 encoder) are also much more compatible with more players and software. The only reason for making H.264 files compatible with the Xbox is if you want to save harddisk space.
Rand Al Thor Wrote:I think I have narrowed it down to Handbrake as my preferred encoder simply because it autodetects forced subtitles. I am still working on finding settings like i mention in my previous post. I am trying to copy the settings used by Fabio Sonnati (aka the guy who eats codecs for breakfast). If you don't know what I am talking about check this out.
http://www.flashvideofactory.com/test/DE..._500K.html
720p @ only 500kb/s and it looks insane! I found a version (or an approximation) of his settings as applied to MediaCoder (for those interested they can be found here http://forum.mediacoderhq.com/viewtopic....sc&start=0 ). Then I did my best to transfer those to Handbrake so that I could take advantage of the auto forced subtitle detection. My concerns are more quality than anything. I don't really care about encoding time or size and I am running xbmc on linux so I have plenty of horsepower. I am not really sure how well this will work on the good old xbox but if anyone is interested these are the settings I am working with right now.
crf=16:qp-const=60:trellis=1:b-pyramid=1:qp-min=10:qp-max=51:qp-step=4:level-idc=51:me=esa:merange=16:keyint=250:keyint-min=25:analyse=all:direct=auto:nomixed-refs=1:8x8dct=1:analyse=all:deblock=-2,-1:weightb=1:bframes=5ubq=7:direct=auto:b-adapt=1:dct-decimate=1:fast-pskip=1:ref=5:bime=1
From the research I did before starting all of this I read that a crf of 17 or below would be indistinguishable from the original. Using mediacoder at crf=17 gave me a file that was smaller than the same movie encoded in autogk/xvid/100% and it did not have nearly as much "softening" so I was quite happy with that. I am now encoding the same movie with these new settings in Handbrake and hoping that the genius of Fabio Sonatti can make the outcome even better. It will probably take quite a while to encode but I will report back when it is done. Cheers.
idahoxj Wrote:It wasn't using the cqm. I have it working now though, I placed the cqm file in the handbrake directory and used cqm=.\CQM\eqm_avc_hr.cfg, and I now get a cqm value for the files.
These are the settings I'm using now.
level=30:keyint=240:min-keyint=24:ref=5:mixed-refs=1:no-fast-pskip=1:bframes=5:b-pyramid=1:b-rdo=1:bime=1:weightb=1:direct=auto:nf=1ubme=7:partitions=all:8x8dct=1:qpmin=18:vbv-bufsize=1000:vbv-maxrate=5000:ratetol=4.0:me=umh:threads=auto:progress=1:no-psnr=1:no-ssim=1:nr=0:nf:cabac=1:trellis=0:thread-input=1:cqm=.\CQM\eqm_avc_hr.cfg
The saved presets seem to be buggy so I just paste this into the options every time.