gstreamer 1.18.0 ksvideosrc error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gstreamer 1.18.0 ksvideosrc error

umit
Hi,

Environment is windows 10 enterprise, gstreamer version is 1.18.0.

I can play analog video with VLC just fine as a directshow capture device.
But when I try to play video from the analog source above with Gstreamer, I
get errors.

When I execute below as a test:

.\gst-launch-1.0.exe ksvideosrc ! videoconvert ! autovideosink

with gst_debug=4, I get error log:

...
0:00:00.882979000  2396 000001CE3F1AA000 INFO             d3d11device
gstd3d11device.c:394:can_support_format:<d3d11device0> Device supports DXGI
format 100
0:00:00.889809000  2396 000001CE3F1AA000 INFO             d3d11device
gstd3d11device.c:394:can_support_format:<d3d11device0> Device supports DXGI
format 103
0:00:00.896041000  2396 000001CE3F1AA000 INFO             d3d11device
gstd3d11device.c:394:can_support_format:<d3d11device0> Device supports DXGI
format 104
0:00:00.901033000  2396 000001CE3F1AA000 INFO             d3d11device
gstd3d11device.c:394:can_support_format:<d3d11device0> Device supports DXGI
format 105
...
0:00:00.934560000  2396 000001CE3F1AA000 INFO             d3d11device
gstd3d11device.c:394:can_support_format:<d3d11device1> Device supports DXGI
format 100
0:00:00.941733000  2396 000001CE3F1AA000 INFO             d3d11device
gstd3d11device.c:394:can_support_format:<d3d11device1> Device supports DXGI
format 103
0:00:00.946694000  2396 000001CE3F1AA000 WARN             d3d11device
gstd3d11device.c:381:can_support_format: D3D11 call failed: 0x80004005,
Unspecified error
0:00:00.954989000  2396 000001CE3F1AA000 WARN             d3d11device
gstd3d11device.c:383:can_support_format:<d3d11device1> DXGI format 104 is
not supported by device
0:00:00.960109000  2396 000001CE3F1AA000 WARN             d3d11device
gstd3d11device.c:381:can_support_format: D3D11 call failed: 0x80004005,
Unspecified error
0:00:00.964952000  2396 000001CE3F1AA000 WARN             d3d11device
gstd3d11device.c:383:can_support_format:<d3d11device1> DXGI format 105 is
not supported by device
0:00:00.973849000  2396 000001CE3F1AA000 INFO         d3d11debuglayer
gstd3d11device.c:526:gst_d3d11_device_constructed:<d3d11device2> couldn't
load dxgi debug library
0:00:00.979047000  2396 000001CE3F1AA000 WARN             d3d11device
gstd3d11device.c:563:gst_d3d11_device_constructed:<d3d11device2> No adapter
for index 2
0:00:00.984729000  2396 000001CE3F1AA000 WARN             d3d11device
gstd3d11device.c:834:gst_d3d11_device_new: Cannot create d3d11 device with
adapter 2
...
0:00:01.913722000  2396 000001CE41173F80 WARN              ksvideosrc
gstksvideosrc.c:460:gst_ks_video_src_open_device:<ksvideosrc0> failed to
create/open KsClock
**
ERROR:../sys/winks/ksvideohelpers.c:535:ks_video_probe_filter_for_caps:
assertion failed: (entry->sample_size != 0)
Bail out!
ERROR:../sys/winks/ksvideohelpers.c:535:ks_video_probe_filter_for_caps:
assertion failed: (entry->sample_size != 0)

Running gst-device-monitor.exe also gives same last errors as above:

...
0:00:01.913722000  2396 000001CE41173F80 WARN              ksvideosrc
gstksvideosrc.c:460:gst_ks_video_src_open_device:<ksvideosrc0> failed to
create/open KsClock
**
ERROR:../sys/winks/ksvideohelpers.c:535:ks_video_probe_filter_for_caps:
assertion failed: (entry->sample_size != 0)
Bail out!
ERROR:../sys/winks/ksvideohelpers.c:535:ks_video_probe_filter_for_caps:
assertion failed: (entry->sample_size != 0)

I tried running executables as an Administrator too, in case needed, but
same result.

Any idea what I'm doing wrong?

Thanks in advance,

Umit




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel