Skip to content
Advertisement

How to Convert MP4 to HLS with Multiple Audio and Multiple Video Quality in Python/Django?

I have tried with ffmpeg library and I can convert videos mp4 to hls with multiple quality but multiple audio is not working. > [Commands Excuting from Terminal]

And with subprocess library calling subprocess.call. > [ Want to know is this the right way? to do with Django? ]

Advertisement

Answer

Here is the solution https://github.com/aminyazdanpanah/python-ffmpeg-video-streaming

Read the documentation and modify as your requirement.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement