I have been searching the internet for days, for what are all the options of the tiff converter in ffmpeg.
I keep finding hints at what's possible, but no documentation. So like this stackoverflow post, they say you can change the algorithm with '-compression_algo'. Sure wish I could find where they learned that. I found this .h file that defines the enum for what algorithms options exist:
I got lzw and deflate to work, but couldn't get ccitt rle to work.Code:list of TIFF compression types Enumerator: TIFF_RAW TIFF_CCITT_RLE TIFF_G3 TIFF_G4 TIFF_LZW TIFF_JPEG TIFF_NEWJPEG TIFF_ADOBE_DEFLATE TIFF_PACKBITS TIFF_DEFLATE
Does anyone know where the documentation for this is, or if it even exists?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
FFmpeg does not necessarily offer all compression types for each encoder or format. Even if it's listed in the source, they are not necessarily enabled or compiled in that binary
To see what is supported by your binary, use ffmpeg -h encoder=tiff
Code:Encoder tiff [TIFF image]: General capabilities: dr1 threads Threading capabilities: frame Supported pixel formats: rgb24 rgb48le pal8 rgba rgba64le gray ya8 gray16le ya16le monob monow yuv420p yuv422p yuv440p yuv444p yuv410p yuv411p TIFF encoder AVOptions: -dpi <int> E..V....... set the image resolution (in dpi) (from 1 to 65536) (default 72) -compression_algo <int> E..V....... (from 1 to 32946) (default packbits) packbits 32773 E..V....... raw 1 E..V....... lzw 5 E..V....... deflate 32946 E..V.......
-
That does help. So what I need to do in the future is remember my linux training, and look to the built-in documentation instead of the internet.
Similar Threads
-
ffmpeg convert jpeg to tiff
By oduodui in forum Video ConversionReplies: 3Last Post: 26th Nov 2022, 13:33 -
ffmpeg: What are the most compatible encoding options?
By Rekrul in forum Video ConversionReplies: 10Last Post: 1st Sep 2022, 06:07 -
Batch Script for FFMPEG TIFF Conversion
By Jolly Green in forum ProgrammingReplies: 5Last Post: 30th Sep 2020, 14:11 -
Color options for ffmpeg burning subtitles?
By tomasrage in forum SubtitleReplies: 1Last Post: 11th Apr 2020, 07:32 -
What are the max options for Turing NVENC HEVC in FFMPEG?
By Cumberiron in forum Video ConversionReplies: 0Last Post: 28th May 2019, 01:25