nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

metadata support - ID3 tags from ffmpeg

Open r10r opened this issue 12 years ago • 5 comments

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

r10r avatar Aug 13 '12 15:08 r10r

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

arut avatar Aug 13 '12 15:08 arut

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

r10r avatar Aug 15 '12 07:08 r10r

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)

gpulier avatar Mar 04 '15 04:03 gpulier

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

ballertv avatar Sep 18 '16 22:09 ballertv

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.

redlotusaustin avatar Dec 13 '22 18:12 redlotusaustin