Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoWriter fallback when using H264 #937

Closed
Gartarr opened this issue May 20, 2024 · 0 comments
Closed

VideoWriter fallback when using H264 #937

Gartarr opened this issue May 20, 2024 · 0 comments

Comments

@Gartarr
Copy link

Gartarr commented May 20, 2024

Hello. I get following error when using VideoWriter with FourCC: H264:
OpenCV: FFMPEG: tag 0x34363248/'H264' is not supported with codec id 27 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x31637661/'avc1'

_videoWriter = new VideoWriter(Path.Combine("CreatedFiles", _fileName), backend_idx,
    VideoWriter.Fourcc('H', '2', '6', '4'), 30, HD_IMAGE_SIZE, true);

Where backend_idx corresponds to FFMPEG

@Gartarr Gartarr changed the title Including openh264 VideoWriter fallback when using H264 May 20, 2024
@Gartarr Gartarr closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant