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

FFmpeg trac at avcodec.org
Sun Dec 20 15:58:05 EET 2020


#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 thimo):

 I can offer another DASH test stream, the south african radio station
 "RSG" that doesn't appear to get geo-blocked (at least plays in Germany).
 The URL is:

   https://glbradio.discoverdigital.co.za/RSG/RSG.isml/.mpd

 Running "ffmpeg -i
 https://glbradio.discoverdigital.co.za/RSG/RSG.isml/.mpd -c:a copy
 rsg.mp4" ffmpeg works for a while, then starts spitting out a mix of
 different error messaages. Here's an abbreviated dump:

 {{{
 ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
   built with Apple clang version 12.0.0 (clang-1200.0.32.27)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_4 --enable-shared
 --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-
 cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl
 --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame
 --enable-libopus --enable-librav1e --enable-librubberband --enable-
 libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora
 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp
 --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid
 --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r
 --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr
 --enable-videotoolbox --disable-libjack --disable-indev=jack
   libavutil      56. 51.100 / 56. 51.100
   libavcodec     58. 91.100 / 58. 91.100
   libavformat    58. 45.100 / 58. 45.100
   libavdevice    58. 10.100 / 58. 10.100
   libavfilter     7. 85.100 /  7. 85.100
   libavresample   4.  0.  0 /  4.  0.  0
   libswscale      5.  7.100 /  5.  7.100
   libswresample   3.  7.100 /  3.  7.100
   libpostproc    55.  7.100 / 55.  7.100
 Input #0, dash, from
 'https://glbradio.discoverdigital.co.za/RSG/RSG.isml/.mpd':
   Duration: N/A, start: 1608478929.080000, bitrate: N/A
   Program 0
     Stream #0:0(en): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp
     Metadata:
       variant_bitrate : 96000
       id              : audio_1=96000
 File 'rsg.mp4' already exists. Overwrite? [y/N] y
 Output #0, mp4, to 'rsg.mp4':
   Metadata:
     encoder         : Lavf58.45.100
     Stream #0:0(en): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp
     Metadata:
       variant_bitrate : 96000
       id              : audio_1=96000
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mp4 @ 0x7f802201ce00] Non-monotonous DTS in output stream 0:0; previous:
 2020351, current: 1925119; changing to 2020352. This may result in
 incorrect timestamps in the output file.
 [mp4 @ 0x7f802201ce00] Non-monotonous DTS in output stream 0:0; previous:
 2020352, current: 1926143; changing to 2020353. This may result in
 incorrect timestamps in the output file.
 ...
 ... repeating for screen after screen, then:
 ...
 https @ 0x7f8022ecc500] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f802152ea40] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f80216e2c80] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f80216e2c80] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f80216e2c80] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f80216e2c80] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [mp4 @ 0x7f802201ce00] Non-monotonous DTS in output stream 0:0; previous:
 2405376, current: 2310144; changing to 2405377. This may result in
 incorrect timestamps in the output file.
 ... more screenfuls until finally I'm again stuck with:
 ...
 [https @ 0x7f802170b840] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f8021745080] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f80217b8940] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f8021554ec0] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f80216e2e80] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f8021719700] HTTP error 410 Gone
 [dash @ 0x7f8021809200] Failed to open fragment of playlist 0
 [https @ 0x7f8022ab72c0] HTTP error 410 Gone
 }}}

 Using the "-re" option like suggested in this ticket, i.e.

   ffmpeg -re -i https://glbradio.discoverdigital.co.za/RSG/RSG.isml/.mpd
 -c:a copy rsg.mp4

 doesn't spit out the error messages from above. However the resulting
 audio is choppy: it seems that every now and then some audio is skipped

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


More information about the FFmpeg-trac mailing list