Opened 2 weeks ago

Last modified 2 weeks ago

#7292 new enhancement

Implement Feature: Stretch Subtitles Timing by Factor

Reported by: MattMcManis Owned by:
Priority: wish Component: avfilter
Version: git-master Keywords: sub
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm looking to have a feature added, Stretch Subtitles by a factor [0.5, 100.0] range, like how atempo or rubberband works.

https://ffmpeg.org/ffmpeg-filters.html#atempo
https://ffmpeg.org/ffmpeg-filters.html#toc-rubberband

Example: Something like -substretch 3.0 (speed up 300%), -substretch 0.5 (slow down 50%).
Or as a filter -vf "subtitles=stretch=3.0".

The program MKVToolNix is able to do this under the "Timestamps and default duration" section.

This would be different that itsoffset, which does not stretch, but shifts.

Change History (1)

comment:1 Changed 2 weeks ago by cehoyos

  • Component changed from ffmpeg to avfilter
  • Keywords sub added; subtitle subtitles stretch timing time removed
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.