Using updatable flags #2692
-
Results in Am I understanding this correctly? Basically I have an encoded animated avif and I want to update (re-adjust) the duration between frames. Can Same question for updating the quality of an avif (e.g: 100% to 50%)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The "updatable options" mean they can be changed for each non-AVIF input frame in the same command line. It does not mean
I usually call that "muxing", meaning editing container-level metadata without decompressing and recompressing codec-level pixels. This is faster and avoids introducing recompression artifacts.
No.
As of today, with the provided libavif tools, yes. It can be done with the following: avifdec in.avif --index all out.png
avifenc --timescale 1 --duration 1 out-* out.avifNote that pixels are recompressed with loss. Use
This needs recompression anyway, so this is fine: avifdec in.avif --index all out.png
avifenc -q 50 out-* out.avifNote that frame durations are lost that way and must be specified, otherwise the default frame rate applies. |
Beta Was this translation helpful? Give feedback.
The "updatable options" mean they can be changed for each non-AVIF input frame in the same command line. It does not mean
avifenccan update these properties in an existing AVIF file.I usually call that "muxing", meaning editing container-level metadata without decompressing and recompressing codec-level pixels. This is faster and avoids introducing recompression artifacts.
I would suggest looking at tools such as
ffmpegfor that (I could not find a working example though).No.
avifencis designed as an AVIF encoding t…