<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks your answer I tried it, but I got very similar error:</p>
<p><br>
</p>
<p>C:\gstreamer\1.0\x86\bin>gst-launch-1.0 ksvideosrc
device-path="\\\\\?\\pci\#ven_1c04\&dev_0010\&subsys_00111c04\&rev_01\#8\&248d93ad\&0\&003000480008\#\{6994ad05-93ef-11d0-a3cc-00a0c9223196\}\\\{9624a342-fbea-4bed-9765-273e5d690387\}"
! videoconvert ! autovideosink<br>
Setting pipeline to PAUSED ...<br>
0:00:00.112066500 624 0259B200 WARN d3dvideosink
d3dhelpers.c:1146:d3d_set_window_handle:<autovideosink0-actual-sink-d3dvideo>
Window HWND already set to: 0<br>
0:00:00.150439800 624 02597820 WARN ksvideosrc
gstksvideosrc.c:460:gst_ks_video_src_open_device:<ksvideosrc0>
failed to create/open KsClock<br>
0:00:00.164841600 624 02597780 FIXME default
gstutils.c:3981:gst_pad_create_stream_id_interPipeline is live and
does not need PREROLL ...<br>
nal:<ksvideosrc0:src>Setting pipeline to PLAYING ...<br>
Creating random stream-id, consider implementing a deterministic
way of creating a stream-id<br>
New clock: GstSystemClo0:00:00.177084100 ck<br>
02597780 WARN basesrc
gstbasesrc.c:3072:gst_base_src_loop:<ksvideosrc0> error:
Internal data stream error.<br>
0:00:00.181807300 624 02597780 WARN basesrc
gstbasesrc.c:3072:gst_base_src_loop:<ksvideosrc0> error:
streaming stopped, reason not-negotiated (-4)<br>
ERROR: from element
/GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0: Internal data
stream error.<br>
Additional debug info:<br>
../libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop ():
/GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0:<br>
streaming stopped, reason not-negotiated (-4)<br>
Execution ended after 0:00:00.027380300<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
Setting pipeline to NULL ...<br>
0:00:00.211291000 624 0259B200 WARN d3dvideosink
d3dhelpers.c:1146:d3d_set_window_handle:<autovideosink0-actual-sink-d3dvideo>
Window HWND already set to: 0<br>
Freeing pipeline ...</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">2019. 09. 30. 21:56 keltezéssel,
Nicolas Dufresne írta:<br>
</div>
<blockquote type="cite"
cite="mid:3c8592d55881a2669835ce881f71d7c1220a8859.camel@ndufresne.ca">
<pre class="moz-quote-pre" wrap="">Le lundi 30 septembre 2019 à 15:59 +0200, Lóránt Labádi a écrit :
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi guys,
I'm trying to capture video from a frame grabber card but I got an issue:
gst_device_monitor's output:
Device found:
name : D4-PREV8 PCIe Video Capture
class : Video/Source
caps : video/x-raw, format=(string)BGRx, width=(int)[ 64, 3840
], height=(int)[ 1, 2160 ], framerate=(fraction)[ 0/1, 60/1 ],
pixel-aspect-ratio=(fraction)1/1;
gst-launch-1.0 ksvideosrc
device-path="\\\\\?\\pci\#ven_1c04\&dev_0010\&subsys_00111c04\&rev_01\#8\&2d8ac41c\&0\&002800480008\#\{6994ad05-93ef-11d0-a3cc-00a0c9223196\}\\\{46d01bbe-d9d5-4027-a95f-c01ae2ade565\}"
! ...
I tried:
gst-launch-1.0 ksvideosrc
device-path="\\\\\?\\pci\#ven_1c04\&dev_0010\&subsys_00111c04\&rev_01\#8\&2d8ac41c\&0\&002800480008\#\{6994ad05-93ef-11d0-a3cc-00a0c9223196\}\\\{46d01bbe-d9d5-4027-a95f-c01ae2ade565\}"
! autovideosink
The log output:
Setting pipeline to PAUSED ...
0:00:00.103031700 2920 02475E20 WARN d3dvideosink
d3dhelpers.c:1146:d3d_set_window_handle:<autovideosink0-actual-sink-d3dvideo>
Window HWND already set to: 0
0:00:00.143475100 2920 0247A500 WARN ksvideosrc
gstksvideosrc.c:460:gst_ks_video_src_open_device:<ksvideosrc0> failed to
create/open KsClock
0:00:00.155500600 2920 0247A550 FIXME default
gstutils.c:3981:gst_pad_create_stream_id_internal:<ksvideosrc0:src>
CreatingPipeline is live and does not need PRE random stream-id,
consider implementing a deterministic way of creating a stream-id
ROLL ...
0:00:00.167675900 Setting pipeline to PLAYING ...
2920New clock: GstSystemClock
0247A550 WARN basesrc
gstbasesrc.c:3072:gst_base_src_loop:<ksvideosrc0> error: Internal data
stream error.
0:00:00.174636900 2920 0247A550 WARN basesrc
gstbasesrc.c:3072:gst_base_src_loop:<ksvideosrc0> error: streaming
stopped, reason not-negotiated (-4)
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
It's likely the pixel format from the capture which is not compatible
with d3dvideosink, try adding videoconvert in between.
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">ERROR: from element /GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0:
Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop ():
/GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.025105200
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
0:00:00.207579700 2920 02475E20 WARN d3dvideosink
d3dhelpers.c:1146:d3d_set_window_handle:<autovideosink0-actual-sink-d3dvideo>
Window HWND already set to: 0
Freeing pipeline ...
Can you guys help me with this, please?
Thanks,
Lorant
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
</blockquote>
</blockquote>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>dexon</title>
<style>
*{
font-family: Arial, sans-serif;
margin: 0;
}
body{
padding:10px;
}
table tr td{
color: rgb(51,102,102);
font-size:12px;
font-style: italic;
}
h5{
color:#646464;
font-weight:normal;
font-size:10px</style><br>
</div>
</body>
</html>