diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-09 14:25:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-08-10 11:47:29 +0200 |
commit | 65001aa93e8393c31c417b45761a318bc8cdd6ef (patch) | |
tree | 4b283b1f7b76eb79394541d5154e914474ea3108 /fftools/ffmpeg.h | |
parent | d931554f668186729bf290ed9afa6e9a4417328b (diff) |
fftools/ffmpeg: add a live mux modelive
Track the wallclock time at which each input packet is demuxed and
propagate it through decoding and encoding.
When the live mux option is used, drop all packets demuxed before the
muxer is opened. This is intended to avoid latency when opening the
muxer takes a long time.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 2ac7cbe522..3a7527aee9 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -163,6 +163,7 @@ typedef struct OptionsContext { float shortest_buf_duration; int shortest; int bitexact; + int live; int video_disable; int audio_disable; @@ -610,6 +611,7 @@ typedef struct OutputFile { int shortest; int bitexact; + int live; } OutputFile; extern InputStream **input_streams; |