[FFmpeg-trac] #8719(undetermined:new): Some facebook mpd urls cause parser error: missing root node
FFmpeg
trac at avcodec.org
Mon Jun 8 03:29:35 EEST 2020
#8719: Some facebook mpd urls cause parser error: missing root node
-------------------------------------+-------------------------------------
Reporter: farleylai | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Some facebook live streaming mpd urls (retrieved by youtube-dl -g) causes
parser error for missing root node as follows. There is quite a chance
encountering such live streams with parsing issues. In comparison, VLC can
play the mpd url without any issue. Hopefully, what is missing can be
clarified.
PS: if expired, there should be a bunch at
https://www.facebook.com/watch/live/?ref=watch. Select the three dot
option on the top right for "Copy Link" to retrieve with tools like
youtube-dl.
How to reproduce:
{{{
$ ffprobe "`youtube-dl -g
https://www.facebook.com/FOX35Orlando/videos/625902281343117/`"
ffprobe version 4.2.3 Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 7.3.0 (crosstool-NG 1.23.0.449-a04d0)
configuration: --prefix=/home/ml/farleylai/miniconda3/envs/sinet37
--cc=/home/ml/farleylai/miniconda3/envs/sinet37/conda-
bld/ffmpeg_1591228974768/_build_env/bin/x86_64-conda_cos6-linux-gnu-cc
--disable-doc --disable-openssl --enable-avresample --enable-demuxer=dash
--enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-
libfreetype --enable-libopenh264 --enable-libx264 --enable-pic --enable-
pthreads --enable-shared --enable-static --enable-version3 --enable-
libxml2 --enable-zlib --enable-libmp3lame
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:242:
parser error : AttValue: ' expected
initialization="../live-ld-a/10159331661282573_0-in
^
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:242:
parser error : attributes construct error
initialization="../live-ld-a/10159331661282573_0-in
^
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:242:
parser error : Couldn't find end of Start Tag SegmentTemplate line 239
initialization="../live-ld-a/10159331661282573_0-in
^
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:242:
parser error : Premature end of data in tag Representation line 232
initialization="../live-ld-a/10159331661282573_0-in
^
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:242:
parser error : Premature end of data in tag AdaptationSet line 179
initialization="../live-ld-a/10159331661282573_0-in
^
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:242:
parser error : Premature end of data in tag Period line 22
initialization="../live-ld-a/10159331661282573_0-in
^
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:242:
parser error : Premature end of data in tag MPD line 2
initialization="../live-ld-a/10159331661282573_0-in
^
[dash @ 0x559df1de81c0] Unable to parse 'https://video-dfw5-1.xx.fbcdn.net
/hvideo-cln2-lla/_nc_cat-1/v/rN-Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27'
- missing root node
https://video-dfw5-1.xx.fbcdn.net/hvideo-cln2-lla/_nc_cat-1/v/rN-
Rvo2XZWMKe7t0sTc4Q/live-dash/dash-abr-ibr-
audio/10159331661282573.mpd?_nc_rl=AfAufcjJJdNRPaeM&ms=m_CN&oh=31fb460a19411926ca3d40b8b7d89cd0&oe=5EDF1F27:
Invalid data found when processing input
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8719>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list