Opened 14 months ago
Closed 9 months ago
#10621 closed defect (fixed)
tpad is always/only green
Reported by: | Alex | Owned by: | ePirat |
---|---|---|---|
Priority: | normal | Component: | ffmpeg |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | yes |
Description
tpad color is green, both default and when color=black
How to reproduce:
ffmpeg.exe -i Test.mkv -c:v libx265 -pix_fmt yuv420p10le -crf 25 -preset ultrafast -filter_complex "[0:v]trim=end=1000ms,tpad=stop_duration=1000ms:color=black" Green-HEVC.mp4 ffmpeg version 2023-10-09-git-37b5f4a1f6-full_build-www.gyan.dev
windows 10.
tried encoding via AV1 & HEVC to mkv & mp4 and all tpad color is green.
Issue also discussed on superuser a few months ago, Gyan commented
"The regression happened on May 22, likely commit 86b252ea9d – Gyan Jun 18 at 4:12"
https://superuser.com/questions/1789626/when-using-ffmpeg-tpad-padding-frames-are-green
but I couldn't find a corresponding ticket here.
Attachments (1)
Change History (8)
by , 14 months ago
comment:1 by , 13 months ago
Component: | undetermined → ffmpeg |
---|---|
Summary: | green tpad → tpad is always/only green |
comment:2 by , 13 months ago
discovered tpad's
stop=[frames]
still produces black correctly, so the green problem seems to be only
stop_duration
(start_duration is also okay).
FWIW, would still be helpful if stop_duration were fixed when possible.
Thanks,
Alex
comment:3 by , 13 months ago
Sorry, this is a regression from 86b252ea9dee18006910e30646ad1067f2d1323f
I've submitted a patch to fix it: http://ffmpeg.org/pipermail/ffmpeg-devel/2023-November/316718.html
comment:4 by , 13 months ago
You can work around the issue by specifying the start
and/or stop
option (depending which you need) with a dummy value like 1
, while still specifying the start_duration
and/or stop_duration
, which will take precedence.
comment:5 by , 13 months ago
Analyzed by developer: | set |
---|---|
Owner: | set to |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:7 by , 9 months ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in 6667741029bce9a79b48caedf24d6cb69c5ead7d.
green tpad on encode