nginx-rtmp-module
nginx-rtmp-module copied to clipboard
metadata support - ID3 tags from ffmpeg
Hi,
does the module also pass the metadata from the provider to the subscriber e.g ID3 Tag information from ffmpeg? I have the following configuration:
ffmpeg commandline:
ffmpeg -re -i my.mp3 -acodec copy -f flv rtmp://localhost:1935/music
nginx.conf
rtmp { server { listen 1935; chunk_size 4000; # TV mode: one publisher, many subscribers application music { # enable live streaming live on; # publish only from localhost allow publish 127.0.0.1; deny publish all; allow play all; } } }
I tried to read meatadata the metadata in the browser with http://www.schillmania.com/projects/soundmanager2/.
Cheers, Ruben
The module passes several predefined metadata fields. I will add more fields for this case.
@arut Will this be a static mapping? Or is it possible to pass the metadata dynamically to the client?
r10r did you ever figure out a way to inject id3 metadata dynamically into a live stream? I'm looking to use it as a way of synchronizing other things like you can now do with AMS (https://helpx.adobe.com/adobe-media-server/dev/timed-metadata-hls-hds-streams.html)
@r10r @gpulier any luck finding a solution for this? We are also looking to have custom rtmp metadata passed into HLS ID3 tags. Any help on this is much appreciated. Thanks!
The module passes several predefined metadata fields. I will add more fields for this case.
@arut What fields are supported? Was any progress ever made on adding more fields? I'm trying to pass arbitrary data (sports scores) but they aren't showing up in the player.