• Danny Wu's avatar
    fftools/ffmpeg: Restore DTS correction for VP9 copies · 68595b46
    Danny Wu authored
    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
    2e6636aa
    
    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: 's avatarRonald S. Bultje <rsbultje@gmail.com>
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    68595b46
Name
Last commit
Last update
..
Makefile Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
ffmpeg.c Loading commit data...
ffmpeg.h Loading commit data...
ffmpeg_filter.c Loading commit data...
ffmpeg_hw.c Loading commit data...
ffmpeg_opt.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...