Opencv-python: Could not find encoder for codec id 27: Encoder not found

Created on 29 May 2019  Â·  5Comments  Â·  Source: opencv/opencv-python

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

Most helpful comment

H264 encoding is not supported because it falls under GPL license. See: https://github.com/skvark/opencv-python/issues/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.

All 5 comments

H264 encoding is not supported because it falls under GPL license. See: https://github.com/skvark/opencv-python/issues/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.

This helps. Thank you.

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?

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lgvaz picture lgvaz  Â·  3Comments

moneer88 picture moneer88  Â·  6Comments

Crescent-Saturn picture Crescent-Saturn  Â·  5Comments

owend picture owend  Â·  7Comments

zoonoo picture zoonoo  Â·  3Comments