Closed vedard closed 6 years ago
That's because recent gstreamer switched from directsoundsink to wasapisink by default, but the later has still problems. This might work: gst-play-1.0.exe --audiosink directsoundsink
The opencv element is likely erroring out because opencv isn't installed, but unless you need it you can ignore the error.
The problem here is that gst-plugins-bad
not rebuilded after opencv
updated
Seems gst plugin for opencv need to be fixed for opencv-3.4.2:
../../../gst-plugins-bad-1.14.2/ext/opencv/gsthanddetect.cpp:497:40: error: 'CV_RGB' was not declared in this scope
cvCircle (img, center, radius, CV_RGB (0, 0, 200), 1, 8, 0);
^~~~~~
../../../gst-plugins-bad-1.14.2/ext/opencv/gsthanddetect.cpp:497:40: note: suggested alternative: 'CV_C'
cvCircle (img, center, radius, CV_RGB (0, 0, 200), 1, 8, 0);
^~~~~~
CV_C
../../../gst-plugins-bad-1.14.2/ext/opencv/gsthanddetect.cpp:603:42: error: 'CV_RGB' was not declared in this scope
cvCircle (img, center, radius, CV_RGB (0, 0, 200), 1, 8, 0);
^~~~~~
../../../gst-plugins-bad-1.14.2/ext/opencv/gsthanddetect.cpp:603:42: note: suggested alternative: 'CV_C'
cvCircle (img, center, radius, CV_RGB (0, 0, 200), 1, 8, 0);
^~~~~~
CV_C
../../../gst-plugins-bad-1.14.2/ext/opencv/gsttemplatematch.cpp: In function 'GstFlowReturn gst_template_match_transform_ip(GstOpencvVideoFilter*, GstBuffer*, IplImage*)':
../../../gst-plugins-bad-1.14.2/ext/opencv/gsttemplatematch.cpp:376:17: error: 'CV_RGB' was not declared in this scope
color = CV_RGB (255, 255 - pow (255, best_res), 32);
^~~~~~
../../../gst-plugins-bad-1.14.2/ext/opencv/gsttemplatematch.cpp:376:17: note: suggested alternative: 'CV_C'
color = CV_RGB (255, 255 - pow (255, best_res), 32);
^~~~~~
CV_C
../../../gst-plugins-bad-1.14.2/ext/opencv/gsttemplatematch.cpp:378:17: error: 'CV_RGB' was not declared in this scope
color = CV_RGB (255, 32, 32);
^~~~~~
../../../gst-plugins-bad-1.14.2/ext/opencv/gsttemplatematch.cpp:378:17: note: suggested alternative: 'CV_C'
color = CV_RGB (255, 32, 32);
^~~~~~
CV_C
@lazka thanks for link
The directsoundsink fix my problem. Thanks you!
Hi, i'm having a problem while playing an audio file with gstreamer in a music player that i've made. The sound is really distorted. I can reproduce this with gst-play:
The 'C:\msys64\mingw32\lib\gstreamer-1.0\libgstopencv.dll' exists
Here is the related package i have installed: