AW: no element ksvideosrc

Thornton, Keith keith.thornton at zeiss.com
Thu Mar 4 04:50:24 UTC 2021


Hi,
try the same with videotestsrc, It maybe that the environments in which they are running are different. /PATH,GST_PLUGIN_PATH).
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von rfn
Gesendet: Mittwoch, 3. März 2021 17:24
An: gstreamer-devel at lists.freedesktop.org
Betreff: no element ksvideosrc

Hi everybody,
I'm fairly new to gstreamer, so excuse if this is trivial. 

I have a working pipeline in linux using :

     descr = g_strdup_printf ("v4l2src device=/dev/video0 !
video/x-raw,format=GRAY16_LE ! videoscale ! 
     video/x-raw,width=640,height=480 ! videoconvert ! appsink name=sink");

     data->pipe = gst_parse_launch (descr, &error);


Now I am trying to get the equivalent code for windows. I was trying by
changing the source, using:      /ksvideosrc device-name=*device-name*/    
instead of:      /v4l2src device=/dev/video0/ 

This returns: /No element ksvideosrc/

However, if I execute on the cmd :

gst-launch-1.0 ksvideosrc device-name=*device-name* !
video/x-raw,format=GRAY16_LE ! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! autovideosink

it works just fine. Since ksvideosrc works on the command line but not on the code, I am guessing that some kind of include, library ... is missing. I have tried including basically every .dll and library. I used both gstreamer runtime and development installers on complete mode. Any idea on what can it be?

Kind regards,
Raul.





--
Sent from: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&data=04%7C01%7C%7Ca8b27179f76145acceb008d8de6e3996%7C28042244bb514cd680347776fa3703e8%7C1%7C1%7C637503912290502131%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=f0i95EtE1t5tgrqUPHZC0FMhwjDwUR8iPufgOVxk400%3D&reserved=0
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=04%7C01%7C%7Ca8b27179f76145acceb008d8de6e3996%7C28042244bb514cd680347776fa3703e8%7C1%7C1%7C637503912290502131%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xXkxn8ZBe7BbU%2FhXBQJ8KFnO7Up3AsZNBPsZc14dFX0%3D&reserved=0


More information about the gstreamer-devel mailing list