quasarstream / PHP-FFmpeg-video-streaming

📼 Package media content for online streaming(DASH and HLS) using FFmpeg
https://www.quasarstream.com/op/php/ffmpeg-streaming?u=php-ff
MIT License
514 stars 117 forks source link

Additional audio tracks #87

Closed gpmaestro closed 3 years ago

gpmaestro commented 3 years ago

Hey, I need to add more audio tracks to the HLS streaming. Is there any solution to generate a separate m3u8 playlist for an AAC file and include it in the main playlist?

Thanks a lot!

aminyazdanpanah commented 3 years ago

You can create an additional m3u8 playlist for an AAC file using FFmpeg Library and you should also modify the master playlist(master.m3u8) to add audio m3u8 playlists.