Am using Ubuntu(14.04) and I am getting this error while trying to use gstreamer.
gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000
I have checked the gst-inspect-1.0 v4l2src
It say element not found "No such element or plugin 'v4l2src'"
What should I do ? From where can I get this element or plugin. I have tried resinstalling entire gstreamer. But am unable to do so.
the
v4l2src
plugin belongs to thegstreamer-plugins-good
package; soshould help you out
Gstreamer packages most of its plugins in separate packages; you have
and more. They are pluggable; so just updating gstreamer won't auto-select gst-plugins-good for you...
Does
list any blacklisted plugins? If not check the the pluging pysically exists:
There should be one under e.g.
or
Then remove the registry cache again and run
Search the log for v4l2 and check if gstreamer reports a reason why it won't load the plugin.
I'm using a gstreamer-1.0 on Raspberry and I was having the same issue. As I was running out of options I've tried to install also the 0.10 plugins and unexpectedly it works.
my 2 cent ^_^
EDIT: Well, actually it doen't work yet, but at least it's giving me a different error :)
EDIT 2: It was a syntax error, It actually works for me :)