<div dir="ltr">can i hijack your email<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 15, 2021 at 6:58 AM <stef@stef.link> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I use libav to live stream audio. Is it possible to put live metadata <br>
updates in that stream?<br>
<br>
For example, if I listen to some radio station's live stream with VLC <br>
player, I see the name and artist of the song currently playing.  This <br>
information updates instantly when the song is changed.  I want <br>
listeners of my audio stream to similarly see a text of my choosing that <br>
can be changed at any time during the stream.  I know this is <br>
theoretically possible, because the streaming tool called 'butt' [0] can <br>
do this.<br>
<br>
My application generates audio data which I encode with libavcodec (with <br>
an encoder of the user's choosing).  That audio data is then sent to an <br>
Icecast server using libavformat.<br>
<br>
Icecast expects metadata to be embedded into the stream [1] for <br>
Icecast-supported formats [2].  Does this mean that the encoder should <br>
be responsible for sending along the metadata? If so, how would I <br>
achieve this with FFmpeg?<br>
<br>
<br>
Thanks in advance,<br>
<br>
Stef Gijsberts<br>
<br>
<br>
<br>
[0]: <a href="https://danielnoethen.de/butt/" rel="noreferrer" target="_blank">https://danielnoethen.de/butt/</a><br>
<br>
[1]: "Metadata is expected to be embedded into the stream. For legacy <br>
formats (MP3, AAC...) metadata can't be included in the stream, so it <br>
has to be updated out of band using the metadata update endpoint in <br>
Icecast admin to do so."<br>
<br>
<a href="https://gist.github.com/ePirat/adc3b8ba00d85b7e3870#gistcomment-2111195" rel="noreferrer" target="_blank">https://gist.github.com/ePirat/adc3b8ba00d85b7e3870#gistcomment-2111195</a><br>
<br>
[2]: "It supports Ogg (Vorbis, Theora), Opus, FLAC and WebM (VP8/VP9)"<br>
      <a href="https://icecast.org/faq/" rel="noreferrer" target="_blank">https://icecast.org/faq/</a><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
</blockquote></div>