go-transcode icon indicating copy to clipboard operation
go-transcode copied to clipboard

Custom m3u8 for map audio

Open rudnypc opened this issue 3 years ago • 5 comments

When video has multiple audio, maybe it would be nice if we can choose the best audio language, the ffprobe can give all index audio.

rudnypc avatar Dec 03 '21 21:12 rudnypc

Generate m3u8 for custom video, audio and subtitle index could be nice too.

rudnypc avatar Dec 03 '21 21:12 rudnypc

As separate manifest? E.g. profile-eng.m3u8 or joined together in one playlist as multiple audios?

m1k1o avatar Dec 03 '21 21:12 m1k1o

It's a nice idea, but how it will work if the video has multiple audios in english or unknow language? What do you think in profile-eng-00.m3u8, profile-eng-01.m3u8 and, profile-ger-00.m3u8, profile-por-00.m3u8, profile-UNK-00.m3u8, profile-UNK-02.m3u8?

unk=unknow

I'm thinking if will be easy at the transcode to know the right index to use.

rudnypc avatar Dec 03 '21 22:12 rudnypc

Yes, I agree, stream index could be used. And then maybe either using filter options as query parameters or in the name of manifest.

m1k1o avatar Dec 03 '21 22:12 m1k1o

profile-0.m3u8 profile-1.m3u8 profile-2.m3u8

0,1,2.. is the index. Inside the master playlist, you could put the language name/details.

rudnypc avatar Dec 04 '21 21:12 rudnypc