Alexandre Bourget

geek joy

Entries tagged “h264”

GStreamer, RTP and live streaming

written by abourget, on Jun 14, 2009 11:08:00 AM.

I wanted to stream a live video feed to the Internet, and have some Flash player available on the web that would make my live stream available.

I’ve searched services, or ways to do that. I’ve found ustream.tv and justin.tv.

After trying to use my Ubuntu machine to stream video out there (with a simple V4L2 camera), I’ve had much trouble (ustream.tv still doesn’t work) but worked out a way to effectively stream a 2 hours ceremony directly on the web, with 2 computers, a wireless router, a Mini-DV camera, a simple sound card, GStreamer and the justin.tv web service.

Here are the pieces I’ve used (and the references that helped me out):

Website references I’ve found useful to understand the whole GStreamer thing and especially the RTP parts:

Here are the scripts I’ve used. First the video_streamer.py file:

Read on...