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...@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 <l...@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.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to