[FFmpeg-devel] [PATCH v6 0/3] ffmpeg: add video heartbeat capability to fix_sub_duration

Jan Ekström jeebjp at gmail.com
Mon Dec 19 09:34:05 EET 2022


Changes from v5:
 - Rebased things on top of current master (option related code moved to
   ffmpeg_mux_init etc).
 - Added notes in the documentation regarding drawbacks of this option and
   that it should not be utilized in cases where latency of when the subtitle
   event is passed on to output is not relevant.

Jan Ekström (3):
  ffmpeg: refactor post-decoding steps for subtitles into a function
  ffmpeg: move decoded frame counter from after post-processing to
    decode
  ffmpeg: add video heartbeat capability to fix_sub_duration

 doc/ffmpeg.texi                               |  14 ++
 fftools/ffmpeg.c                              | 194 +++++++++++++++---
 fftools/ffmpeg.h                              |   8 +
 fftools/ffmpeg_mux_init.c                     |   4 +
 fftools/ffmpeg_opt.c                          |   5 +
 tests/fate/ffmpeg.mak                         |  14 ++
 .../fate/ffmpeg-fix_sub_duration_heartbeat    |  48 +++++
 7 files changed, 264 insertions(+), 23 deletions(-)
 create mode 100644 tests/ref/fate/ffmpeg-fix_sub_duration_heartbeat

-- 
2.38.1



More information about the ffmpeg-devel mailing list