agarciadom / ipwebcam-gst

Simple shell script for using IP Webcam as a V4L2 webcam / sound source
http://xmleye.wordpress.com
616 stars 154 forks source link

WARNING: erroneous pipeline: no element "souphttpsrc" #109

Closed laxris closed 3 years ago

laxris commented 3 years ago

I'm on Ubuntu 20.04. I installed gstreamer via apt (I also tried via snap) and essentially all packages with plugins. Now I have

$ gst-launch-1.0 --version gst-launch-1.0 version 1.14.0 GStreamer 1.14.0 Unknown package origin

when I run ./run-videochat.sh -i 192.168.1.186 -p 8080 -v -w 1920 -h 1080 -d /dev/video4

I don't receive an error message, but it's clearly not working. Igf I look at the script, it runs the following gstreamer command:

gst-launch-1.0 -vt souphttpsrc location=http://192.168.1.186:8080/videofeed do-timestamp=true is-live=true ! queue ! multipartdemux ! decodebin ! videoconvert ! videoscale ! video/x-raw,format=YUY2,width=1920,height=1080 ! v4l2sink device=/dev/video4 sync=true

which fails with

WARNING: erroneous pipeline: no element "souphttpsrc"

Any ideas what's going wrong here?

laxris commented 3 years ago

Turns out

$ which gst-launch-1.0 /home/chris/anaconda3/bin/gst-launch-1.0

which didn't have any plugins installed.

After a quick

$ sudo rmmod -f v4l2loopback $ sudo modprobe v4l2loopback

seems to have fixed most of the issues.