ffmpeg-python
ffmpeg-python copied to clipboard
HAP encoding incompatiblity
Hi, the hap codec widely used in real-time video applications use a switch named "format" for selecting the codec type and cause an incompatibility with the "format" option used by ffmpeg-python
ffmpeg -h encoder=hap:
Hap encoder AVOptions:
-format <int> E..V....... (from 11 to 15) (default hap)
hap 11 E..V....... Hap 1 (DXT1 textures)
hap_alpha 14 E..V....... Hap Alpha (DXT5 textures)
hap_q 15 E..V....... Hap Q (DXT5-YCoCg textures)
-chunks <int> E..V....... chunk count (from 1 to 64) (default 1)
-compressor <int> E..V....... second-stage compressor (from 160 to 176) (default snappy)
none 160 E..V....... None
snappy 176 E..V....... Snappy
that's raising an error:
[AVFormatContext @ 000002cabb250880] Requested output format 'hap_q' is not known.
how to make it work without modifing ffmpeg-python ?