Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem opening FLV file

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.

Problem opening FLV file

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.