mbox series

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

Message ID 20230127142931.35061-1-jeebjp@gmail.com
Headers show
Series ffmpeg: add video heartbeat capability to fix_sub_duration | expand

Message

Jan Ekström Jan. 27, 2023, 2:29 p.m. UTC
Changes from v6:
 - Rebased on top of current master
 - Changed the option to only affect InputStreams that are mapped to the same
   output as a heartbeat stream as per Anton's review.

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                               |  16 ++
 fftools/ffmpeg.c                              | 201 ++++++++++++++++--
 fftools/ffmpeg.h                              |   8 +
 fftools/ffmpeg_mux_init.c                     |   4 +
 fftools/ffmpeg_opt.c                          |   5 +
 tests/fate/ffmpeg.mak                         |  15 ++
 .../fate/ffmpeg-fix_sub_duration_heartbeat    |  48 +++++
 7 files changed, 274 insertions(+), 23 deletions(-)
 create mode 100644 tests/ref/fate/ffmpeg-fix_sub_duration_heartbeat

Comments

Jan Ekström Feb. 3, 2023, 3:44 p.m. UTC | #1
On Fri, Jan 27, 2023 at 4:29 PM Jan Ekström <jeebjp@gmail.com> wrote:
>
> Changes from v6:
>  - Rebased on top of current master
>  - Changed the option to only affect InputStreams that are mapped to the same
>    output as a heartbeat stream as per Anton's review.
>
> 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
>

Thanks for all the people who commented/reviewed various versions of
this set on ML and IRC.

Rebased, added an entry to Changelog and applied as:
- fcc50674ded2d70b44be32be0331c7d925aa53dc
- 746d27455b00f6baca2a1e4ab206cd40bf187598
- 9a820ec8b1e2323b70a1cebd204bf459bf7daa1a

Jan