[FFmpeg-trac] #4566(avformat:closed): ffmpeg won't copy metadata ("StreamTitle") from audio live stream (transcoding)
FFmpeg
trac at avcodec.org
Fri May 11 12:59:23 EEST 2018
#4566: ffmpeg won't copy metadata ("StreamTitle") from audio live stream
(transcoding)
-------------------------------------+-------------------------------------
Reporter: easydoor | Owner:
Type: enhancement | Status: closed
Priority: wish | Component: avformat
Version: git-master | Resolution: wontfix
Keywords: metadata | Blocked By:
icecast | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by onitake):
Icecast doesn't support sending out-of-band metdata directly, but it has
API endpoints to update the stream metadata. Other broadcast software uses
them, like this one for example:
https://github.com/stunndard/goicy/blob/master/metadata/metadata.go
Two problems need to be solved to implement the feature in FFmpeg:
* Triggering a notification when metadata changes (i.e. when a new input
file is opened or a server sends an update)
* Sending an API request to the Icecast server when the notification is
triggered
The latter should be easy to implement using libavformat's HTTP module,
but the former could be difficult as every compatible protocol/demuxer
needs to be changed. Plus, I'm not sure if FFmpeg supports this kind of
asynchronous notification.
I don't think the ticket should be closed, though, as this is a very
useful feature and it should be possible to implement it without relying
on hacks.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4566#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list