GStreamer Videomixer with Raspberry Pi's Camera
Rob
robert.swain at gmail.com
Tue Jul 22 12:21:49 PDT 2014
Your pipeline isn't quite right (it shouldn't begin with a ! for example)
but I'll let others correct that as I am writing from my phone. :)
I think you will run into performance problems with videomixer. Ideally on
the RPi one would be able to use v4l2src, the various OpenGL elements
including glvideomixer and even omxh264encode all with zero
unnecessary memory copies for maximum performance.
Perhaps someone is interested in working on that stuff or seeing what can
be done with the RPi foundation people working on the V4L2, graphics and
OpenMAX drivers.
Best regards,
Rob
On Tuesday, 22 July 2014, Madnness <bigburke at gmail.com> wrote:
> Hello, I have been running in to some headache with Gstreamer's pipeline
> format especially trying to use the videomixer function. What I am trying
> to
> do is get gstreamer to duplicate the input video stream from either
> raspivid
> or rpicamsrc, a gstreamer wrapper for raspivid, and display them side by
> side. Then send the stream via tcpserversink. I am currently using
> gstreamer
> 1.2 on the newest raspbian wheezy and I am not using gst-ffmpeg so I can't
> use ffmpegcolorspace. I have posted something about this on stackoverflow
> and raspberrypi's forums and have yet to hear any advice and I have
> searched
> far and wide for an example of the raspberry pi camera being used with
> gstreamer's videomixer. Most of the stuff I find are using webcams not the
> rpi camera.
> Well I would be extremely grateful for any advice/guidance. Here is what I
> have so far:
>
> /gst-launch-1.0 -v ! videomixer name=mix ! videoconvert ! tcpserversink
> host=192.168.1.36 port=8090 ! fdsrc | raspivid -t 999999 -h 568 -w 640 -fps
> 20 -hf -b 2000000 -o - ! h264parse ! videoconvert ! videobox border-alpha=0
> left=-640 ! mix. fdsrc | raspivid -t 999999 -h 568 -w 640 -fps 20 -hf -b
> 2000000 -o - ! h264parse ! videoconvert ! videobox border-alpha=0
> right=-640
> ! mix. /
>
> And the errors I am getting::
> *Invalid command line option (!)
> Invalid command line option (!)
> WARNING: erroneous pipeline: syntax error
> *
>
> Again any help is greatly appreciated :)
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/GStreamer-Videomixer-with-Raspberry-Pi-s-Camera-tp4668030.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org <javascript:;>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140722/1f8efc05/attachment.html>
More information about the gstreamer-devel
mailing list