Changes between Initial Version and Version 1 of Ticket #960, comment 5
- 02/01/2012 06:48:31 PM (16 months ago)
initial v1 3 3 The only way to (maybe) fix this *with ffmpeg* is to re-encode the video, which will generate new timestamps as a side-effect. Even then, you may discover that audio sync gets more and more wrong as you play the file (I didn't check). For example: 4 4 5 ./ffmpeg -vsync 0 -i sample-non-monotonic-dts_cut.ts -vcodec mpeg2video -b 5000000 -acodec copy out.ts 5 ./ffmpeg -vsync 0 -i sample-non-monotonic-dts_cut.ts -vcodec mpeg2video -b 5000000 -acodec copy out.ts 6 6 7 7 You need the '-vsync 0' option because the input video has field pictures, not frame pictures, and ffmpeg gets the input frame rate wrong. This bug has existed forever.