[FFmpeg-devel] [PATCH] http: add support for reading streamcast metadata

Stefano Sabatini stefasab at gmail.com
Tue Jul 2 02:21:09 CEST 2013


On date Monday 2013-07-01 10:11:47 +0200, Stefano Sabatini encoded:
> On date Saturday 2013-06-29 16:59:50 +0200, wm4 encoded:
> > Actually, one change I made removed 0-termination for a string, so
> > here's an updated patch.
> 
> > From 06026873ffee9d231075025fe968c6f46d49c3ae Mon Sep 17 00:00:00 2001
> > From: wm4 <nfxjfg at googlemail.com>
> > Date: Wed, 26 Jun 2013 00:53:26 +0200
> > Subject: [PATCH] http: add support for reading streamcast metadata
> > 
> > Allow applications to request reading streamcast metadata. This uses
> > AVOptions as API, and requires the application to explicitly request
> > and read metadata. Metadata can be updated mid-stream; if an
> > application is interested in that, it has to poll for the data by
> > reading the "icy_metadata_packet" option in regular intervals.
> > 
> > There doesn't seem to be a nice way to transfer the metadata in a nicer
> > way. Converting the metadata to ID3v2 tags might be a nice idea, but
> > the libavformat mp3 demuxer doesn't seem to read these tags mid-stream,
> > and even then we couldn't guarantee that tags are not inserted in the
> > middle of mp3 packet data.
> > 
> > This commit provides the minimum to enable applications to retrieve
> > this information at all.
> > ---
> >  doc/protocols.texi | 14 ++++++++++++++
> >  libavformat/http.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 65 insertions(+)
[...] 
> Patch LGTM, thanks.

Applied.
-- 
FFmpeg = Faithful and Fabulous Merciful Political Emblematic Geek


More information about the ffmpeg-devel mailing list