[FFmpeg-devel] [PATCH 0/5] avfilter: Add fsync filter

Thilo Borgmann thilo.borgmann at mail.de
Mon Dec 11 17:07:20 EET 2023


Synchronize video frames with an external mapping from a file.
Follows up on the idea in https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305986.html
implemented as a filter.

Not storing the frame map in a probably huge string but buffering
piece-wise.

Thilo Borgmann (5):
  fftools/ffmpeg: split loop for parsing and validation of -stats_*
    specifiers
  fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils
  reindent after last commit
  avfilter: Add fsync filter
  fate: Add fsync filter tests

 Changelog                        |   1 +
 doc/filters.texi                 |  52 +++++
 fftools/ffmpeg.h                 |  33 +--
 fftools/ffmpeg_enc.c             |   3 +-
 fftools/ffmpeg_mux_init.c        | 152 ++-----------
 libavfilter/Makefile             |   1 +
 libavfilter/allfilters.c         |   1 +
 libavfilter/vf_fsync.c           | 376 +++++++++++++++++++++++++++++++
 libavformat/version.h            |   2 +-
 libavutil/parseutils.c           | 176 +++++++++++++++
 libavutil/parseutils.h           | 102 +++++++++
 libavutil/version.h              |   2 +-
 tests/Makefile                   |   6 +-
 tests/fate/filter-video.mak      |   8 +
 tests/filtergraphs/fsync-down    |   2 +
 tests/filtergraphs/fsync-up      |   2 +
 tests/maps/fsync-down            |   7 +
 tests/maps/fsync-up              |  57 +++++
 tests/ref/fate/filter-fsync-down |  12 +
 tests/ref/fate/filter-fsync-up   |  62 +++++
 20 files changed, 891 insertions(+), 166 deletions(-)
 create mode 100644 libavfilter/vf_fsync.c
 create mode 100644 tests/filtergraphs/fsync-down
 create mode 100644 tests/filtergraphs/fsync-up
 create mode 100644 tests/maps/fsync-down
 create mode 100644 tests/maps/fsync-up
 create mode 100644 tests/ref/fate/filter-fsync-down
 create mode 100644 tests/ref/fate/filter-fsync-up

-- 
2.37.1 (Apple Git-137.1)



More information about the ffmpeg-devel mailing list