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

RTMP multiple audio track

Open umutzorlu opened this issue 12 years ago • 4 comments

Hi, is there a solution for multiple audio on one video stream . For example 1 video track, 1 english audio, 1 german audio (stream comes from multicast) in one Nginx Rtmp stream.

if its possible to stream it please explain how to make and how to get stream from rtmp player.

MAP: [udp://224.35.10.1:1234 (1video, 2audio track)]-->[ffmpeg]-->[nginx-rtmp]----->[rtmp-player-2 audio track]

Thanks.

umutzorlu avatar Jan 27 '13 08:01 umutzorlu

It's possible for vod/mp4 (http://rarut.wordpress.com/2013/01/26/mp4-track-selector/) but not for live. If you give me stream example I'll try to implement that for live streaming.

arut avatar Jan 27 '13 10:01 arut

Hey, I would be super interested as well in multiple audio track for live, has there been any progress on this side ? after a few research it seams flv does not support multiple audio. Is nginx rtmp handling any other format for live (mp4 seems not to work).

Thx,

timbiker avatar May 16 '15 19:05 timbiker

Little bump on this issue, it would be great if this could be supported on live streams.

thecodeassassin avatar Jun 15 '21 10:06 thecodeassassin

As an example you can look at: https://obsproject.com/kb/twitch-vod-track-guide

Where the first track is used for the livestream, but the second track is used for recording VOD (no music) on Twitch's end.

sfjuocekr avatar Jan 30 '24 03:01 sfjuocekr