diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-02-06 13:14:53 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-02-09 15:24:15 +0100 |
commit | 42a0dd6e7e3bc343d65a5499bd1373ad15160ab7 (patch) | |
tree | 8ee8b198e6cce3828dad6fe5334fd8bc22e72575 /fftools/ffmpeg_mux.h | |
parent | 6d4f3ae116eaa6552434c9c73eb8d84f7be07c91 (diff) |
fftools/ffmpeg: add an option for writing pre-muxing stats
Analogous to -enc_stats*, but happens right before muxing. Useful
because bitstream filters and the sync queue can modify packets after
encoding and before muxing. Also has access to the muxing timebase.
Diffstat (limited to 'fftools/ffmpeg_mux.h')
-rw-r--r-- | fftools/ffmpeg_mux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg_mux.h b/fftools/ffmpeg_mux.h index 1487d86ae1..c76dc2e524 100644 --- a/fftools/ffmpeg_mux.h +++ b/fftools/ffmpeg_mux.h @@ -45,6 +45,8 @@ typedef struct MuxStream { AVBSFContext *bsf_ctx; + EncStats stats; + int64_t max_frames; /* |