[FFmpeg-trac] #7369(avformat:new): dash livestream cannot be read without -re

FFmpeg trac at avcodec.org
Mon Aug 20 18:32:35 EEST 2018


#7369: dash livestream cannot be read without -re
--------------------------------------+----------------------------------
               Reporter:  cehoyos     |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avformat
                Version:  git-master  |               Keywords:  dash
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+----------------------------------
 http://ffmpeg.org/pipermail/ffmpeg-user/2018-August/040963.html
 Jörg Beckmann reported that a live dash stream cannot be transcoded
 without `-re` as FFmpeg tries to read segments before they are available
 leading to a 404.
 {{{
 $ ffmpeg -i
 http://irtdashreference-i.akamaihd.net/dash/live/901161/bfs/manifestBR.mpd
 -f null -
 ffmpeg version N-91646-g78d4b6b Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 6.4.0 (GCC)
   configuration: --enable-gpl --enable-gnutls --enable-libxml2
   libavutil      56. 19.100 / 56. 19.100
   libavcodec     58. 23.100 / 58. 23.100
   libavformat    58. 17.103 / 58. 17.103
   libavdevice    58.  4.101 / 58.  4.101
   libavfilter     7. 26.100 /  7. 26.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc    55.  2.100 / 55.  2.100
 [dash @ 0x2495600] Could not read complete fragment.
     Last message repeated 6 times
 [h264 @ 0x24a4440] Truncated VUI
 [h264 @ 0x24cd900] Truncated VUI
 [h264 @ 0x24e3800] Truncated VUI
 [h264 @ 0x24af500] Increasing reorder buffer to 2
 [h264 @ 0x24a4440] Increasing reorder buffer to 2
 [h264 @ 0x24cd900] Increasing reorder buffer to 2
 [h264 @ 0x24e3800] Increasing reorder buffer to 2
 Input #0, dash, from
 'http://irtdashreference-i.akamaihd.net/dash/live/901161/bfs/manifestBR.mpd':
   Duration: N/A, start: 25224.750000, bitrate: 0 kb/s
   Program 0
     Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
 bt709), 1280x720 [SAR 1:1 DAR 16:9], 0 kb/s, 25 fps, 25 tbr, 10000k tbn,
 50 tbc
     Metadata:
       variant_bitrate : 2000000
       id              : video_00
     Stream #0:1: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
 bt470bg), 960x540 [SAR 1:1 DAR 16:9], 0 kb/s, 25 fps, 25 tbr, 10000k tbn,
 20000k tbc
     Metadata:
       variant_bitrate : 1800000
       id              : video_01
     Stream #0:2: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
 bt470bg), 640x360 [SAR 1:1 DAR 16:9], 0 kb/s, 25 fps, 25 tbr, 10000k tbn,
 20000k tbc
     Metadata:
       variant_bitrate : 1024000
       id              : video_02
     Stream #0:3: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
 bt470bg), 512x288 [SAR 1:1 DAR 16:9], 0 kb/s, 25 fps, 25 tbr, 10000k tbn,
 20000k tbc
     Metadata:
       variant_bitrate : 512000
       id              : video_03
     Stream #0:4: Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
 yuv420p(tv, bt470bg), 480x270 [SAR 1:1 DAR 16:9], 0 kb/s, 25 fps, 25 tbr,
 10000k tbn, 50 tbc
     Metadata:
       variant_bitrate : 256000
       id              : video_04
     Stream #0:5: Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
 yuv420p(tv, bt470bg), 320x180 [SAR 1:1 DAR 16:9], 0 kb/s, 25 fps, 25 tbr,
 10000k tbn, 50 tbc
     Metadata:
       variant_bitrate : 128000
       id              : video_05
     Stream #0:6: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,
 fltp, 0 kb/s
     Metadata:
       variant_bitrate : 192000
       id              : audio_06
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
   Stream #0:6 -> #0:1 (aac (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf58.17.103
     Stream #0:0: Video: wrapped_avframe, yuv420p, 1280x720 [SAR 1:1 DAR
 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       variant_bitrate : 2000000
       id              : video_00
       encoder         : Lavc58.23.100 wrapped_avframe
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
     Metadata:
       variant_bitrate : 192000
       id              : audio_06
       encoder         : Lavc58.23.100 pcm_s16le
 [dash @ 0x2495600] No longer receiving stream_index 1
 [dash @ 0x2495600] No longer receiving stream_index 2
 [dash @ 0x2495600] No longer receiving stream_index 3
 [dash @ 0x2495600] No longer receiving stream_index 4
 [dash @ 0x2495600] No longer receiving stream_index 5
 [http @ 0x2be1800] HTTP error 404 Not Found:00:04.66 bitrate=N/A
 speed=9.22x
 [dash @ 0x2495600] Failed to open fragment of playlist 0
 [http @ 0x24c9640] HTTP error 404 Not Found
 [dash @ 0x2495600] Failed to open fragment of playlist 0
 [http @ 0x2be1800] HTTP error 404 Not Found
 [dash @ 0x2495600] Failed to open fragment of playlist 0
 [http @ 0x24c9640] HTTP error 404 Not Found
 [dash @ 0x2495600] Failed to open fragment of playlist 0
 [http @ 0x2be1800] HTTP error 404 Not Found
 [dash @ 0x2495600] Failed to open fragment of playlist 0
 [http @ 0x24c9640] HTTP error 404 Not Found
 [dash @ 0x2495600] Failed to open fragment of playlist 0
 ^C
 }}}
 It is impossible to quit pressing `q` here.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7369>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list