[FFmpeg-devel] [PATCH] Support for SHOUTcast

Baptiste Coudurier baptiste.coudurier
Thu Jan 29 20:30:25 CET 2009


Aur?lien G?teau wrote:
> Hello,
> I recently added support for SHOUTcast headers and metadata to FFmpeg.
> The problem with SHOUTcast is that the metadata are http specific, so I
> had to patch http.c to add a way to register callbacks for metadata
> information.
> There are two types of information:
> - Metadata. They contain information about what song is currently
> played. Those are usually sent whenever the server goes to the next song
> and are thus inserted inside the http response. Patch 0001 adds support
> for those.
> - Headers. The SHOUTcast server usually returns additional headers in
> its http resonse, these headers contain information about the server
> itself: things like the radio name and genre, its url... Patch 0002 adds
> support for those.
> Do you think this can go in?

Did you try adding a new URLProtocol (shoutcast://, which would reuse
http code, but avoid messing up with http.c ?

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list