Hello, I'm trying to capture video from the card Avermedia ExtremeCap U3 - CV710 (https://www.avermedia.com/pt/product-detail/CV710) I used the command gst-launch-1.0 ksvideosrc ! queue ! d3dvideosink And I get the following error: 0:00:00.320875000 1496 031D9500 ERROR ksvideosrc gstksvideodevice.c:653:gst_ks_video_device_create_pin: KsCreatePin returned 0x00000057: The parameter is incorrect. Here is the complete log with GST_DEBUG=2,ks*:6 C:\Users\Mconf>gst-launch-1.0 ksvideosrc ! queue ! d3dvideosink Setting pipeline to PAUSED ... 0:00:00.305088800 2036 03219460 DEBUG ksvideosrc gstksvideosrc.c:432:gst_ks_video_src_open_device:<ksvideosrc0> device 0: name='AVerMedia ExtremeCap U3' path='\\?\usb#vid_07ca&pid_0710#307813100008#{6994ad05-93ef-11d0-a3cc-00a0c9223196}\{8ec460c4-0d2e-46fd-ad9b-331ff33de3b6}' 0:00:00.317721900 2036 03219460 WARN ksvideosrc gstksvideosrc.c:460:gst_ks_video_src_open_device:<ksvideosrc0> failed to create/open KsClock 0:00:00.323751100 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:342:gst_ks_video_device_dump_supported_property_sets: filter supports 15 property sets 0:00:00.332650000 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [0] KSPROPSETID_VIDCAP_VIDEOPROCAMP 0:00:00.341541700 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [1] KSPROPSETID_VIDCAP_VIDEODECODER 0:00:00.349864100 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [2] {0093B5C3-A92B-4DCE-B45A-50A16005A7F1} 0:00:00.355603000 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [3] KSPROPSETID_CopyProt 0:00:00.364463000 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [4] {094E9347-75E8-447A-BC5F-83A4499413BA} 0:00:00.372343300 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [5] {D2185A40-0398-11D3-A53E-00A0C9EF506A} 0:00:00.378342800 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [6] {1BF3FF28-38E7-43A0-840F-CE944918E318} 0:00:00.388025100 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [7] {9A8B368A-F82C-47E7-83E1-5E88FD2E1B2B} 0:00:00.397215400 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [8] {A1DFC885-1DFB-4A70-8F99-A5CBAF52ACC4} 0:00:00.405019800 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [9] {4A55148D-2082-4202-99C7-4A7C7B6694B6} 0:00:00.412533200 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [10] {A0F8A4F5-29DB-4B21-AB99-978BE4A5922D} 0:00:00.421517700 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [11] KSPROPSETID_Pin 0:00:00.429242700 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [12] KSPROPSETID_Topology 0:00:00.434471200 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [13] KSPROPSETID_General 0:00:00.443391400 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:346:gst_ks_video_device_dump_supported_property_sets: [14] {A60D8368-5324-4893-B020-C431A50BCBE3} 0:00:00.452194000 2036 03219460 DEBUG ksvideosrc ksvideohelpers.c:435:ks_video_probe_filter_for_caps: pin_count = 5 0:00:00.459200200 2036 03219460 DEBUG ksvideosrc ksvideohelpers.c:454:ks_video_probe_filter_for_caps: pin[0]: pin_comm=3, pin_flow=1 0:00:00.464316500 2036 03219460 DEBUG ksvideosrc ksvideohelpers.c:454:ks_video_probe_filter_for_caps: pin[1]: pin_comm=3, pin_flow=1 0:00:00.471194200 2036 03219460 DEBUG ksvideosrc ksvideohelpers.c:454:ks_video_probe_filter_for_caps: pin[2]: pin_comm=3, pin_flow=2 0:00:00.477475500 2036 03219460 DEBUG ksvideosrc ksvideohelpers.c:454:ks_video_probe_filter_for_caps: pin[3]: pin_comm=3, pin_flow=2 0:00:00.485418500 2036 03219460 DEBUG ksvideosrc ksvideohelpers.c:454:ks_video_probe_filter_for_caps: pin[4]: pin_comm=3, pin_flow=2 0:00:00.493514200 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)[ 15/1, 85/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.505431400 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)720, height=(int)480, framerate=(fraction)[ 30/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.516399800 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)720, height=(int)576, framerate=(fraction)[ 25/1, 50/1 ], pixel-aspect-ratio=(fraction)12/11 0:00:00.527837500 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)800, height=(int)600, framerate=(fraction)[ 15/1, 85/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.539077400 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1024, height=(int)768, framerate=(fraction)[ 15/1, 85/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.551029600 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)[ 15/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.563314300 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)768, framerate=(fraction)[ 15/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.575899700 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)800, framerate=(fraction)[ 15/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.587929200 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1360, height=(int)768, framerate=(fraction)[ 15/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.604524000 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1440, height=(int)900, framerate=(fraction)[ 15/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.616139100 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)1024, framerate=(fraction)[ 15/1, 85/1 ], pixel-aspect-ratio=(fraction)12/11 0:00:00.629140600 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1680, height=(int)1050, framerate=(fraction)[ 15/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 0:00:00.641321200 2036 03219460 DEBUG ksvideosrc gstksvideodevice.c:413:gst_ks_video_device_open: pin[2]: found media type: video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)[ 15/1, 60/1 ], pixel-aspect-ratio=(fraction)1/1 Pipeline is live and0 :d0o0e:s 0no0t. 6n5eed PRERO3888700 LL . .2.0 6 0321S94e6t0t ing DpEiBpUG eline to P LAYI N G . . . ksvideNoeswr cc lgocskt:k sGvsitdSeyosdteevmiCcleo.cck: 17:gst_ks_video_device_create_pin: calling KsCreatePin with pin_id = 2 0:00:00.665082500 2036 03219460 ERROR ksvideosrc gstksvideodevice.c:653:gst_ks_video_device_create_pin: KsCreatePin returned 0x00000057: The parameter is incorrect. 0:00:00.673921000 2036 032198C0 DEBUG ksvideosrc gstksvideosrc.c:722:gst_ks_video_src_set_caps: Result is 0 0:00:00.677858600 2036 032198C0 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<ksvideosrc0> error: Internal data stream error. 0:00:00.684989000 2036 032198C0 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<ksvideosrc0> error: streaming stopped, reason not-negotiated (-4) 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.044609100 Setting pipeline to PAUSED ... Setting pipeline to READY ... 0:00:00.709481700 2036 03214D20 DEBUG ksvideosrc gstksvideosrc.c:787:gst_ks_video_src_unlock:<ksvideosrc0> gst_ks_video_src_unlock 0:00:00.718008000 2036 03214D20 DEBUG ksvideosrc gstksvideosrc.c:799:gst_ks_video_src_unlock_stop:<ksvideosrc0> gst_ks_video_src_unlock_stop Setting pipeline to NULL ... 0:00:00.727196200 2036 03214D20 WARN d3dvideosink d3dhelpers.c:1146:d3d_set_window_handle:<d3dvideosink0> Window HWND already set to: 0 Freeing pipeline ... Any help or tips is appreciated. -- Germano Caumo Carniel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |