<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">Le mar. 20 nov. 2018 04 h 56, Skained <<a href="mailto:josericardoperezcastillo@gmail.com">josericardoperezcastillo@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I started working with gstreamer a month ago. Now I need to make a<br>
videoomixer with two transmissions, but when I try this I have a problem.<br>
First I deal with videotestsrc and it works well, this is my code:<br>
"gst-launch-1.0 v4l2src device = / dev / video1! video / x-raw, width = 320,<br>
height = 240, framerate = 25/1! xvimagesink sync = false"<br>
<br>
Then, I change videotestsrc with v4l2src and I have the problem:<br>
"0: 00: 00.021282177 19456 0x1dfd400 WARN basesrc gstbasesrc.c: 2948:<br>
gst_base_src_loop: <v4l2src0> error: transmission job paused, reason not<br>
negotiated (-4)"<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Not-negotiated means two elements have an incompatible format. Normally adding videoconvert after v4l2src should solve it in some cases you might want to use a jpeg decoder followed by a color converter.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This is my code, some possible solution, in this case I use the same<br>
transmission to make a videomixer.<br>
"gst-launch-1.0 v4l2src do-timestamp = true device = / dev / video2! video /<br>
x-raw, width = 80, height = 60, framerate = 10/1! videobox border-alpha = 0<br>
top = 0 bottom = 0 Name of the video mixer = mix sink_0 :: xpos = 240 sink_0<br>
:: ypos = 180 sink_0 :: zorder = 10! Videoconvert! Device V4l2sink = / dev /<br>
video1 v4l2src device = / dev / video2! Video / x-raw , framerate = 5/1,<br>
width = 320, height = 240! Videoconvert! Mix ".<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>