How can I resize the webcam output? I'm using v4l2src...
Giacomo D
omagico.olo at gmail.com
Thu Aug 6 12:50:09 PDT 2015
I tried it like the code below but I got this error: "ATTENZIONE: pipeline
errata: syntax error."
gst-launch-1.0 -e \
videomixer name=mix \
sink_0::xpos=0 sink_0::ypos=0 sink_0::alpha=0\
sink_1::xpos=0 sink_1::ypos=0 \
sink_2::xpos=200 sink_2::ypos=0 \
sink_3::xpos=0 sink_3::ypos=100 \
sink_4::xpos=200 sink_4::ypos=100 \
! xvimagesink \
videotestsrc pattern="black" \
! video/x-raw,width=400,height=200 \
! mix.sink_0 \
v4l2src device=/dev/video0 ! video/x-raw,width=320,height=240,framerate=30/1
! videoconvert ! videoscale \
! mix.sink_1 \
filesrc location=/home/giacomo/Scrivania/Sam_Smith_-_Im_Not_The_Only_One.avi
\
! decodebin ! videoconvert ! videoscale \
! video/x-raw,width=200,height=100 \
! mix.sink_2 \
filesrc location=/home/giacomo/Scrivania/Sam_Smith_-_Im_Not_The_Only_One.avi
\
! decodebin ! videoconvert ! videoscale \
! video/x-raw,width=200,height=100 \
! mix.sink_3 \
filesrc location=/home/giacomo/Scrivania/Sam_Smith_-_Im_Not_The_Only_One.avi
\
! decodebin ! videoconvert ! videoscale \
! video/x-raw,width=200,height=100 \
! mix.sink_4 \
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-can-I-resize-the-webcam-output-I-m-using-v4l2src-tp4673018p4673020.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list