[Libav-user] Live update of song name in audio livestream
mr N
mohamednmn28105 at gmail.com
Fri Oct 15 13:59:32 EEST 2021
can i hijack your email
On Fri, Oct 15, 2021 at 6:58 AM <stef at stef.link> wrote:
> Hi,
>
> I use libav to live stream audio. Is it possible to put live metadata
> updates in that stream?
>
> For example, if I listen to some radio station's live stream with VLC
> player, I see the name and artist of the song currently playing. This
> information updates instantly when the song is changed. I want
> listeners of my audio stream to similarly see a text of my choosing that
> can be changed at any time during the stream. I know this is
> theoretically possible, because the streaming tool called 'butt' [0] can
> do this.
>
> My application generates audio data which I encode with libavcodec (with
> an encoder of the user's choosing). That audio data is then sent to an
> Icecast server using libavformat.
>
> Icecast expects metadata to be embedded into the stream [1] for
> Icecast-supported formats [2]. Does this mean that the encoder should
> be responsible for sending along the metadata? If so, how would I
> achieve this with FFmpeg?
>
>
> Thanks in advance,
>
> Stef Gijsberts
>
>
>
> [0]: https://danielnoethen.de/butt/
>
> [1]: "Metadata is expected to be embedded into the stream. For legacy
> formats (MP3, AAC...) metadata can't be included in the stream, so it
> has to be updated out of band using the metadata update endpoint in
> Icecast admin to do so."
>
> https://gist.github.com/ePirat/adc3b8ba00d85b7e3870#gistcomment-2111195
>
> [2]: "It supports Ogg (Vorbis, Theora), Opus, FLAC and WebM (VP8/VP9)"
> https://icecast.org/faq/
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20211015/2ae61a8f/attachment.htm>
More information about the Libav-user
mailing list