How can I resize the webcam output? I'm using v4l2src...

Giacomo D omagico.olo at gmail.com
Thu Aug 6 10:20:05 PDT 2015


I'm trying to show in my screen four videos, one from my webcam and (at the
moment!) the others from the same AVI file:


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=200,height=100,
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 \


But unfortunately the output is this:


<http://gstreamer-devel.966125.n4.nabble.com/file/n4673018/58.png> 


What do I am I doing wrong in order to resize of webcam output?

Thanks for you help.

Giacomo







--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-can-I-resize-the-webcam-output-I-m-using-v4l2src-tp4673018.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list