Skip to content
  • Alex Ashley's avatar
    qtdemux: Add support for the avc3 sample entry format of the AVC file format · a965185d
    Alex Ashley authored
    Amendment 2 of ISO/IEC 14496-15 (AVC file format) is defining a new
    structure for fragmented MP4 called "avc3". The principal difference
    between AVC1 and AVC3 is the location of the codec initialisation
    data (e.g. SPS, PPS). In AVC1 this data is placed in the initial
    MOOV box (moov.trak.mdia.minf.stbl.stsd.avc1) but in AVC3 this data
    goes in the first sample of every fragment (i.e. the first sample in
    each mdat box).  The principal reason for avc3 is to make it easier
    for client implementations, because it removes the requirement to
    insert the SPS+PPS in to the decoder pipeline every time there is a
    representation change.
    
    This commit adds support for the "avc3" atom, which is almost identical
    to the "avc1" atom, except it does not contain any SPS or PPS data.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702004
    a965185d