Profile for DivX Plus HD?

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Profile for DivX Plus HD?

Post by scatman »

Hi,

I use HandBrake 0.9.5 and I am looking for a DivX Plus HD profile. Is there any preset that I can use?

Background:
My player Philips BDP7500 is certified for DivX Plus HD and plays the demo content on the DivX site without problems (http://www.divx.com/en/electronics/solu ... s-hd/video).
My attempts building a compatible mkv-file with the presets normal and high failed. As a source for my own expriences I used the movie sintel from http://www.sintel.org/wp-content/content/download.html.
joethezombie
Experienced
Posts: 81
Joined: Wed Dec 30, 2009 3:34 pm

Re: Profile for DivX Plus HD?

Post by joethezombie »

One of the DivX team members posted over at the doom9 forums about a year ago, and recommended this for maximum DivX HD hardware compatibility.
porfitron wrote:We've posted DivX Plus compatible settings at DivX Labs, since DivX Plus HD devices are coming out this year from our CE partners (e.g. Philips, Seagate, etc...).
If you choose MKV as the format and AAC for the audio, these are the advanced settings we recommend:

Code: Select all

level=40:ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0:vbv-maxrate=20000:vbv-bufsize=25000

EDIT: Looks like he posted the same thing on the HandBrake forums just a few weeks ago as well, LOL.
Last edited by joethezombie on Sun Feb 06, 2011 3:56 pm, edited 2 times in total.
Deleted User 11865

Re: Profile for DivX Plus HD?

Post by Deleted User 11865 »

If that was a year ago, you may want to add b-pyramid=none to that advanced options string; if that doesn't work, try adding weightp=0 as well.
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

joethezombie wrote:One of the DivX team members posted over at the doom9 forums about a year ago, and recommended this for maximum DivX HD hardware compatibility.
porfitron wrote:We've posted DivX Plus compatible settings at DivX Labs, since DivX Plus HD devices are coming out this year from our CE partners (e.g. Philips, Seagate, etc...).
If you choose MKV as the format and AAC for the audio, these are the advanced settings we recommend:

Code: Select all

level=40:ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0:vbv-maxrate=20000:vbv-bufsize=25000

EDIT: Looks like he posted the same thing on the HandBrake forums just a few weeks ago as well, LOL.
Well...I found that string on Wikipedia and tried it already. Unfortunately it will not produce a working file for the Philips player.
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

Rodeo wrote:If that was a year ago, you may want to add b-pyramid=none to that advanced options string; if that doesn't work, try adding weightp=0 as well.
Thanx Rodeo. I will check this one out tomorrow and will report back.

What I should have mentioned is that I included the english sub ("softcoded") into the mkv-file. Maybe this is the reason for the experienced problems.

CU
Scatman
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

I was not able to produce playable videos coded the proposed way. I do honestly not know why because the suggested settings should enhance the compatiblity to the maximum.

I made a comparison between the files provided by DivX and the ones coded with handbrake. I was able to discover a lot of differences, the most importent one should be that the files of DivX are encoded with some kind of a high profile.
Than I decided to use another encoding tool - ripbot for windows - and choose the DivX+ HD profile. The file coded this way played like a charm on the Philips player.

I analysed the Ripbot coded file and tried to rebuild the used parameters with Handbrake. I got very close but the file encoded with Handbrake is not playable on the Philips player.

To allow you a comparision for yourself see below the protocol from MediaInfo Mac for the files sintel_ripbot.mkv and sintel_handbrake.mkv.

Does anyone know what settings have to be adjusted?

Kind regards,
Scatman

--

SINTEL_RIPBOT

* * * MediaInfo Mac 0.7.36.0 file analysis report.
* * * MediaInfo Mac is ©2010 by Diego Massanti - http://mediainfo.massanti.com
* * * MediaInfoLib by Jerome Martinez - http://mediainfo.sourceforge.net
Created on: 09.02.2011 19:43:22 MEZ
Report for file: sintel_ripbot.mkv

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Total Subtitle Streams for this File..............1
Video Codecs Used.................................AVC
Audio Codecs Used.................................AAC LC
SubTitle Codecs Used..............................UTF-8
Available Sutbitle Languages......................German
File Format.......................................Matroska
Play Time.........................................14mn 48s
Total File Size...................................341 MiB
Total Stream BitRate..............................3 220 Kbps
Title (Tag).......................................sintel_main41
Encoded with......................................mkvmerge v4.4.0 ('Die Wiederkehr') built on Oct 31 2010 21:52:48
Encoding Library..................................libebml v1.0.0 + libmatroska v1.0.0
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................V_MPEG4/ISO/AVC
Codec Profile.....................................High@L4.0
Frame Width.......................................1 920 pixels
Frame Height......................................1 080 pixels
Frame Rate........................................24.000 fps
Total Frames......................................21316
Display Aspect Ratio..............................16:9
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................CABAC / 3 Ref Frames
Codec Settings (CABAC)............................Yes
Codec Settings (Reference Frames).................3
Video Stream Length...............................14mn 48s 167ms
Video Stream BitRate Mode.........................VBR
Bit Depth.........................................8 bits
Video Encoder.....................................x264 - core 112 r1867 22bfd31
Video Encoder (Settings)..........................cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=96 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Audio Stream #1
Codec.............................................AAC
Codec (FourCC)....................................A_AAC
Audio Stream Length...............................14mn 48s 149ms
Number of Audio Channels..........................2
Audio Channel's Positions.........................Front: L R
Sampling Rate.....................................48.0 KHz
Audio Stream Language.............................English
Subtitle Stream #1
Language..........................................German
Format............................................UTF-8
Codec ID..........................................S_TEXT/UTF8
Codec Info........................................UTF-8 Plain Text





SINTEL_HANDBRAKE

* * * MediaInfo Mac 0.7.36.0 file analysis report.
* * * MediaInfo Mac is ©2010 by Diego Massanti - http://mediainfo.massanti.com
* * * MediaInfoLib by Jerome Martinez - http://mediainfo.sourceforge.net
Created on: 09.02.2011 19:43:36 MEZ
Report for file: sintel_handbrake.mkv

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Total Subtitle Streams for this File..............1
Video Codecs Used.................................AVC
Audio Codecs Used.................................AAC LC
SubTitle Codecs Used..............................UTF-8
Available Sutbitle Languages......................German
File Format.......................................Matroska
Play Time.........................................14mn 47s
Total File Size...................................347 MiB
Total Stream BitRate..............................3 274 Kbps
Encoded with......................................HandBrake 0.9.5
Encoding Library..................................libmkv 0.6.4.1
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................V_MPEG4/ISO/AVC
Codec Profile.....................................High@L4.0
Frame Width.......................................1 920 pixels
Frame Height......................................1 080 pixels
Frame Rate........................................24.000 fps
Total Frames......................................21310
Display Aspect Ratio..............................16:9
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................CABAC / 3 Ref Frames
Codec Settings (CABAC)............................Yes
Codec Settings (Reference Frames).................3
Video Stream Length...............................14mn 47s 917ms
Video Stream BitRate Mode.........................VBR
Bit Depth.........................................8 bits
Video Encoder.....................................x264 - core 112
Video Encoder (Settings)..........................cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=96 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Video Stream Language.............................English
Color Primaries...................................BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer Characteristics..........................BT.709-5, BT.1361
Matrix Coefficients...............................BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio Stream #1
Codec.............................................AAC
Codec (FourCC)....................................A_AAC
Audio Stream Length...............................14mn 47s 917ms
Number of Audio Channels..........................2
Audio Channel's Positions.........................Front: L R
Sampling Rate.....................................48.0 KHz
Audio Stream Language.............................English
Subtitle Stream #1
Language..........................................German
Format............................................UTF-8
Codec ID..........................................S_TEXT/UTF8
Codec Info........................................UTF-8 Plain Text
User avatar
JohnAStebbins
HandBrake Team
Posts: 5726
Joined: Sat Feb 09, 2008 7:21 pm

Re: Profile for DivX Plus HD?

Post by JohnAStebbins »

In all of this, I don't see a single HB encode log.

Maybe this is another case of a device that doesn't support variable framerate video. But since there's no HB log, I can't tell if you did a vfr encode or not.
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

JohnAStebbins wrote:In all of this, I don't see a single HB encode log.
Thank you very much for the quick answer! I was not aware of the logging feature but I found it in the preferences. I will do another encoding and will provide the log file from Handbrake.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5726
Joined: Sat Feb 09, 2008 7:21 pm

Re: Profile for DivX Plus HD?

Post by JohnAStebbins »

The gui's all log every encode. If you didn't turn logging off at some point, then all your previous logs are saved somwhere. Follow the link in the red box at the top of the forum page to find out where they are stored and how to access them in the mac ui.
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

HandBrake Activity Log for /Users/stq/Desktop/sintel_handbrake.mkv: 2011-02-09 20:07:53 +0100
Handbrake Version: 0.9.5 x86_64 (2011010300)

[20:07:53] macgui: getNextPendingQueueIndex next pending encode index is:1
[20:07:53] macgui: scanning specifically for title: 1
[20:07:53] hb_scan: path=/Users/stq/Documents/input.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Users/stq/Documents/input.mkv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/Users/stq/Documents/input.mkv) failed (0x11d819c00)
[20:07:53] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:07:53] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/stq/Documents/input.mkv':
Duration: 00:14:48.14, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn, 48 tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16
Stream #0.2(deu): Subtitle: [0][0][0][0] / 0x0000
[20:07:53] scan: decoding previews for title 1
[20:07:54] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 132/132/0/0, aspect 16:9, PAR 1:1
[20:07:54] scan: title (0) job->width:1920, job->height:816
[20:07:54] libhb: scan thread found 1 valid title(s)
[20:07:54] macgui: ScanDone state received from fQueueEncodeLibhb
[20:07:54] macgui: Preset: x264 DivX+ HD 4
[20:07:54] macgui: processNewQueueEncode number of passes expected is: 1
[20:07:54] macgui: Start / Stop set to chapters
[20:07:54] macgui: prepareJob exiting
[20:07:54] 1 job(s) to process
[20:07:54] starting job
[20:07:54] sync: expecting 21339 video frames
[20:07:54] job configuration:
[20:07:54] * source
[20:07:54] + /Users/stq/Documents/input.mkv
[20:07:54] + title 1, chapter(s) 1 to 1
[20:07:54] + container: matroska,webm
[20:07:54] * destination
[20:07:54] + /Users/stq/Desktop/sintel_handbrake.mkv
[20:07:54] + container: Matroska (.mkv)
[20:07:54] * video track
[20:07:54] + decoder: h264
[20:07:54] + frame rate: same as source (around 24.000 fps)
[20:07:54] + dimensions: 1920 * 1080 -> 1920 * 1080, crop 0/0/0/0, mod 16
[20:07:54] + encoder: x264
[20:07:54] + options: me=umh:threads=6:keyint=96:nal_hrd=vbr:b-pyramid=none:rc_lookahead=40:vbv_maxrate=20000:vbv_bufsize=25000:qpmin=0:keyint_min=24
[20:07:54] + quality: 22.00 (RF)
[20:07:54] * subtitle track 0, German (id 2) Text [UTF-8] -> Pass-Through, Default
[20:07:54] * audio track 0
[20:07:54] + decoder: English (AAC) (2.0 ch) (track 1, id 1)
[20:07:54] + mixdown: Stereo
[20:07:54] + encoder: ca_aac
[20:07:54] + bitrate: 160 kbps, samplerate: 48000 Hz
[20:07:54] encx264: min-keyint: 24, keyint: 96
[20:07:54] encx264: Encoding at constant RF 22.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
[20:07:54] reader: first SCR 0 id 0 DTS 0
[20:27:13] reader: done. 1 scr changes
[20:27:16] work: average encoding speed for job is 18.331808 fps
[20:27:16] sync: got 21310 frames, 21339 expected
[20:27:17] h264-decoder done: 21310 frames, 0 decoder errors, 0 drops
[20:27:17] render: lost time: 0 (0 frames)
[20:27:17] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:361 Avg QP:14.67 size:100971 PSNR Mean Y:51.46 U:56.26 V:55.88 Avg:52.37 Global:50.94
x264 [info]: frame P:10152 Avg QP:22.11 size: 24068 PSNR Mean Y:48.42 U:54.29 V:54.06 Avg:49.46 Global:47.38
x264 [info]: frame B:10797 Avg QP:25.48 size: 5398 PSNR Mean Y:48.16 U:54.58 V:54.35 Avg:48.98 Global:46.78
x264 [info]: consecutive B-frames: 23.0% 22.6% 7.0% 47.5%
x264 [info]: mb I I16..4: 48.0% 25.8% 26.2%
x264 [info]: mb P I16..4: 11.0% 6.4% 1.1% P16..4: 27.1% 6.9% 3.4% 0.0% 0.0% skip:44.0%
x264 [info]: mb B I16..4: 1.1% 0.7% 0.1% B16..8: 22.5% 1.8% 0.2% direct: 0.7% skip:73.0% L0:45.0% L1:51.3% BI: 3.7%
x264 [info]: 8x8 transform intra:33.4% inter:67.1%
x264 [info]: coded y,uvDC,uvAC intra: 24.7% 42.9% 9.1% inter: 7.3% 9.9% 0.1%
x264 [info]: i16 v,h,dc,p: 43% 29% 11% 17%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 22% 38% 3% 4% 3% 4% 4% 3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 25% 18% 4% 7% 6% 6% 5% 5%
x264 [info]: i8c dc,h,v,p: 61% 20% 16% 3%
x264 [info]: Weighted P-Frames: Y:2.8% UV:0.6%
x264 [info]: ref P L0: 76.4% 9.8% 10.6% 3.1% 0.0%
x264 [info]: ref B L0: 91.6% 8.4%
x264 [info]: SSIM Mean Y:0.9922245 (21.093db)
x264 [info]: PSNR Mean Y:48.341 U:54.470 V:54.235 Avg:49.267 Global:47.105 kb/s:3055.01
[20:27:17] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[20:27:17] mux: track 0, 21310 frames, 339057176 bytes, 3054.00 kbps, fifo 8
[20:27:17] mux: track 1, 41633 frames, 18190512 bytes, 163.85 kbps, fifo 512
[20:27:17] mux: track 2, 26 frames, 776 bytes, 0.01 kbps, fifo 8
[20:27:17] libhb: work result = 0
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

After playing with another couple of possible settings I decided to give up this mission. For encoding the Div+ HD profile I will use Ripbot for the encoding which the player is capable of playing.
Deleted User 11865

Re: Profile for DivX Plus HD?

Post by Deleted User 11865 »

scatman wrote:After playing with another couple of possible settings I decided to give up this mission. For encoding the Div+ HD profile I will use Ripbot for the encoding which the player is capable of playing.
Did you try John's suggestion (specific framerate, Peak Framerate unchecked instead of Same as source)?
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

Rodeo wrote:
scatman wrote:After playing with another couple of possible settings I decided to give up this mission. For encoding the Div+ HD profile I will use Ripbot for the encoding which the player is capable of playing.
Did you try John's suggestion (specific framerate, Peak Framerate unchecked instead of Same as source)?
Yes, I tried them, but at first without success. The reason for this was the audio data. After demuxing the the source the encoding with the video data worked flawlessly with John's suggestions. Next step was remuxing. And again this time the encoding of the hole file worked well. The only explaination I have is that somehow I must have damaged the source file by adjusting the video size and adding black borders with ffmpeg.

So for the Philips BDP7500 player I can use the High profile with the addition of setting the frame rate, the average bitrate, the vbv_maxrate and vbv_bufsize. I do not know if this settings comply with the DivX+ HD profile but these setting are working for me.

Thank you for your time and effort
Scatman
Deleted User 11865

Re: Profile for DivX Plus HD?

Post by Deleted User 11865 »

scatman wrote:The only explaination I have is that somehow I must have damaged the source file by adjusting the video size and adding black borders with ffmpeg.
Adding "black bars" (padding) requires re-encoding the file, so after going through ffmpeg it wasn't the HandBrake encode anymore.
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

Rodeo wrote: Adding "black bars" (padding) requires re-encoding the file, so after going through ffmpeg it wasn't the HandBrake encode anymore.
Yes, you are right that this would be the case. But to clearify let me state that I added the "black bars" with ffmpeg before I encoded the file with HandBrake.
gersey
Posts: 13
Joined: Sat Feb 19, 2011 1:29 pm

Re: Profile for DivX Plus HD?

Post by gersey »

scatman wrote: Video Encoder (Settings)..........................cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=96 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
I too have struggled with divx_hd buffer-underflows, I'm glad you have solved your problem.
I'd just like to add that you don't have to rely on vbv to create compatible media.

If you can give up crf, set weightp=0, and set rc_lookahead=60 then vbv is irrelevant
gersey
Posts: 13
Joined: Sat Feb 19, 2011 1:29 pm

Re: Profile for DivX Plus HD?

Post by gersey »

you may want to add b-pyramid=none to that advanced options string;
I'm fairly sure divx_hd handles b-pyramid fine.
scatman
Posts: 11
Joined: Sun Feb 06, 2011 9:32 am

Re: Profile for DivX Plus HD?

Post by scatman »

gersey wrote:
scatman wrote: Video Encoder (Settings)..........................cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=96 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
I too have struggled with divx_hd buffer-underflows, I'm glad you have solved your problem.
I'd just like to add that you don't have to rely on vbv to create compatible media.

If you can give up crf, set weightp=0, and set rc_lookahead=60 then vbv is irrelevant
Thank you very much for the clarification. Maybe the time would be right to provide a named profile DivX+ HD besides the Normal and High Profile with every release of HandBrake. Life would be much easier for many people, I guess.
gersey
Posts: 13
Joined: Sat Feb 19, 2011 1:29 pm

Re: Profile for DivX Plus HD?

Post by gersey »

scatman wrote:Maybe the time would be right to provide a named profile DivX+ HD besides the Normal and High Profile with every release of HandBrake.
Mate, how can there be an official Divx_Plus_HD Profile? Divx_plus_HD is a proprietary, closed, secretive competitor to x264. People discovered that AppleTV settings worked with divx and prodded the company about that. Finally the company admitted that it was _possible_ to encode divx with x264 and released these settings.
Last edited by gersey on Sun Feb 20, 2011 8:46 am, edited 1 time in total.
Deleted User 11865

Re: Profile for DivX Plus HD?

Post by Deleted User 11865 »

gersey wrote:
scatman wrote:Maybe the time would be right to provide a named profile DivX+ HD besides the Normal and High Profile with every release of HandBrake.
Mate, how can there be an official Divx_Plus_HD Profile? Divx_plus_HD is a proprietary, closed, secretive competitor to x264. People discovered that AppleTV settings worked with divx and prodded the company about that. Finally the company admitted that it was _possible_ to encode divx with x264 and released these settings.
Well, it' still just a subset of H.264, so any reasonably configurable H.264 encoder should be able to output compatible streams.
Just like DivX was just a subset MPEG-4 Visual (you can encode DivX-compatible MPEG-4 Visual with several encoders, like xvid or ffmpeg).

A "DivX Plus HD" preset targeting DivX Plus HD certified devices does make sense. However, just like any of the very many devices the developers don't own, there won't be an official preset for it.
vukodlak75
Posts: 17
Joined: Tue Sep 25, 2007 9:22 pm

Re: Profile for DivX Plus HD?

Post by vukodlak75 »

scatman wrote:
joethezombie wrote:One of the DivX team members posted over at the doom9 forums about a year ago, and recommended this for maximum DivX HD hardware compatibility.
porfitron wrote:We've posted DivX Plus compatible settings at DivX Labs, since DivX Plus HD devices are coming out this year from our CE partners (e.g. Philips, Seagate, etc...).
If you choose MKV as the format and AAC for the audio, these are the advanced settings we recommend:

Code: Select all

level=40:ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0:vbv-maxrate=20000:vbv-bufsize=25000

EDIT: Looks like he posted the same thing on the HandBrake forums just a few weeks ago as well, LOL.
Well...I found that string on Wikipedia and tried it already. Unfortunately it will not produce a working file for the Philips player.
A small detail was left out. For HB v.0.9.5 you need to set the framerate. Do not use Same as Source setting in HB.
I now can make mkv's that are compatible with my DivX Plus HD certified devices.
Post Reply