Reputation: 63
I'm new to Gstreamer. I installed Gstreamer and found that "filesrc" element is missing right after the installation (using gst-inspect-1.0
). If I type in gst-inspect-1.0 filesrc
, it returns "No such element or plugin"
My environment:
My original goal is camera capturing by OpenCV+Gstreamer, and my vs2019 project keeps returning "no element v4l2src". I finally found that even "filesrc" is not available, which means I already have problems BEFORE I build OpenCV together with Gstreamer.
I checked this installation guide too but no luck. Are there some additional steps to install the plugins?
Upvotes: 0
Views: 1363
Reputation: 63
Based on this post, I should delete the gstreamer "registry" to force it to kind of re-detect the available functions. This solution is for linux, not Windows 10. But I finally found the absolute path of that registry, fortunately:
C:\Users\{your user name}\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0\registry.x86_64.bin
What I did to get "filesrc" appears in the list and available:
1. Delete the registry file manually
2. Performed a clean re-install
3. Run "gst-inspect-1.0"
Hope my workaround helps someone who gets stuck in the same situation.
Upvotes: 2