You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
the compilation fails on Ubuntu 12.04 with this error:
src/movid.cpp: In function 'void web_pipeline_stream_trickle(int, short int, void_)':
src/movid.cpp:271:42: error: invalid initialization of reference of type 'cv::InputArray {aka const cv::InputArray&}' from expression of type 'IplImage {aka _IplImage*}'
/usr/include/opencv2/highgui/highgui.hpp:137:19: error: in passing argument 2 of 'bool cv::imencode(const string&, cv::InputArray, std::vector&, const std::vector&)'
Hi Giladx. I committed the diff and created a pull request. Until the request gets approved, you can trying using my fork at https://github.com/donpdonp/Movid
Hello,
the compilation fails on Ubuntu 12.04 with this error:
src/movid.cpp: In function 'void web_pipeline_stream_trickle(int, short int, void_)':
src/movid.cpp:271:42: error: invalid initialization of reference of type 'cv::InputArray {aka const cv::InputArray&}' from expression of type 'IplImage {aka _IplImage*}'
/usr/include/opencv2/highgui/highgui.hpp:137:19: error: in passing argument 2 of 'bool cv::imencode(const string&, cv::InputArray, std::vector&, const std::vector&)'
Seems the signature of the imencode function has changed.
It now requires an Input Array as second parameter:
http://opencv.itseez.com/modules/highgui/doc/reading_and_writing_images_and_video.html#imencode
The text was updated successfully, but these errors were encountered: