Problem opening FLV file

asked 2017-10-27 17:46:39 -0500

Vict0r gravatar image

Hello. Years ago, I developed some code for processing MKV files. Now I need it to work with FLV files too. However, the same code which works with MKV:

new VideoCapture(file);

fails with FLV:

warning: Could not find codec parameters (../../modules/highgui/src/cap_ffmpeg_impl.hpp:556)

I'm using OpenCV 2.4.13 in VS2017 / Windows 10. FLV file plays OK in VLC and MPC. It contains only video (FSV1 codec) and can be transcoded with ffmpeg without issues.

Thanks.

edit retag flag offensive close merge delete