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
Could not find encoder for codec id 27: Encoder not found #207
Comments
H264 encoding is not supported because it falls under GPL license. See: #100 You must build OpenCV yourself and link it with system FFmpeg. About licensing: If I ship GPL'ed components with |
This helps. Thank you. |
But how can I do? |
Follow the manual build instructions in the readme: https://github.com/opencv/opencv-python#manual-builds |
Thank you! I will try.
…---Original---
From: "Olli-Pekka ***@***.***>
Date: Wed, Mar 31, 2021 15:56 PM
To: ***@***.***>;
Cc: "Lin ***@***.******@***.***>;
Subject: Re: [opencv/opencv-python] Could not find encoder for codec id 27: Encoder not found (#207)
H264 encoding is not supported because it falls under GPL license. See: #100
You must build OpenCV yourself and link it with system FFmpeg.
About licensing:
If I ship GPL'ed components with opencv-python I would have to re-license the whole package under GPL license and any package using opencv-python, respectively, would have to be licensed under GPL. This would also mean that this package or any package which uses opencv-python could not be used for commercial purposes / proprietary applications unless you are willing to publish your software source code.
But how can I do?
Follow the manual build instructions in the readme: https://github.com/opencv/opencv-python#manual-builds
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
If you are using conda, uninstalling OpenCV through |
Thank you so much you saved my day! This IS the SOLUTION! |
OpenCV: FFMPEG: tag 0x34363258/'X264' is not supported with codec id 27 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x31637661/'avc1'
Could not find encoder for codec id 27: Encoder not found
The text was updated successfully, but these errors were encountered: