mix rtmp streams
Ruben Gonzalez Uvigo
rubenrua at uvigo.es
Mon Nov 19 03:49:58 PST 2012
You need encode and multiplex the video (x264 and flv) before the
rtmpsink. Like:
... videomixer name=mix ! ffmpegcolorspace ! x264enc threads=0
bitrate=400 tune=zerolatency ! flvmux streamable=true ! rtmpsink
location="rtmp://fms.vokledev.com/gstreamer/gstream live=1"
You should read Gstreamer Application Development Manual [1] or
GStreamer SDK Tutorials [2]
[1] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/manual.pdf
[2] http://docs.gstreamer.com/display/GstSDK/Tutorials
--
Regards/Un Saludo
2012/11/17 Rich Rodecker <flashape2 at gmail.com>:
> Hello all...just discovering gstreamer and think it's awesome!
>
> I'm trying to mix multiple rtmp streams together using videomixer...I feel
> like i'm getting close but I can't seem to get it going. Here's what I have
> now (and I've tried what feels like thousands of variations of this), any
> help pointing me in the right direction is appreciated:
>
> gst-launch-1.0 -e rtmpsrc location='rtmp://fms.vokledev.com/gstreamer/test1
> live=1' ! flvdemux ! decodebin ! video/x-flv, width=350, height=250 ! \
> videomixer name=mix ! rtmpsink
> location="rtmp://fms.vokledev.com/gstreamer/gstream live=1" \
> rtmpsrc location='rtmp://fms.vokledev.com/gstreamer/test2 live=1' ! flvdemux
> ! decodebin ! video/x-flv, width=350, height=250 ! videoconvert ! mix.
>
> Gives me the error:
>
> WARNING: erroneous pipeline: could not link mix to rtmpsink0
>
> I've been able to do other things with an rtmp stream, like reading one in
> and pushing it back out to flash media server, but this one has had me on
> the ropes for a couple of days now.
>
> Thanks in advance,
>
> Rich
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list