Skip to content
Advertisement

Tag: ffmpeg

How to setup ffmpeg in docker container

I want to compress the video from project directory using ffmpeg in python the video is saved from cv2.VideoCapture(rtsp_url) Normally it run without problem in my local machine, but when I dockerize my app it seems docker container can’t recognize ffmpeg or I missed something. It throws exception This is how I docker my python app. Answer To debug your

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? ] Answer Here is the solution https://github.com/aminyazdanpanah/python-ffmpeg-video-streaming Read the documentation and modify

Advertisement