[MPlayer-users] Playing DASH streams / .mpd files
vyslnqaaxytp at dyxyl.com
Wed Mar 17 12:31:17 EET 2021
>>>>> On Wed, 17 Mar 2021 10:52:03 +0100, Erik Auerswald said:
> On Wed, Mar 17, 2021 at 10:15:58AM +0100, Reimar Döffinger wrote:
> > On 17 March 2021 09:53:22 CET, Dave Woodfall <dave at tty1.uk> wrote:
> > >On 16/03/21 22:01,
> > >Reimar Döffinger <Reimar.Doeffinger at gmx.de> put forth the proposition:
> > >> On Sat, Mar 13, 2021 at 06:23:21AM +0000, Dave Woodfall wrote:
> > >> > How does one play a DASH stream in mplayer?
> > >> >
> > >> >https://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/nonuk/dash_low/aks/bbc_radio_four_extra.mpd
> > >> I've not had time to actually test, but I think it should just work
> > >> if you link against a separately built FFmpeg instead of MPlayer's
> > >> own copy.
> > >> The problem is that with the built-in FFmpeg copy we disable the DASH
> > >> demuxer because it would create a dependency on libxml2.
> > >
> > >That would explain why ffplay works then, and why I couldn't get any
> > > -lavfdopts or other flags to make mplayer play any streams, although
> > >I have very limited knowledge of ffmpeg flags and what they all do.
> > >
> > >Is there a problem with linking to libxml2? My copy of (a recent svn
> > > + ffmpeg from git) mplayer seems to link to it:
> > >
> > >ldd =mplayer | grep xml
> > >libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f3f32630000)
> > Huh, that seems strange.
> > It's not a very nice dependency and DASH is fairly rare, so I probably
> > would have rather avoided it, though mostly I thought we did not have
> > a configure check for libxml2, adding those is always a pain.
> Just for information, MPlayer in Debian/Ubuntu (at least one version)
> links against libxml2 as well:
> $ /usr/bin/mplayer | head -n1
> MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team
> $ ldd /usr/bin/mplayer | grep xml
> libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007fe643aa9000)
It is also a dependency on CentOS 7.9.2009, indirectly from libblueray:
$ /usr/bin/mplayer | head -n1
MPlayer SVN-r37391-4.8.3 (C) 2000-2015 MPlayer Team
$ env LD_DEBUG=files ldd /usr/bin/mplayer 2>&1 | grep -i libxml
6026: file=libxml2.so.2 ; needed by /lib64/libbluray.so.1 
6026: file=libxml2.so.2 ; generating link map
libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f0b7ad84000)
More information about the MPlayer-users