Closed asdf2014 closed 5 years ago
I tried ...
sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.10-ffmpeg
But, jvm crashed...
@asdf2014 Hi! Did you solve the problem, I also have the same problem with GWstreamer on CentOS. Thanks!
Hi, @Bahramudin . Sorry, I have no any idea. Already give up...
An old thread, but I hope my update may help someone in future. I've just spend a few days messing around with different builds (from source) for opencv. I was hitting the very same issue and after 10 or 15 builds, I decided to build without gstreamer support. So the option I used was -D WITH_GSTREAMER=OFF to explicitly turn the support for it off. Other support for things like FFMPEG is on by default (I believe). When I disabled gstreamer in this way, I got around this error. Admittedly, you appear to be working in java whereas I was working in python, but the issue presents in the same fashion - same error code, etc. This is how I ended up at this page. I'm not sure if you are actually building opoencv or not either. FYI, For me, this is for opencv 3.4.0 built on Ubuntu 16.04 with CUDA support. I hope this helps someone else as it was a pain in the backside for me for many hours... If someone actually knows how to compile opencv with gstreamer support, I'd love to chat with them about their experiences and how they got to make it work - if you absolutely need gstreamer, then this will only serve as a workaround.
After i run "Install-OpenCV/Ubuntu/2.4/opencv2_4_10.sh", i got follow errors when i run jar using opencv.
input
output
Please help me to slove it...