#9439 closed defect (fixed)
videotoolbox DTS is invalid
Reported by: | Paul Pacifico | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avcodec |
Version: | git-master | Keywords: | videotoolbox |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
videotoolbox is not working with the latest git version.
Tested on a Mac M1, h264_videotoolbox and hevc_videotoolbox both show DTS is invalid
How to reproduce:
% ffmpeg -f lavfi -i nullsrc -t 1 -c:v hevc_videotoolbox -s 640x360 -f null -
Using ffmpeg version N-103813-g970264a74f
built on Mac OS Big Sur 11.5.2 with clang 12.0.5
Change History (4)
comment:1 by , 3 years ago
- not limited to M1 Macs, fails on Intel too
- caused by broken assignment to 'vtctx->has_b_frames' in 'vtenc_init' in 'libavcodec/videotoolboxenc.c' in line 1519
- patch with fix submitted to ffmpeg-devel mailing list on 2021/09/26 with subject '[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: Fixes non-B-Frame encoding'
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 2 years ago
Component: | undetermined → avcodec |
---|---|
Priority: | critical → important |
Note:
See TracTickets
for help on using tickets.