Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alexlyulkov
Copy link
Contributor

Added potential fix for Android H264 / H265 Encoding Bug #23570 that was proposed in the issue comments.
I can't reproduce the issue because on my Android phone both the old and the new versions works fine.
To test the changed code you need to build the sdk and run Video-recorder Android sample. Make sure that the application uses mediandk and doesn't print "Can't record H264. Switching to MJPG" to the logcat.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov
Copy link
Contributor

I was able to reproduce the original issue with Xiaomi mi10. The fix works!

@asmorkalov asmorkalov self-assigned this Jun 6, 2024
@asmorkalov asmorkalov added this to the 4.11.0 milestone Jun 6, 2024
@asmorkalov asmorkalov merged commit a5d9c29 into opencv:4.x Jun 6, 2024
@mshabunin mshabunin mentioned this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants