1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/fftools
Danny Wu 68595b46cb fftools/ffmpeg: Restore DTS correction for VP9 copies
Fixes ticket 9086.

Since early 2021, some of YouTube's VP9 encodes have non-monotonous DTS.
This makes ffmpeg fatally fail when trying to copy or encode the V9 video.

ffmpeg already includes functionality to correct this, however it was
disabled without explanation for VP9 stream copies in
2e6636aa87

This patch restores the DTS correction logic, and allows ffmpeg to correctly
encode (invalid) videos produced by youtube.com. I have verified that frames
are NOT being cut (so it does not re-introduce 4313).

Reviwed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2022-02-13 10:46:47 -03:00
..
cmdutils.c fftools/cmdutils: Fix undefined 1 << 31 2022-01-11 00:20:35 +01:00
cmdutils.h fftools/cmdutils: Avoid crash when opts could not be allocated 2021-12-16 11:56:00 +01:00
ffmpeg_filter.c ffmpeg: switch to new FIFO API 2022-02-07 00:31:23 +01:00
ffmpeg_hw.c ffmpeg_hw: make hardware selection for filters more user friendly 2021-09-12 13:33:50 -03:00
ffmpeg_opt.c ffmpeg: switch to new FIFO API 2022-02-07 00:31:23 +01:00
ffmpeg.c fftools/ffmpeg: Restore DTS correction for VP9 copies 2022-02-13 10:46:47 -03:00
ffmpeg.h ffmpeg: switch to new FIFO API 2022-02-07 00:31:23 +01:00
ffplay.c ffplay: switch to new FIFO API 2022-02-07 00:31:23 +01:00
ffprobe.c ffprobe: allow side-data selection by element 2022-02-03 16:04:24 +05:30
Makefile ffmpeg: remove ffmpeg_videotoolbox 2021-11-28 16:40:43 -06:00