[FFmpeg-devel] [PATCH] avformat/dashdec: add dash demuxer base version

Clément Bœsch u at pkh.me
Sun Mar 19 11:57:21 EET 2017


On Sun, Mar 19, 2017 at 05:51:15PM +0800, Steven Liu wrote:
> 2017-03-19 17:48 GMT+08:00 Clément Bœsch <u at pkh.me>:
> 
> > On Sun, Mar 19, 2017 at 05:05:55PM +0800, Steven Liu wrote:
> > > ffmpeg need a dash demuxer for demux the dash formats
> > > base on https://github.com/samsamsam-iptvplayer/exteplayer3/blob/
> > master/tmp/ffmpeg/patches/3.2.2/000001_add_dash_demux.patch
> > >
> > > Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> > > ---
> > >  configure                |    4 +
> > >  libavformat/Makefile     |    1 +
> > >  libavformat/allformats.c |    2 +-
> > >  libavformat/dashdec.c    | 1845 ++++++++++++++++++++++++++++++
> > ++++++++++++++++
> > >  4 files changed, 1851 insertions(+), 1 deletion(-)
> > >  create mode 100644 libavformat/dashdec.c
> > >
> > > diff --git a/configure b/configure
> > > index 1e2e774..4850cfa 100755
> > > --- a/configure
> > > +++ b/configure
> > > @@ -292,6 +292,7 @@ External library support:
> > >                             on OSX if openssl and gnutls are not used
> > [autodetect]
> > >    --enable-x11grab         enable X11 grabbing (legacy) [no]
> > >    --disable-xlib           disable xlib [autodetect]
> >
> > > +  --disable-xml2           disable XML parsing using the C library
> > libxml2 [autodetect]
> >
> > this is not a "system" library, it should not be autodetected but disabled
> > by default.
> >
> Now, no xml2, the dash muxer will not be enabled, I think this is better
> than disable default.

H.264 encoding is disabled unless you --enable-gpl --enable-libx264. But
don't you think H.264 encoding is quite an important feature for a video
framework?

So anyway, the point is that we want to be consistent wrt external
libraries.

If you want to have DASH enabled by default, make sure to have a native
XML parser, or discuss the policy about detecting all the external
libraries within the configure.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170319/7d8fe356/attachment.sig>


More information about the ffmpeg-devel mailing list