[FFmpeg-devel] [PATCH] avformat/mov: read stream bitrates from isml manifest

Michael Niedermayer michaelni at gmx.at
Thu Jun 27 15:25:02 CEST 2013

On Thu, Jun 27, 2013 at 12:16:07PM +0200, Alexandre Sicard wrote:
> Le jeudi 27 juin 2013 10:36:11 Michael Niedermayer a écrit :
> > > +#include <regex.h>
> > 
> > This is unavaliable on at least windows AFAIK
> > 
> Oops, this is a problem. Parsing XML would require regex or an XML parsing 
> library. Actually, I first wrote this patch using libexpat, but I thought it 
> was not worth adding a dependency when I could just use regex.
> Now, I think it could be useful: I have a colleague working on adding Smooth 
> Streaming playback support to FFmpeg, and for now he uses libexpat to parse 
> the manifest. Other adaptive streaming formats such as DASH and HDS have XML 
> manifests too, so it could definitively be of use.
> What do you think about this? Should I send a patch adding libexpat to FFmpeg 
> and the libexpat version of my patch?

does this really need more than 5 lines of C code with sscanf() ?


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130627/54e75c16/attachment.asc>

More information about the ffmpeg-devel mailing list