Skip to content

OpenCV 4.12.0 changes the image colors when playing video #97

Description

@lstahlman

Mirrored from upstream: opencv#28280
Original author: @ntxanh · created 2025-12-23T04:34:33Z
Upstream labels: incomplete
Selection: mirrored by mirror-issues.py


System Information

Android OpenCV 4.12.0

Detailed description

After upgrading OpenCV from version 4.1.1 to 4.12.0, we noticed that when playing videos, the image colors appear different compared to the previous version.
Please help us investigate this issue.
Thank you.

Steps to reproduce

//
// C++:  Mat cv::imread(String filename, int flags = IMREAD_COLOR_BGR)
//

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions