[FFmpeg-devel] [PATCH] Adobe HTTP Dynamic Streaming (HDS) demuxer improvements

Michael Niedermayer michaelni at gmx.at
Fri May 1 04:41:12 CEST 2015


On Thu, Apr 30, 2015 at 02:37:39PM +0200, Gorilla Maguila wrote:
> New patch with some fixes:
> 
> - Corrected style and formatting.
> - No ugly casts.
> - New hds_probe function
> - No forward declarations in f4fbox.c. I couldn't get rid of the forward
> declaration in amfmetadata.c due to circular dependencies (Ideas welcome)
> - Other minor fixes.
> 
> 
> TODO:
> 
> - Fragment caching.
> - Parsing child manifests
> 
> 2015-04-28 15:00 GMT+02:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> 
> > Gorilla Maguila <gorilla.maguila <at> gmail.com> writes:
> >
> > > +static int hds_probe(AVProbeData *p)
> > > +{
> > > +    if(p->filename && av_stristr(p->filename, ".f4m"))
> > > +        return AVPROBE_SCORE_MAX;
> > > +    return 0;
> > > +}
> >
> > Remove this function, instead add ".f4m" as
> > .extentions to the AVInputFormat.
> >
> > Carl Eugen
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >

>  Changelog                 |    1 
>  configure                 |    5 
>  libavformat/Makefile      |    1 
>  libavformat/allformats.c  |    2 
>  libavformat/amfmetadata.c |  228 ++++++++++++
>  libavformat/amfmetadata.h |   39 ++
>  libavformat/f4fbox.c      |  399 ++++++++++++++++++++++
>  libavformat/f4fbox.h      |   95 +++++
>  libavformat/f4mmanifest.c |  338 +++++++++++++++++++
>  libavformat/f4mmanifest.h |   59 +++
>  libavformat/flvtag.c      |  378 +++++++++++++++++++++
>  libavformat/flvtag.h      |   32 +
>  libavformat/hdsdec.c      |  815 ++++++++++++++++++++++++++++++++++++++++++++++
>  13 files changed, 2391 insertions(+), 1 deletion(-)
> 0fe8fe063357dd3288c6c496ecdb3a71b60c259e  0001-hds-demuxer.patch
> From 60067f45dea17c372e28201f8529250373bf002e Mon Sep 17 00:00:00 2001
> From: Developer Mobdro <developer at mobdro.com>
> Date: Thu, 30 Apr 2015 14:31:30 +0200
> Subject: [PATCH] hds demuxer

this breaks build without libxml2:

    ERROR: libxml-2.0 not found using pkg-config

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solve the problem.

also please see tools/patcheck

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150501/8f0d72ed/attachment.asc>


More information about the ffmpeg-devel mailing list