[FFmpeg-user] slideshow with crossfade
Michael Koch
astroelectronic at t-online.de
Mon Nov 6 22:03:44 EET 2017
> Complete, uncut console output for the working and the failing case
missing.
This is the console output for the working case (first zoompan filter,
then framerate filter):
F:\xxx\Test_Crossfade>c:/ffmpeg/ffmpeg -i IMG_%3d.jpg -vf zoompan=d=
4:s=5472x3648:fps=2,framerate=25 -c:v mpeg4 -q:v 2 out.mp4
ffmpeg version N-88555-g6ea7711532 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg
--enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
--enable-z
lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda
--enable-c
uvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
--enable-l
ibmfx
libavutil 56. 0.100 / 56. 0.100
libavcodec 58. 1.100 / 58. 1.100
libavformat 58. 0.102 / 58. 0.102
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 0.101 / 7. 0.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, image2, from 'IMG_%3d.jpg':
Duration: 00:00:00.20, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
5472x3648
[SAR 72:72 DAR 3:2], 25 tbr, 25 tbn, 25 tbc
File 'out.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[Parsed_framerate_1 @ 000000000053a200] time base:1/2 -> 1/50 exact:1
[Parsed_framerate_1 @ 000000000053a200] fps -> fps:25/1 scene
score:7.000000 int
erpolate start:15 end:240
[swscaler @ 0000000000554fe0] deprecated pixel format used, make sure
you did se
t range correctly
[swscaler @ 0000000006326de0] deprecated pixel format used, make sure
you did se
t range correctly
Output #0, mp4, to 'out.mp4':
Metadata:
encoder : Lavf58.0.102
Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 5472x3648
[SAR 1:1 D
AR 3:2], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc58.1.100 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
[swscaler @ 0000000009283660] deprecated pixel format used, make sure
you did se
t range correctly
[swscaler @ 0000000000554fe0] deprecated pixel format used, make sure
you did se
t range correctly
frame= 3 fps=0.0 q=2.0 size= 3584kB time=00:00:00.08
bitrate=366648.5kbits
frame= 8 fps=7.2 q=2.0 size= 3840kB time=00:00:00.28
bitrate=112317.4kbits
[swscaler @ 000000000966cd40] deprecated pixel format used, make sure
you did se
t range correctly
frame= 13 fps=7.8 q=2.0 size= 7680kB time=00:00:00.48
bitrate=131051.4kbits
frame= 18 fps=8.1 q=2.0 size= 7680kB time=00:00:00.68
bitrate=92511.3kbits/
frame= 23 fps=8.2 q=2.0 size= 7680kB time=00:00:00.88
bitrate=71487.9kbits/
[swscaler @ 000000000966cd40] deprecated pixel format used, make sure
you did se
t range correctly
frame= 28 fps=8.3 q=2.0 size= 11520kB time=00:00:01.08
bitrate=87375.3kbits/
frame= 33 fps=8.3 q=2.0 size= 11520kB time=00:00:01.28
bitrate=73723.8kbits/
[swscaler @ 00000000230b3c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 38 fps=8.3 q=2.0 size= 15360kB time=00:00:01.48
bitrate=85015.4kbits/
frame= 42 fps=8.2 q=2.0 size= 18432kB time=00:00:01.64
bitrate=92065.9kbits/
frame= 46 fps=8.1 q=2.0 size= 23808kB time=00:00:01.80
bitrate=108348.4kbits
[swscaler @ 00000000230b3c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 50 fps=8.0 q=2.0 size= 30720kB time=00:00:01.96
bitrate=128392.1kbits
frame= 55 fps=8.0 q=2.0 size= 32000kB time=00:00:02.16
bitrate=121358.7kbits
frame= 60 fps=8.0 q=2.0 size= 32000kB time=00:00:02.36
bitrate=111074.4kbits
[swscaler @ 00000000231b2c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 65 fps=8.1 q=2.0 size= 36096kB time=00:00:02.56
bitrate=115503.8kbits
frame= 70 fps=8.2 q=2.0 size= 36096kB time=00:00:02.76
bitrate=107134.2kbits
[swscaler @ 00000000231b2c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 75 fps=8.2 q=2.0 size= 40192kB time=00:00:02.96
bitrate=111231.3kbits
frame= 80 fps=8.2 q=2.0 size= 40192kB time=00:00:03.16
bitrate=104191.5kbits
frame= 85 fps=8.3 q=2.0 size= 44032kB time=00:00:03.36
bitrate=107351.8kbits
[swscaler @ 00000000231b2c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 89 fps=8.2 q=2.0 size= 44032kB time=00:00:03.52
bitrate=102472.3kbits
frame= 94 fps=8.2 q=2.0 size= 50176kB time=00:00:03.72
bitrate=110492.9kbits
frame= 98 fps=8.1 q=2.0 size= 57600kB time=00:00:03.88
bitrate=121610.8kbits
[swscaler @ 00000000231b2c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 102 fps=8.1 q=2.0 size= 61440kB time=00:00:04.04
bitrate=124581.0kbits
frame= 107 fps=8.1 q=2.0 size= 61696kB time=00:00:04.24
bitrate=119199.2kbits
frame= 111 fps=8.1 q=2.0 size= 66304kB time=00:00:04.40
bitrate=123443.9kbits
[swscaler @ 00000000231b2c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 117 fps=8.1 q=2.0 size= 66304kB time=00:00:04.64
bitrate=117059.0kbits
frame= 121 fps=8.1 q=2.0 size= 70912kB time=00:00:04.80
bitrate=121021.3kbits
[swscaler @ 00000000231b2c80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 125 fps=8.1 q=2.0 size= 70912kB time=00:00:04.96
bitrate=117117.4kbits
frame= 130 fps=8.1 q=2.0 size= 70912kB time=00:00:05.16
bitrate=112578.0kbits
frame= 134 fps=8.1 q=2.0 size= 75520kB time=00:00:05.32
bitrate=116287.8kbits
[swscaler @ 00000000231bac80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 139 fps=8.1 q=2.0 size= 75776kB time=00:00:05.52
bitrate=112454.5kbits
frame= 143 fps=8.0 q=2.0 size= 80640kB time=00:00:05.68
bitrate=116301.8kbits
frame= 147 fps=8.0 q=2.0 size= 87808kB time=00:00:05.84
bitrate=123170.2kbits
[swscaler @ 00000000231bac80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 151 fps=8.0 q=2.0 size= 93440kB time=00:00:06.00
bitrate=127575.1kbits
frame= 156 fps=8.0 q=2.0 size= 93696kB time=00:00:06.20
bitrate=123798.1kbits
frame= 160 fps=8.0 q=2.0 size= 97536kB time=00:00:06.36
bitrate=125629.8kbits
[swscaler @ 00000000231bac80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 165 fps=8.0 q=2.0 size= 97536kB time=00:00:06.56
bitrate=121799.7kbits
frame= 170 fps=8.0 q=2.0 size= 101632kB time=00:00:06.76
bitrate=123159.8kbits
[swscaler @ 00000000231bac80] deprecated pixel format used, make sure
you did se
t range correctly
frame= 175 fps=8.0 q=2.0 size= 101632kB time=00:00:06.96
bitrate=119620.7kbits
frame= 180 fps=8.0 q=2.0 size= 101888kB time=00:00:07.16
bitrate=116572.3kbits
frame= 185 fps=8.0 q=2.0 size= 105728kB time=00:00:07.36
bitrate=117678.7kbits
[swscaler @ 000000000966cd40] deprecated pixel format used, make sure
you did se
t range correctly
frame= 189 fps=8.0 q=2.0 size= 105728kB time=00:00:07.52
bitrate=115174.9kbits
frame= 194 fps=8.0 q=2.0 size= 113664kB time=00:00:07.72
bitrate=120612.2kbits
frame= 198 fps=8.0 q=2.0 size= 119296kB time=00:00:07.88
bitrate=124018.2kbits
[swscaler @ 000000000966cd40] deprecated pixel format used, make sure
you did se
t range correctly
frame= 202 fps=8.0 q=2.0 size= 123904kB time=00:00:08.04
bitrate=126245.3kbits
frame= 206 fps=7.9 q=2.0 size= 128512kB time=00:00:08.20
bitrate=128385.4kbits
frame= 211 fps=8.0 q=2.0 size= 128512kB time=00:00:08.40
bitrate=125328.7kbits
[swscaler @ 000000000966cd40] deprecated pixel format used, make sure
you did se
t range correctly
frame= 216 fps=8.0 q=2.0 size= 128512kB time=00:00:08.60
bitrate=122414.1kbits
frame= 221 fps=8.0 q=2.0 size= 133120kB time=00:00:08.80
bitrate=123921.6kbits
[swscaler @ 000000000966cd40] deprecated pixel format used, make sure
you did se
t range correctly
frame= 226 fps=8.0 q=2.0 size= 133120kB time=00:00:09.00
bitrate=121167.8kbits
frame= 231 fps=8.0 q=2.0 size= 137728kB time=00:00:09.20
bitrate=122636.8kbits
frame= 236 fps=8.0 q=2.0 size= 137728kB time=00:00:09.40
bitrate=120027.5kbits
frame= 238 fps=8.0 q=2.0 Lsize= 137983kB time=00:00:09.48
bitrate=119235.2kbit
s/s speed=0.319x
video:137981kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxin
g overhead: 0.001907%
This is the console output for the failing case (first fps filter, then
framerate filter):
F:\xxx\Test_Crossfade>c:/ffmpeg/ffmpeg -framerate 0.5 -i IMG_%3d.jpg
-vf fps=2,framerate=25 -c:v mpeg4 -q:v 2 out.mp4
ffmpeg version N-88555-g6ea7711532 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg
--enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
--enable-z
lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda
--enable-c
uvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
--enable-l
ibmfx
libavutil 56. 0.100 / 56. 0.100
libavcodec 58. 1.100 / 58. 1.100
libavformat 58. 0.102 / 58. 0.102
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 0.101 / 7. 0.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, image2, from 'IMG_%3d.jpg':
Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
5472x3648
[SAR 72:72 DAR 3:2], 0.50 tbr, 0.50 tbn, 0.50 tbc
File 'out.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[Parsed_framerate_1 @ 000000000059cd80] time base:1/2 -> 1/50 exact:1
[Parsed_framerate_1 @ 000000000059cd80] fps -> fps:25/1 scene
score:7.000000 int
erpolate start:15 end:240
[swscaler @ 000000000059efe0] deprecated pixel format used, make sure
you did se
t range correctly
Output #0, mp4, to 'out.mp4':
Metadata:
encoder : Lavf58.0.102
Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 5472x3648
[SAR 1:1 D
AR 3:2], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc58.1.100 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame= 4 fps=0.0 q=2.0 size= 3840kB time=00:00:00.12
bitrate=261976.6kbits
frame= 9 fps=7.1 q=2.0 size= 3840kB time=00:00:00.32
bitrate=98281.1kbits/
frame= 14 fps=7.5 q=2.0 size= 7680kB time=00:00:00.52
bitrate=120972.1kbits
frame= 19 fps=7.9 q=2.0 size= 7680kB time=00:00:00.72
bitrate=87372.4kbits/
frame= 24 fps=8.1 q=2.0 size= 7680kB time=00:00:00.92
bitrate=68380.0kbits/
frame= 29 fps=8.1 q=2.0 size= 11520kB time=00:00:01.12
bitrate=84255.0kbits/
frame= 34 fps=8.2 q=2.0 size= 11520kB time=00:00:01.32
bitrate=71489.9kbits/
frame= 41 fps=8.2 q=2.0 size= 15360kB time=00:00:01.60
bitrate=78639.6kbits/
frame= 46 fps=8.3 q=2.0 size= 17408kB time=00:00:01.80
bitrate=79222.5kbits/
frame= 50 fps=8.2 q=2.0 size= 21760kB time=00:00:01.96
bitrate=90944.5kbits/
frame= 55 fps=8.2 q=2.0 size= 23296kB time=00:00:02.16
bitrate=88349.2kbits/
frame= 59 fps=8.1 q=2.0 size= 25088kB time=00:00:02.32
bitrate=88583.8kbits/
frame= 63 fps=8.1 q=2.0 size= 29184kB time=00:00:02.48
bitrate=96398.5kbits/
frame= 67 fps=8.1 q=2.0 size= 30720kB time=00:00:02.64
bitrate=95322.4kbits/
frame= 71 fps=8.0 q=2.0 size= 32512kB time=00:00:02.80
bitrate=95118.3kbits/
frame= 75 fps=8.0 q=2.0 size= 36864kB time=00:00:02.96
bitrate=102021.0kbits
frame= 79 fps=8.0 q=2.0 size= 38400kB time=00:00:03.12
bitrate=100822.2kbits
frame= 83 fps=7.9 q=2.0 size= 40192kB time=00:00:03.28
bitrate=100379.7kbits
frame= 91 fps=8.0 q=2.0 size= 44544kB time=00:00:03.60
bitrate=101360.2kbits
frame= 96 fps=8.0 q=2.0 size= 46592kB time=00:00:03.80
bitrate=100440.6kbits
frame= 100 fps=8.0 q=2.0 size= 50944kB time=00:00:03.96
bitrate=105385.2kbits
frame= 104 fps=8.0 q=2.0 size= 52736kB time=00:00:04.12
bitrate=104855.7kbits
frame= 108 fps=8.0 q=2.0 size= 54528kB time=00:00:04.28
bitrate=104365.8kbits
frame= 112 fps=7.9 q=2.0 size= 58880kB time=00:00:04.44
bitrate=108634.4kbits
frame= 116 fps=7.9 q=2.0 size= 60672kB time=00:00:04.60
bitrate=108047.2kbits
frame= 120 fps=7.9 q=2.0 size= 62464kB time=00:00:04.76
bitrate=107499.4kbits
frame= 124 fps=7.9 q=2.0 size= 67072kB time=00:00:04.92
bitrate=111675.9kbits
frame= 128 fps=7.9 q=2.0 size= 68864kB time=00:00:05.08
bitrate=111048.3kbits
frame= 132 fps=7.8 q=2.0 size= 70912kB time=00:00:05.24
bitrate=110859.3kbits
frame= 136 fps=7.8 q=2.0 size= 76288kB time=00:00:05.40
bitrate=115730.1kbits
frame= 141 fps=7.9 q=2.0 size= 76288kB time=00:00:05.60
bitrate=111597.0kbits
frame= 146 fps=7.9 q=2.0 size= 82176kB time=00:00:05.80
bitrate=116065.0kbits
frame= 150 fps=7.9 q=2.0 size= 83456kB time=00:00:05.96
bitrate=114708.5kbits
frame= 154 fps=7.8 q=2.0 size= 85248kB time=00:00:06.12
bitrate=114108.3kbits
frame= 158 fps=7.8 q=2.0 size= 90112kB time=00:00:06.28
bitrate=117546.0kbits
frame= 162 fps=7.8 q=2.0 size= 91648kB time=00:00:06.44
bitrate=116579.5kbits
frame= 166 fps=7.8 q=2.0 size= 93696kB time=00:00:06.60
bitrate=116295.3kbits
frame= 170 fps=7.8 q=2.0 size= 98304kB time=00:00:06.76
bitrate=119126.8kbits
frame= 174 fps=7.8 q=2.0 size= 99840kB time=00:00:06.92
bitrate=118190.8kbits
frame= 178 fps=7.8 q=2.0 size= 101888kB time=00:00:07.08
bitrate=117889.5kbits
frame= 182 fps=7.8 q=2.0 size= 106752kB time=00:00:07.24
bitrate=120787.8kbits
frame= 186 fps=7.7 q=2.0 size= 108800kB time=00:00:07.40
bitrate=120443.3kbits
frame= 193 fps=7.9 q=2.0 size= 113152kB time=00:00:07.68
bitrate=120694.3kbits
frame= 197 fps=7.8 q=2.0 size= 114176kB time=00:00:07.84
bitrate=119301.1kbits
frame= 201 fps=7.8 q=2.0 size= 115968kB time=00:00:08.00
bitrate=118750.1kbits
frame= 205 fps=7.8 q=2.0 size= 121344kB time=00:00:08.16
bitrate=121818.7kbits
frame= 209 fps=7.8 q=2.0 size= 122368kB time=00:00:08.32
bitrate=120484.3kbits
frame= 213 fps=7.8 q=2.0 size= 124416kB time=00:00:08.48
bitrate=120189.5kbits
frame= 217 fps=7.8 q=2.0 size= 129792kB time=00:00:08.64
bitrate=123061.0kbits
frame= 221 fps=7.8 q=2.0 size= 131072kB time=00:00:08.80
bitrate=122015.1kbits
frame= 225 fps=7.8 q=2.0 size= 132864kB time=00:00:08.96
bitrate=121474.6kbits
frame= 229 fps=7.8 q=2.0 size= 138752kB time=00:00:09.12
bitrate=124632.3kbits
frame= 233 fps=7.8 q=2.0 size= 140032kB time=00:00:09.28
bitrate=123613.5kbits
frame= 238 fps=7.8 q=2.0 size= 141824kB time=00:00:09.48
bitrate=122554.1kbits
frame= 244 fps=7.8 q=2.0 size= 146432kB time=00:00:09.72
bitrate=123411.7kbits
frame= 249 fps=7.9 q=2.0 size= 146688kB time=00:00:09.92
bitrate=121135.0kbits
frame= 251 fps=7.8 q=2.0 Lsize= 146739kB time=00:00:10.00
bitrate=120207.7kbit
s/s speed=0.312x
video:146736kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxin
g overhead: 0.002110%
Michael
More information about the ffmpeg-user
mailing list