[FFmpeg-devel] [PATCH] libavfilter/af_atempo: offset output frames' pts by first_frame_pts / tempo

Gyan ffmpeg at gyani.pro
Thu Jan 24 17:01:15 EET 2019

On 24-01-2019 08:18 PM, PaweĊ‚ Wegner wrote:
> This fixes seeking when I have video playback sped up in ffplay like this:
> ffplay -vf "setpts=0.5 * PTS" -af "atempo=2" input

The better way to run this is

     ffplay -vf "setpts=0.5 * (PTS - STARTPTS)" -af "atempo=2" input


More information about the ffmpeg-devel mailing list