kaltura / nginx-vod-module

NGINX-based MP4 Repackager
GNU Affero General Public License v3.0
1.99k stars 439 forks source link

Multiple audio tracks in one segment #1520

Open asaretsyan opened 5 months ago

asaretsyan commented 5 months ago

I'm trying to use multiple audio tracks in one segment with the nginx-vod-module. I can specify a URL like https://url/video/seg-1-v1-a1.ts and it seems to work, but if I specify https://url/video/seg-1-v1-a1-a2.ts, I get an error.

Is it currently possible to have multiple audio tracks in one segment with nginx-vod-module? If not, are there any workarounds or alternative solutions?

erankor commented 5 months ago

Having multiple tracks of the same media type in a segment is not supported. The standard solution for multiple audio tracks (e.g. different languages) is to specify them in the master manifest, using EXT-X-MEDIA tags (supported by this module)