Skip to content

AVFoundation on Mac: fixed frame count and unsupported format handling (3.4) - #13685

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
mshabunin:fix-avfoundation-34
Jan 24, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
mshabunin:fix-avfoundation-34

Conversation

@mshabunin

Copy link
Copy Markdown
Contributor

This pullrequest changes

Fixed test failures on Mac:

  • AVFoundation writer supports only "mov", "mp4"/"m4v" and "3gp" formats with H264 and MJPG codecs - enabled these combinations to synthetic read_write test
  • big_buck_bunny.mjpg.avi returned FPS=0, thus frame position calculations were wrong - added proper handling
  • unsupported formats were not handled correctly in some cases: setupReadingAt returned true even if AssetReader returned false

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@opencv-pushbot
opencv-pushbot merged commit 9c4eb20 into opencv:3.4 Jan 24, 2019
@alalek alalek mentioned this pull request Feb 1, 2019
@mshabunin
mshabunin deleted the fix-avfoundation-34 branch February 26, 2019 12:06
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
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.

3 participants