mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
a7c5b7a676
To define accurately the delay between two frames, it is necessary to have both available. Before this commit, the first frame had a delay of 0; while in practice the problem is not visible in most situation, it is problematic with low frame rate and large scene change. This commit notably fixes output generated with commands such as: ffmpeg -i big_buck_bunny_1080p_h264.mov -vf "select='gt(scene,0.4)',scale=320:-1,setpts=N/TB" -frames:v 5 -y out.gif Also, to avoid odd loop delays, the N-1 delay is duplicated for the last frame. |
||
---|---|---|
.. | ||
aiff | ||
alaw | ||
asf | ||
ast | ||
au | ||
avi | ||
bmp | ||
caf | ||
dpx | ||
dv_fmt | ||
ffm | ||
flm | ||
flv_fmt | ||
gif | ||
gxf | ||
ircam | ||
ismv | ||
jpg | ||
mkv | ||
mmf | ||
mov | ||
mpg | ||
mulaw | ||
mxf | ||
mxf_d10 | ||
nut | ||
ogg | ||
pam | ||
pbmpipe | ||
pcx | ||
pgm | ||
pgmpipe | ||
pixfmt | ||
png | ||
ppm | ||
ppmpipe | ||
rm | ||
rso | ||
sgi | ||
smjpeg | ||
sox | ||
sunrast | ||
swf | ||
tga | ||
tiff | ||
ts | ||
voc | ||
voc_s16 | ||
w64 | ||
wav | ||
wtv | ||
xbm | ||
xwd | ||
yuv4mpeg |