[FFmpeg-trac] #3393(undetermined:new): Interlaced H.264 packets are split causing MP4 STTS

FFmpeg trac at avcodec.org
Mon Feb 17 17:16:01 CET 2014


#3393: Interlaced H.264 packets are split causing MP4 STTS
-------------------------------------+-------------------------------------
             Reporter:  wim_arbor    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by wim_arbor):

 the output of mp4dump below shows

 moov/trak/mdia/mdhd
 {{{
     timescale = 90000
     duration = 255600
     duration(ms) = 2840
 }}}
 moov/trak/mdia/minf/stbl/stsd/stts
 {{{
     entry_count = 1
     entry        0 = sample_count=142, sample_duration=1800
 }}}

 Framerate calculation: 90000/1800 = 50 fps
 or: 2840/142 = 20 ms, 1000/20 = 50 fps

 Output of {{{mp4dump --verbosity 1 h264_aac_576i_tff.mp4}}}
 Note not relevant parts replaced with {{{(...)}}}
 {{{
 [ftyp] size=8+24
   major_brand = isom
   minor_version = 200
   compatible_brand = isom
   compatible_brand = iso2
   compatible_brand = avc1
   compatible_brand = mp41
 [free] size=8+0
 [mdat] size=8+3278041
 [moov] size=8+3991
   [mvhd] size=12+96
     timescale = 1000
     duration = 2840
     duration(ms) = 2840
   [trak] size=8+2261
     [tkhd] size=12+80, flags=3
       enabled = 1
       id = 1
       duration = 2840
       width = 768.000000
       height = 576.000000
     [edts] size=8+28
       [elst] size=12+16
         entry count = 1
         entry/segment duration = 2840
         entry/media time = 3600
         entry/media rate = 1
     [mdia] size=8+2125
       [mdhd] size=12+20
         timescale = 90000
         duration = 255600
         duration(ms) = 2840
         language = und
       [hdlr] size=12+33
         handler_type = vide
         handler_name = VideoHandler
       [minf] size=8+2040
         [vmhd] size=12+8, flags=1
           graphics_mode = 0
           op_color = 0000,0000,0000
         [dinf] size=8+28
           [dref] size=12+16
             [url ] size=12+0, flags=1
               location = [local to file]
         [stbl] size=8+1976
           [stsd] size=12+176
             entry-count = 1
             [avc1] size=8+164
               data_reference_index = 1
               width = 720
               height = 576
               compressor =
               [avcC] size=8+62
                 Configuration Version = 1
                 Profile = High
                 Profile Compatibility = 0
                 Level = 41
                 NALU Length Size = 4
                 Sequence Parameter = [67 64 00 29 ac 2c a4 02 d0 91 7f e0
 02 00 01 e9 41 41 41 50 00 00 03 00 10 00 00 03 03 2e 4a 00 02 71 00 00 07
 a1 27 f1 8e 0e d0 a1 48 90]
                 Picture Parameter = [68 e9 8d 35 25]
               [pasp] size=8+8
           [stts] size=12+12
             entry_count = 1
             entry        0 = sample_count=142, sample_duration=1800
           [stss] size=12+20
             entry_count = 4
           [ctts] size=12+356
             entry_count = 44
           [stsc] size=12+232
             entry_count = 19
             entry        0 = first_chunk=1, first_sample*=1,
 chunk_count*=1, samples_per_chunk=3, sample_desc_index=1
 (...)
             entry       18 = first_chunk=129, first_sample*=139,
 chunk_count*=0, samples_per_chunk=4, sample_desc_index=1
           [stsz] size=12+576
             sample_size = 0
             sample_count = 142
           [stco] size=12+520
             entry_count = 129
             entry        0 = 48
 (...)
             entry      128 = 3175684
   [trak] size=8+1508
 (...)
   [udta] size=8+90
     [meta] size=12+78
       [hdlr] size=12+21
         handler_type = mdir
         handler_name =
       [ilst] size=8+37
         [.too] size=8+29
           [data] size=8+21
             type = 1
             lang = 0
             value = Lavf55.33.100
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3393#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list