Comments (7)
That's correct, the PNG FourCC codec is not supported in OpenCV 3.4.16. The FourCC code is a four-byte code that is used to identify the video codec. Although the PNG format is supported by OpenCV, it does not have a corresponding FourCC code in OpenCV 3.4.16.
However, this issue has been resolved in later versions of OpenCV, including OpenCV 4.0 and higher. In these versions, the PNG FourCC codec is supported and can be used for video encoding and decoding.
If you need to use the PNG FourCC codec in your project, you may want to consider upgrading to a later version of OpenCV.
from infinite-storage-glitch.
from infinite-storage-glitch.
output message when
Embed
Could not find encoder for codec id 62: Encoder not found Video embedded succesfully at output.avi Etching video ended in 4247ms
It seems that you are working with a video encoding/decoding software or library and encountered an error message "Could not find encoder for codec id 62: Encoder not found". This error message typically indicates that the encoder for a specific video codec is missing or not properly installed in your system.
Codec id 62 refers to the H.264/MPEG-4 AVC codec, which is a widely used video codec for high-quality video compression. To resolve this error, you may need to install the H.264/MPEG-4 AVC encoder in your system. Here are some steps you can try:
Check if the encoder is installed: Verify that the H.264/MPEG-4 AVC encoder is installed in your system. You can search for the encoder in your system's software repositories or check if it is included in your video encoding/decoding library.
Install the encoder: If the encoder is not installed, you can install it manually. The installation process may vary depending on your operating system and software. You can search for installation instructions online or refer to the documentation of your video encoding/decoding library.
Update the library: If you have recently updated your video encoding/decoding library, make sure that the library is compatible with the installed encoder. You may need to update the library or install a compatible version of the encoder.
Once you have installed or updated the H.264/MPEG-4 AVC encoder, try running your software or library again and check if the error message is resolved.
Author
from infinite-storage-glitch.
how to use ffmpeg H.264/MPEG-4 AVC encoder in this app?
╰─❯ ffmpeg -v quiet -encoders | rg 264
V....D libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)
V....D libx264rgb libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)
V....D h264_amf AMD AMF H.264 Encoder (codec h264)
V....D h264_mf H264 via MediaFoundation (codec h264)
V....D h264_nvenc NVIDIA NVENC H.264 encoder (codec h264)
V..... h264_qsv H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration) (codec h264)
from infinite-storage-glitch.
To use the H.264/MPEG-4 AVC encoder in your application using FFmpeg, you can use the libx264 encoder that is available in FFmpeg. Here are the steps to use it:
Install FFmpeg: If you haven't already, you will need to install FFmpeg on your system.
Input video: You will need to have a video that you want to encode in H.264 format. Make sure that FFmpeg is able to read the video format.
Encode the video: Once you have the video, you can use the following command to encode it using the libx264 encoder:
ffmpeg -i input_video.mp4 -c:v libx264 -crf 23 -preset fast output_video.mp4
Here, -i input_video.mp4 specifies the input video file, -c:v libx264 specifies the video codec to use, -crf 23 specifies the quality level (lower is better quality but larger file size), and -preset fast specifies the encoding speed.
Output video: Once the video is encoded, you will have an output file output_video.mp4 in H.264 format that you can use in your application.
Note: The -crf option controls the quality of the output video. A lower value will result in a higher quality output but a larger file size. You can experiment with different values to find the one that works best for your needs. The -preset option controls the encoding speed. The faster the encoding, the lower the quality of the output video. Again, you can experiment with different values to find the one that works best for your needs.
from infinite-storage-glitch.
I don't think it's the problem caused by H264.
Because it works after I add openh264.dll and modify fourcc from png to h264.
from infinite-storage-glitch.
@AbdelAzizMohamedMousa I guess fourcc png is not supported in opencv 3.4.16 ?
from infinite-storage-glitch.
Related Issues (20)
- Decrease the filesize by using RGB?
- Add detection resistance
- Unable to build the docker image HOT 1
- Windows docker requires "%cd%" instead of ${PWD} HOT 6
- Text file busy (os error 26) when trying to download a video HOT 8
- Text file busy (os error 26) on Docker when downloading file. HOT 2
- [Feature] FUSE Drivers / Kubernetes Usage
- Source Built Binaries OS error on wsl HOT 2
- IOT instruction (core dumped) HOT 1
- Multithread Support HOT 3
- Error failed to run custom build command for `openssl-sys v0.9.80` HOT 1
- how works Dislodge, I can not understand it HOT 2
- memory allocation of x bytes failed HOT 2
- attempt to divide by zero exception
- ./isg_4real: error while loading shared libraries: libopencv_barcode.so.4.5d: cannot open shared object file: No such file or directory HOT 3
- Docker version of ISG Download video error HOT 2
- QR video codec (QRVC) back in 2018
- Who is the release
- [Win10 64bit] OpenCV exception: CAP_IMAGES: can't find starting number
- Auto detection of the file name and extension would be helpful HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinite-storage-glitch.