[FFmpeg-devel] [PATCH] add hds demuxer

Jan Ekstrom jeebjp at gmail.com
Mon Oct 31 21:16:54 EET 2016

On Mon, Oct 31, 2016 at 5:30 PM, Nicolas George <george at nsup.org> wrote:
> Le nonidi 9 brumaire, an CCXXV, Steven Liu a écrit :
>>      I saw ffmpeg have no HDS and DASH demuxer, and all of them's format is
>> use xml, maybe this parser is a very useful parser, what about the basic
>> xml :-D
> The Timed Text Markup Language, a subtitle format used by Youtube and
> possibly a few others, is based on XML too.
> I have started working on a simple XML parser, but Michael quickly found
> a bug in my attempt to remove the recursiveness in libavfilter, and I
> consider it to be the highest priority. Therefore, I stopped shortly
> after implementing the framework API and input buffer handling.


As someone who thought about doing some work on formats that require
an XML parser, while I do appreciate that you are making a "simple"
XML parser, I am not sure if this is the best way forward. XML and
thus by continuation libraries that handle XML are indeed
abominations, but I am definitely not sure if we should be NIH'ing XML
parsing. For example, namespaces are already utilized in DASH/CENC.
Maybe we should just pick one XML parsing library that seems to be the
least bad of all bad alternatives, and then standardize FFmpeg on it?
Be it libxml2, libexpat or anything else?

Best regards,

More information about the ffmpeg-devel mailing list