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

FFmpeg trac at avcodec.org
Thu Sep 6 09:13:47 EEST 2018


#7369: dash livestream cannot be read without -re
------------------------------------+------------------------------------
             Reporter:  cehoyos     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  dash        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by stevenliu):

 Replying to [comment:4 cehoyos]:
 > Still fails here:
 > {{{
 > $ ffmpeg -i
 http://irtdashreference-i.akamaihd.net/dash/live/901161/bfs/manifestBR.mpd
 -f null -
 > ffmpeg version N-91801-gad9b4ec 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. 27.101 / 58. 27.101
 >   libavformat    58. 18.100 / 58. 18.100
 >   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
 > [h264 @ 0x3c24c80] Truncated VUI
 > [h264 @ 0x3c50940] Truncated VUI
 > [h264 @ 0x3c66780] Truncated VUI
 > [h264 @ 0x3c32600] Increasing reorder buffer to 2
 > [h264 @ 0x3c24c80] Increasing reorder buffer to 2
 > [h264 @ 0x3c50940] Increasing reorder buffer to 2
 > [h264 @ 0x3c66780] Increasing reorder buffer to 2
 > Input #0, dash, from
 'http://irtdashreference-i.akamaihd.net/dash/live/901161/bfs/manifestBR.mpd':
 >   Duration: N/A, start: 1387859.230000, bitrate: N/A
 >   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], 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], 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
 >     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.18.100
 >     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.27.101 wrapped_avframe
 >     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 >     Metadata:
 >       variant_bitrate : 192000
 >       id              : audio_06
 >       encoder         : Lavc58.27.101 pcm_s16le
 > [dash @ 0x3c18600] No longer receiving stream_index 1
 > [dash @ 0x3c18600] No longer receiving stream_index 2
 > [dash @ 0x3c18600] No longer receiving stream_index 3
 > [dash @ 0x3c18600] No longer receiving stream_index 4
 > [dash @ 0x3c18600] No longer receiving stream_index 5
 > [http @ 0x4367180] HTTP error 404 Not Found:00:08.44 bitrate=N/A
 speed=5.58x
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x3c7b840] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x4367180] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x3c7b840] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x4367180] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x3c7b840] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x4367180] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x3c7b840] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x4367180] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > [http @ 0x3c7b840] HTTP error 404 Not Found
 > [dash @ 0x3c18600] Failed to open fragment of playlist 0
 > ^C
 > }}}


 try the newest master version:


 {{{
 liuqideMacBook-Pro:xxx liuqi$ ./ffmpeg -i
 http://irtdashreference-i.akamaihd.net/dash/live/901161/bfs/manifestBR.mpd
 -f null -
 ffmpeg version N-91805-g7bb90a9449 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
   configuration: --enable-fontconfig --enable-gpl --enable-libass
 --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-
 libspeex --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-
 version3 --cc='ccache gcc' --enable-nonfree --enable-videotoolbox
 --enable-opengl --enable-libxml2 --enable-libsrt
   libavutil      56. 19.100 / 56. 19.100
   libavcodec     58. 27.101 / 58. 27.101
   libavformat    58. 18.100 / 58. 18.100
   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
 [h264 @ 0x7fefe7026600] Truncated VUI
 [h264 @ 0x7fefe800cc00] Truncated VUI
 [h264 @ 0x7fefe8015e00] Truncated VUI
 [h264 @ 0x7fefe7806200] Increasing reorder buffer to 2
 [h264 @ 0x7fefe7026600] Increasing reorder buffer to 2
 [dash @ 0x7fefe701be00] decoding for stream 2 failed
 [dash @ 0x7fefe701be00] decoding for stream 3 failed
 [dash @ 0x7fefe701be00] decoding for stream 4 failed
 [dash @ 0x7fefe701be00] decoding for stream 5 failed
 Input #0, dash, from
 'http://irtdashreference-i.akamaihd.net/dash/live/901161/bfs/manifestBR.mpd':
   Duration: N/A, start: 1460589.230000, 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, 10000k 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], 10000k 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], 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], 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
     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.18.100
     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.27.101 wrapped_avframe
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
     Metadata:
       variant_bitrate : 192000
       id              : audio_06
       encoder         : Lavc58.27.101 pcm_s16le
 [dash @ 0x7fefe701be00] No longer receiving stream_index 1
 [dash @ 0x7fefe701be00] No longer receiving stream_index 2
 [dash @ 0x7fefe701be00] No longer receiving stream_index 3
 [dash @ 0x7fefe701be00] No longer receiving stream_index 4
 [dash @ 0x7fefe701be00] No longer receiving stream_index 5
 frame= 1590 fps= 34 q=-0.0 size=N/A time=00:01:03.94 bitrate=N/A
 speed=1.36x
 }}}

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


More information about the FFmpeg-trac mailing list