Skip to content

Status of support for non-FFMPEG OpenCV backends? #43

Closed
@musicinmybrain

Description

@musicinmybrain

I noticed “Enforced FFMPEG backend.” in the release notes for 6.2.2.

In Fedora Linux, we historically don’t have an ffmpeg package due to patent issues. Some users install it from RPM Fusion, but packages in the base distribution can’t rely on it. A stripped-down version was recently added to the distribution as ffmpeg-free, but there are no plans to try to build OpenCV with it.

Thus, Fedora fasttrack package users will typically be using the GSTREAMER backend.


With 6.2.2 and 6.2.3, I find that, in the headless build environment, I encounter three test failures:

[  FAILED  ] VideoReaderTest.UMatVideo
[  FAILED  ] VideoReaderTest.MatVideo
[  FAILED  ] VideoReaderTest.CountVideo

VideoReaderTest.log

With a “local” build on my workstation with hardware direct rendering support, I get two test failures:

[  FAILED  ] VideoReaderTest.UMatVideo
[  FAILED  ] VideoReaderTest.MatVideo

and the details are different: VideoReaderTest-local.log

All of these tests are new in 6.2.2, of course.

If I ignore or skip failing tests, and try opening the included test.avi with the resulting FastTrack build, it seems like basic functionality works. (There are probably some things I don’t know enough to look for.)


I guess what I’m trying to understand before putting more effort into understanding, skipping, and/or fixing these tests is whether ffmpeg support in OpenCV is intended be seen as a hard requirement for FastTrack going forward? If so, that’s very understandable, but would probably mean the base Fedora Linux distribution is not the right place for FastTrack.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions