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

Steven Liu lingjiujianke at gmail.com
Sun Mar 19 11:51:15 EET 2017


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.
Because if the system has xml2, it can enable, if no xml2, it disable, just
like ffplay.

>
> [...]
>
> --
> Clément B.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list