arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.36k stars 3.51k forks source link

metadata support - ID3 tags from ffmpeg #43

Open r10r opened 12 years ago

r10r commented 12 years ago

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

arut commented 12 years ago

The module passes several predefined metadata fields. I will add more fields for this case.

r10r commented 12 years ago

@arut Will this be a static mapping? Or is it possible to pass the metadata dynamically to the client?

gpulier commented 9 years ago

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)

ballertv commented 8 years ago

@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!

redlotusaustin commented 1 year ago

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.