Hi, can you give me the correct ffmpeg arg for this:ffmpeg -i %04d.exr -pixfmt…
- User
Hi, can you give me the correct ffmpeg arg for this:ffmpeg -i %04d.exr -pix_fmt gbrapf32le -c:v exr -compression_level 6 -compression_level dwaa %04d.exr --the error is [exr @ 0x6dba8c0] [Eval @ 0x7ffedb719280] Undefined constant or missing '(' in 'dwaa' [exr @ 0x6dba8c0] Unable to parse option value "dwaa" [exr @ 0x6dba8c0] Error setting option compression_level to value dwaa.
- Assistant
It looks like you are trying to set the compression type to "dwaa", but you've mistakenly used the
-compression_leveloption instead of the-compressionoption. The-compression_leveloption expects a numeric value, whereas the-compressionoption allows for different compression algorithms like "dwaa".Here's the corrected
ffmpegcommand:ffmpeg -i %04d.exr -pix_fmt gbrapf32le -c:v exr -compression dwaa %04d.exrThis command specifies that the input is a sequence of EXR files (
%04d.exr), sets the pixel format togbrapf32le, uses theexrcodec, and sets the compression method todwaafor the output EXR files. - User
Show me the latest ffmpeg 7 version for encoding to -c:v exr -compression dwaa %04d.exr
- Assistant
As of my latest update in October 2023, FFmpeg 7 has not been officially released. However, FFmpeg has been continually developing and releasing new versions, but the latest stable version might not necessarily be version 7. It's best to check the official FFmpeg website or their GitHub repository for the most up-to-date version and release notes.
If you're looking to compile and use the latest FFmpeg from the source, you can follow these steps:
-
Download the source code: You can clone the FFmpeg repository from GitHub.
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg cd ffmpeg -
Compile FFmpeg: Configure and compile FFmpeg with the necessary libraries. Ensure you have all the required dependencies installed.
./configure make sudo make install
-