Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Streaming audio and video with Python

I need to make an application which streams live multimedia. At present my application is taking image frames from a webcam (using OpenCV) and sending it to the client. It is also sending audio using pymedia module. The problem is that both the image and audio packets that arrive at the client are out of sync.

So I have following questions:

  1. Is there any module in python for live-multimedia streaming?
  2. Can I make the audio and image frames somehow in sync for the client?

PS. pymedia has not been in development since 2006 and is not working.

like image 653
Love Avatar asked Nov 03 '11 10:11

Love


1 Answers

You can try gst-python module.

refer to the gstPython Documentation for more detail.

like image 153
Yajushi Avatar answered Oct 14 '22 02:10

Yajushi