gstreamer - ksvideosrc becomes videotestst in Python program -


i'm trying use ksvideosrc test simple video playing program using gstreamer , python. can use command line in windows set simple pipeline play webcam

gst-launch-1.0 ksvideosrc ! autovideosink 

this works fine. python program can connect videotestsrc element , display in gui window, when try same thing ksvideosrc, still videotestsrc video.

i tried program listed in

list device-names available video capture ksvideosrc in gstreamer 1.0

the program runs, exits device_index=1, doesn't find any.

why gst.elementfactory.make('ksvideosrc') give me videotestsrc element?

thanks help.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -