ffmpeg: add option readrate

Multimedia / FFmpeg - Gyan Doshi [gyani.pro] - 17 July 2021 15:04 UTC

Allows to read inputs at arbitrary rates.-re is equivalent to -readrate 1

Tested with -copyts {+ start_at_zero}, -ss, streamcopied & decoded streams.

c320b78e95 ffmpeg: add option readrate
doc/ffmpeg.texi | 21 ++++++++++++++-------
fftools/ffmpeg.c | 13 ++++++++++---
fftools/ffmpeg.h | 2 ++
fftools/ffmpeg_opt.c | 16 +++++++++++++++-
4 files changed, 41 insertions(+), 11 deletions(-)

  • Share