[FFmpeg-trac] #6915(avformat:open): DASH audio segments duration doesn't match exactly with video segments duration.

FFmpeg trac at avcodec.org
Fri Dec 22 03:04:55 EET 2017


#6915: DASH audio segments duration doesn't match exactly with video segments
duration.
------------------------------------+-------------------------------------
             Reporter:  beloko      |                    Owner:  stevenliu
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-------------------------------------

Comment (by stevenliu):

 {{{
 MacBook:xxx StevenLiu$ rm -rf fileSequence* *.m3u8;mediafilesegmenter -A
 -t 1 a.ts;cat prog_index.m3u8 iframe_index.m3u8
 Dec 22 2017 08:59:00.892: Processing file
 /Users/StevenLiu/multimedia/ffmpeg/xxx/a.ts
 Dec 22 2017 08:59:00.907: Finalized fileSequence0.ts
 Dec 22 2017 08:59:00.907: segment bitrate 496.63 kbits/sec is new max
 Dec 22 2017 08:59:00.908: Finalized fileSequence1.ts
 Dec 22 2017 08:59:00.912: Finalized fileSequence2.ts
 Dec 22 2017 08:59:00.912: segment does not contain sync frame
 Dec 22 2017 08:59:00.913: Finalized fileSequence3.ts
 Dec 22 2017 08:59:00.915: Finalized fileSequence4.ts
 Dec 22 2017 08:59:00.915: segment bitrate  1.79 Mbits/sec is new max
 Dec 22 2017 08:59:00.916: average bit rate is 641.95 kbits/sec - max file
 bit rate is  1.79 Mbits/sec
 #EXTM3U
 #EXT-X-TARGETDURATION:1
 #EXT-X-VERSION:3
 #EXT-X-MEDIA-SEQUENCE:0
 #EXT-X-PLAYLIST-TYPE:VOD
 #EXTINF:0.96000,
 fileSequence0.ts
 #EXTINF:1.00000,
 fileSequence1.ts
 #EXTINF:1.00000,
 fileSequence2.ts
 #EXTINF:1.00000,
 fileSequence3.ts
 #EXTINF:0.96000,
 fileSequence4.ts
 #EXT-X-ENDLIST
 #EXTM3U
 #EXT-X-TARGETDURATION:1
 #EXT-X-VERSION:4
 #EXT-X-MEDIA-SEQUENCE:0
 #EXT-X-PLAYLIST-TYPE:VOD
 #EXT-X-I-FRAMES-ONLY
 #EXTINF:1.52000,
 #EXT-X-BYTERANGE:1316 at 376
 fileSequence0.ts
 #EXTINF:1.52000,
 #EXT-X-BYTERANGE:32712 at 11092
 fileSequence1.ts
 #EXTINF:1.52000,
 #EXT-X-BYTERANGE:29704 at 752
 fileSequence3.ts
 #EXTINF:0.28000,
 #EXT-X-BYTERANGE:58468 at 81968
 fileSequence4.ts
 #EXT-X-ENDLIST
 MacBook:xxx StevenLiu$
 MacBook:xxx StevenLiu$
 MacBook:xxx StevenLiu$
 MacBook:xxx StevenLiu$ rm -rf fileSequence* *.m3u8;mediafilesegmenter -A
 -start-segments-with-iframe  -t 1 a.ts;cat prog_index.m3u8
 iframe_index.m3u8
 Dec 22 2017 08:59:18.230: Processing file
 /Users/StevenLiu/multimedia/ffmpeg/xxx/a.ts
 Dec 22 2017 08:59:18.245: Key frame distance of 1.52 exceeds target
 duration; target duration will be adjusted
 Dec 22 2017 08:59:18.246: Finalized fileSequence0.ts
 Dec 22 2017 08:59:18.246: segment bitrate 370.06 kbits/sec is new max
 Dec 22 2017 08:59:18.247: Key frame distance of 1.52 exceeds target
 duration; target duration will be adjusted
 Dec 22 2017 08:59:18.247: Finalized fileSequence1.ts
 Dec 22 2017 08:59:18.249: Key frame distance of 1.52 exceeds target
 duration; target duration will be adjusted
 Dec 22 2017 08:59:18.249: Finalized fileSequence2.ts
 Dec 22 2017 08:59:18.249: segment bitrate 750.02 kbits/sec is new max
 Dec 22 2017 08:59:18.250: Finalized fileSequence3.ts
 Dec 22 2017 08:59:18.250: segment bitrate  1.17 Mbits/sec is new max
 Dec 22 2017 08:59:18.251: average bit rate is 640.42 kbits/sec - max file
 bit rate is  1.17 Mbits/sec
 #EXTM3U
 #EXT-X-TARGETDURATION:2
 #EXT-X-VERSION:3
 #EXT-X-MEDIA-SEQUENCE:0
 #EXT-X-PLAYLIST-TYPE:VOD
 #EXT-X-INDEPENDENT-SEGMENTS
 #EXTINF:1.52000,
 fileSequence0.ts
 #EXTINF:1.52000,
 fileSequence1.ts
 #EXTINF:1.52000,
 fileSequence2.ts
 #EXTINF:0.36000,
 fileSequence3.ts
 #EXT-X-ENDLIST
 #EXTM3U
 #EXT-X-TARGETDURATION:2
 #EXT-X-VERSION:4
 #EXT-X-MEDIA-SEQUENCE:0
 #EXT-X-PLAYLIST-TYPE:VOD
 #EXT-X-I-FRAMES-ONLY
 #EXTINF:1.52000,
 #EXT-X-BYTERANGE:1316 at 376
 fileSequence0.ts
 #EXTINF:1.52000,
 #EXT-X-BYTERANGE:32712 at 376
 fileSequence1.ts
 #EXTINF:1.52000,
 #EXT-X-BYTERANGE:29704 at 376
 fileSequence2.ts
 #EXTINF:0.28000,
 #EXT-X-BYTERANGE:58468 at 376
 fileSequence3.ts
 #EXT-X-ENDLIST
 MacBook:xxx StevenLiu$
 }}}

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


More information about the FFmpeg-trac mailing list