![]() root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:486:52: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1050) root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:486:5: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1050) ![]() ![]() root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::reopen()’: In file included from /root/Downloads/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg.cpp:45:0: Int flags = AVSEEK_FLAG_FRAME | AVSEEK_FLAG_BACKWARD Īv_seek_frame(ic, video_stream, ts, flags) īut when I make it with follow some errors: Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o +and comment: err = av_seek_frame(ic, video_stream, 10, 0) Int err = av_open_input_file(&ic, _filename, iformat, 0, NULL) +by AVInputFormat* iformat = av_find_input_format("mjpeg") +replace: int err = av_open_input_file(&ic, _filename, NULL, 0, NULL) In the function bool CvCapture_FFMPEG::open( const char* _filename ) In the file OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp I have just downloaded Opencv-2.3.1 and edit it. I have an Android phone.I want to stream video from it by IPwebcam.It's an app for Android to stream video.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |