writelmka.blogg.se

Ffmpeg python rtsp
Ffmpeg python rtsp










ffmpeg python rtsp

We used celery to perform background processing.Ĭelery is an asynchronous task queue/job queue based on distributed message passing. So we moved transcoding part to the background process.

ffmpeg python rtsp

In case of a large file, we were facing server timeout. It contains ffmpeg which can be used by end users for transcoding.īut It was not appropriate to make a user wait until we finished our stream transcoding. So, to transcode the video file into HLS stream we used FFmpeg multimedia framework.įFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. So we needed to transcode the video file into some sort of stream supported in the video tag, so we can use it with the video tag.Īpple’s HLS (HTTP Live Streaming) stream was such a solution. We were not able play all these files together with HTML 5 video tag directly. There are other typical use cases where a user can edit the video/audio/subtitle, which would again need to process the whole thing! The user can also seek the video using subtitle transcription. In our recent project, The user should be able to create a task with video file which associated with multiple audio/subtitle files.Ī user can view that video and change audio track/subtitle.












Ffmpeg python rtsp