v4lsrc and videomixer

Skained josericardoperezcastillo at gmail.com
Tue Nov 20 08:55:10 UTC 2018


Hello,
I started working with gstreamer a month ago. Now I need to make a
videoomixer with two transmissions, but when I try this I have a problem.
First I deal with videotestsrc and it works well, this is my code:
"gst-launch-1.0 v4l2src device = / dev / video1! video / x-raw, width = 320,
height = 240, framerate = 25/1! xvimagesink sync = false"

Then, I change videotestsrc with v4l2src and I have the problem:
"0: 00: 00.021282177 19456 0x1dfd400 WARN basesrc gstbasesrc.c: 2948:
gst_base_src_loop: <v4l2src0> error: transmission job paused, reason not
negotiated (-4)"

This is my code, some possible solution, in this case I use the same
transmission to make a videomixer.
"gst-launch-1.0 v4l2src do-timestamp = true device = / dev / video2! video /
x-raw, width = 80, height = 60, framerate = 10/1! videobox border-alpha = 0
top = 0 bottom = 0 Name of the video mixer = mix sink_0 :: xpos = 240 sink_0
:: ypos = 180 sink_0 :: zorder = 10! Videoconvert! Device V4l2sink = / dev /
video1 v4l2src device = / dev / video2! Video / x-raw , framerate = 5/1,
width = 320, height = 240! Videoconvert! Mix ".



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list