Streaming audio and video with Python

Love picture Love · Nov 3, 2011 · Viewed 17.6k times · Source

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.

Answer

Yajushi picture Yajushi · Nov 3, 2011

You can try gst-python module.

refer to the gstPython Documentation for more detail.