mixing datapath framegrabber with composite input
Mikael Kermorgant
mikael.kermorgant at gmail.com
Tue Jun 9 06:55:05 PDT 2015
Hello,
I'm trying to mix two videos captured from /dev/video0 and /dev/video1 into
one, on an old ubuntu 12.04.
I have successfully mixed videotestsrc sources, one videtestsrc with one
from /dev/videoN
But when I try to combine /dev/video0 and /dev/video1, it fails.
Here's the pipeline :
gst-launch-0.10 -v \
v4l2src device=/dev/video0 ! video/x-raw-rgb ! videoscale !
video/x-raw-rgb,width=320,height=180 ! ffmpegcolorspace ! \
videomixer name=mix ! \
x264enc tune=zerolatency byte-stream=true bitrate=2048 ! queue !
filesink location="/tmp/pipcamera.avi" \
v4l2src device=/dev/dada0 ! video/x-raw-yuv,
width=1280,height=1024, framerate=10/1 ! videoscale ! video/x-raw-yuv,
format=\(fourcc\)YUY2, width=320,height=180 ! ffmpegcolorspace ! videobox
border-alpha=1.0 top=0 left=-320 ! mix.
Main error is :
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
data flow error.
streaming task paused, reason not-negotiated (-4)
Full output is here : http://ur1.ca/ms1uh
Would you have any idea about what's wrong ?
Best regards
--
Mikael Kermorgant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150609/d395acff/attachment-0001.html>
More information about the gstreamer-devel
mailing list