Flumotion has been an exercise in frustration. They are a commercial company with an open source product and proprietary product and a content delivery network and perhaps something else, so it was nearly impossible to figure out if the free product would do what I want, but unsurprisingly to do what I want costs money, supposedly. I think.

I tried having Gstreamer just repeat the RTSP stream from the Wirecast built-in server as HTTP, but I didn’t get that working.

I did get direct from Wirecast to convert to webm and along the way figured out the magic Gstreamer component “decodebin” which kept me from having to figure out which plugins to string together:

tcpServer.listen(function() {
    var cmd = 'gst-launch-0.10';
    var options = null;
    var args =
    ['rtspsrc', 'location=rtsp://192.168.1.59:7070/my_stream.sdp', 'is-live=1',
    '!', 'decodebin',
    '!', 'ffmpegcolorspace',
    '!', 'vp8enc', 'speed=2',
    '!', 'm.', 'audiotestsrc', 'is-live=1',
    '!', 'audioconvert',
    '!', 'vorbisenc',
    '!', 'queue2',
    '!', 'm.', 'webmmux', 'name=m', 'streamable=true',
    '!', 'tcpclientsink', 'host=localhost',
    'port='+tcpServer.address().port];

Now I need to figure out how to make Gstreamer output mp4. (If it can.)

There is also an encodebin …need to check that out.

Debugging/inspecting: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html