I want to stream OS agnostic w/ gstreamer:
PC1: Windows webcam
PC2: Ubuntu box
I even cannot display my webcam on PC1 and get this error:
C:\Users\gerri\Desktop>gst-launch-1.0 ksvideosrc device-path="\\\\\?\\display\#int3470\#4\&5178020\&0\&uid13424\#\{6994ad05-93ef-11d0-a3cc-00a0c9223196\}\\\{c9eab5b4-784a-47a2-b783-24ba0fa1f9a9\}" ! image/jpeg, width=640, height=480 ! jpegdec ! videoscale ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
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)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Thanks @user.dz for the setup in answer to this post, not the accepted answer:
gst-device-monitor-1.0.exe Video/Source
.Try these if they works for you:gst-launch-1.0.exe ksvideosrc ! videoconvert ! autovideosink
andgst-launch-1.0.exe ksvideosrc ! image/jpeg ! jpegdec ! autovideosink
. For streaming, I still struggling to find a working gst pipeline configuration with many old doc over the internet.failed to start device monitor