Questions regarding a new parser element based on GstBaseParse

Tim Müller tim at centricular.com
Wed Jul 6 10:08:19 UTC 2016


On Tue, 2016-07-05 at 19:40 +0200, Carlos Rafael Giani wrote:

Hi,

> 6) In addition to this trailing padding data, this format allows for
> id3v2 content ... at the end of the file. id3demux does not seem to
> support this - but ID3v2 does (at least in version 2.4), although
> admittedly, support for ID3v2 tags at the end of files is uncommon. I
> guess a patch for id3demux would be the best approach here?

id3demux should support it in pull mode.

In push mode it won't handle end tags, since that would imply scanning
all data being pushed through, and some end tags are only identified by
the last few bytes of the file, so by the time you detect the tag you
may have pushed out the beginning already. And even if you detect it
fine then you only announce the tag once all the data has been
processed, so that's not so useful. In addition to that, in an
autoplugging scenario id3demux would only get plugged if there's a
start ID3 tag in addition to the end tag. I'm not sure if id3demux
should do seeks in push mode to detect end tags, but I look forward to
seeing your patch to see what you come up with :)

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list