Diary Of An x264 Developer

12/05/2010 (3:35 pm)

Direct from the Blu-ray disc

Filed under: blu-ray,x264 ::

A MediaInfo from the Warner Brothers’ Blu-ray “The Town“:

General
Complete name : 00020.m2ts
Format : BDAV
Format/Info : Advanced Video Codec
File size : 528 KiB
Duration : 900ms
Overall bit rate : 4 745 Kbps
Maximum Overall bit rate : 15.0 Mbps
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 27
Duration : 1s 1ms
Bit rate mode : Variable
Bit rate : 5 000 Kbps
Maximum bit rate : 24.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.101
Stream size : 611 KiB
Writing library : x264 core 104 r1683 62997d6

(Yes, it’s just a menu. But good things start small!)

20 Responses to “Direct from the Blu-ray disc”

  1. xoa Says:

    Congrats, and good for us all, really. As you’ve so often pointed out, the codec used is of critical importance to the quality of the final product, far more then just the format. The sooner everyone stops using inferior codecs pointlessly the better. Hopefully they’ll even choose to contribute something back, but getting a better product is a reward regardless, and if it becomes widespread that there may be additional benefits as well (like more universal support for hardware acceleration of all H.264 features, not merely Main Profile for example).

    Though to be fair, with the kind of bit rate Blu-ray products typically throw at the problem I suspect even MPEG2 would do fine with plenty of stuff. But as you say, baby steps.

  2. David Mackenzie Says:

    Fantastic news.
    I’m delighted to see, of all people, Warner Home Video use something other than VC-1.

  3. Cory Nelson Says:

    Guess that’s a clever way of testing compatibility without ruining the movie for people if there is an issue.

  4. saintdev Says:

    What settings did they use, or did they strip the SEI info?

  5. Cory Nelson Says:

    @saintdev

    cabac=1 / ref=4 / deblock=1:0:0 / analyse=0×3:0×133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / slices=1 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=2 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=2 / weightp=0 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=2pass / mbtree=1 / bitrate=5000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=20000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=vbr

  6. TiGR Says:

    Wow. That’s some good news :-)

  7. Mick Says:

    What requirement is in place, regarding the licencing, for x264 revision updatedness? It wouldn’t make sense for them in a years time to still be using that revision… although it seems to be common place to not update such things.

  8. Ranguvar Says:

    I’m fairly sure the licensing imposes any such restrictions.

    The last I heard of such a practice was when Tuomo Valkonen lost his marbles.

  9. D3C0D3R Says:

    win!
    >Duration : 1s 1ms
    but why?

  10. David Mackenzie Says:

    Fantastic news.
    I’m delighted to see, of all people, Warner Home Video use something other than VC-1.

  11. Ranguvar Says:

    s/licensing imposes/licensing does not impose/

    By the way, DS, your blog title is grammatically incorrect, and this is bugging me in an unreasonable way.
    Your old blog (http://x264dev.blogspot.com/) had the correct title, this one has evil capitalization.

  12. CruNcher Says:

    I don’t want to spoil the fun but couldn’t it be that the Menu was authored somewhere else i mean its common as there companies who specialize in Interactive Menu creation.

    Menu = House1
    Film = House2/Warner
    Authoring = Warner/House1/House2

  13. CruNcher Says:

    Quiete possible that this is the Source of those Encodes http://www.gdmxchange.com/ca-encoding.php

  14. Gideon "Gnafu" Mayhak Says:

    @CruNcher:

    I don’t think it spoils anyone’s fun. The point wasn’t /who/ encoded the file; the point was that x264 was used in the encoding of /some component/ of a commercial disc.

  15. pitpro Says:

    Here’s the detailed information:

    Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0×3:0×133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / slices=1 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=2 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=2 / weightp=0 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=2pass / mbtree=1 / bitrate=5000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=20000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=vbr

  16. Biggiesized Says:

    No, Warner’s authoring house, GDMX, does everything themselves, good AND bad.

  17. poopi Says:

    Check this out. This is a main video from Phil Collins – Going Back concert BD…
    Video Stream #1
    Codec (Human Name)…………………………..AVC
    Codec (FourCC)………………………………V_MPEG4/ISO/AVC
    Codec Profile……………………………….High@L4.1
    Frame Width…………………………………1 920 pixels
    Frame Height………………………………..1 080 pixels
    Frame Rate………………………………….29.970 fps
    Total Frames………………………………..176182
    Display Aspect Ratio…………………………16:9
    Scan Type…………………………………..MBAFF
    Color Space…………………………………YUV
    Codec Settings (Summary)……………………..CABAC / 3 Ref Frames
    QF (like Gordian Knot)……………………….0.451
    Codec Settings (CABAC)……………………….Yes
    Codec Settings (Reference Frames)……………..3
    Video Stream Length………………………….1h 37mn 58s 612ms
    Video Stream BitRate (Nominal)………………..28.0 Mbps
    Video Stream BitRate Mode…………………….VBR
    Bit Depth…………………………………..8 bits
    Video Encoder……………………………….x264 – core 104 r1713 c276662
    Video Encoder (Settings)……………………..cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0×3:0×113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.25 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-4 / threads=12 / sliced_threads=0 / slices=4 / nr=0 / decimate=0 / interlaced=tff / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=2 / weightp=0 / keyint=30 / keyint_min=3 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=28000 / ratetol=1.0 / qcomp=0.80 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=32000 / vbv_bufsize=30000 / ip_ratio=1.10 / aq=1:0.50 / nal_hrd=vbr
    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

  18. Sami Says:

    @Mick:

    Maybe the menu was made like year beforehand and so on, thus when film finally gets released in disc, versions of software will be old in comparison :)

  19. Omao86 Says:

    Test Drive Unlimited 2 for PS3 used x264 for some videos:

    http://dl.dropbox.com/u/12390182/Teaser_TDU2.mkv.txt
    http://dl.dropbox.com/u/12390182/Bumper_EDEN_TDU.mkv.txt
    http://dl.dropbox.com/u/12390182/Bumper_ATARI.mkv.txt

    Settings are weird:

    cabac=0 / ref=1 / deblock=0:0:0 / analyse=0×1:0 / me=tesa / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=6000 / vbv_bufsize=500 / crf_max=0.0 / ip_ratio=1.41 / aq=1:1.00 / nal_hrd=none

  20. David Mackenzie Says:

    The French Sofia Coppola box set has menus encoded with x264 – the main features don’t seem to be (in fact, two of the films are encoded as VC-1). Lost In Translation and Virgin Suicides are AVC, but don’t appear to be from x264.

    http://www.amazon.fr/Int%C3%A9grale-Sofia-Coppola-Coffret-Blu-ray/dp/B004OT7PNS/ref=sr_1_1?ie=UTF8&qid=1305819670&sr=8-1

Leave a Reply