[FFmpeg-user] Keep vfr and original pts

Gyan Doshi ffmpeg at gyani.pro
Sat Jan 23 21:37:58 EET 2021



On 23-01-2021 11:52 pm, Carl Eugen Hoyos wrote:
> Am Sa., 23. Jan. 2021 um 19:19 Uhr schrieb Wolfgang Hugemann <auto at hugemann.de>:
>> I have a vfr mp4 video from a private security cam with a very specific
>> pts pattern. The duration of the frames is
>> 80-80-40-80-80-40-80-80-40-... ms.
>>
>> I would like to hand this video to others as a demonstration of vfr
>> video, but have to blur it in order to preserve privacy.
>>
>> I tried something like
>>
>> ffmpeg -i in.mp4 -vf boxblur=10:1 -vsync 2 -copyts blur.mp4
> FFmpeg's mov muxer does not support vfr, use another container.

Yes, it does.  Citation for your claim?

Use -vsync 0. No addiitional frames should be added.

Regards,
Gyan


More information about the ffmpeg-user mailing list