Около 120000 изображений, помещенных в папки со структурированной датой, должны быть объединены в видео с интервальной съемкой с помощью ffmpeg 3.3.3 на моем Synology DS218Play-NAS.
Для этого я написал небольшой скрипт:
Это делает: Сначала найдите все папки и создайте ссылки в другой папке, затем переименуйте их и выполните ffmpeg со ссылками.
#!/bin/bash
ziel="Links/"
pfad="GH-Bau/"
rm -r $ziel
mkdir $ziel
find $pfad -name '*.jpg'| xargs ln -s --relative -t $ziel
after=$(date +%s)
count=0
for filename in $(ls $ziel | sort)
do
newname=$(printf "Links/GHS-Bau_TL_%07d.jpg" "$count")
mv $ziel$filename $newname
count=$(( $count + 1 ))
done
name="GH-BAU.mpg"
/volume1/@appstore/ffmpeg/bin/ffmpeg -f image2 -i Links/GHS-Bau_TL_%07d.jpg -s 1920x1200 $name -y -hide_banner
Раньше я делал тесты с той же структурой папок и меньшим количеством изображений (1264 изображения). В начале было несколько сообщений об ошибках, но это закончилось успехом! Как вы можете видеть, последний кадр является точным количеством изображений.
Input #0, image2, from 'Links/GHS-Bau_TL_%07d.jpg':
Duration: 00:00:50.56, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2592x1944, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg1video (native))
Press [q] to stop, [?] for help
[swscaler @ 0x1cadc40] deprecated pixel format used, make sure you did set range correctly
[mpeg @ 0xbd3480] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, mpeg, to 'GH-BAU_2018-07-23T19:44:22,049124047+0200.mpg':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: mpeg1video, yuv420p, 1920x1200, q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
Metadata:
encoder : Lavc57.89.100 mpeg1video
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame= 2 fps=0.0 q=5.6 size= 84kB time=-00:00:00.03 bitrate=N/A speed=N/A
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=234230 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=234230 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=236259 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=236259 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=238300 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=238300 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=240341 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=240341 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=242382 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=242382 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=244423 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=244423 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=246464 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=246464 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=248505 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=248505 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=250546 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=250546 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=252587 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=252587 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=254628 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=254628 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=256669 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=256669 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=258710 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=258710 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=260751 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=260751 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=262792 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=262792 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=264833 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=264833 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=266874 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=266874 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=268915 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=268915 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=270956 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=270956 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=272997 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=272997 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=275038 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=275038 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=277079 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=277079 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=279120 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=279120 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=281161 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=281161 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=283202 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=283202 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=285243 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=285243 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=287284 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=287284 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=289325 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=289325 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=291366 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=291366 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=293407 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=293407 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=295448 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=295448 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=297489 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=297489 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=299530 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=299530 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=301571 size=305305
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=301571 size=305305
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=303612 size=305305
frame= 3 fps=1.8 q=2.0 size= 382kB time=00:00:00.00 bitrate=284485818.2kbits/s speed=6.55e-06x
[mpeg @ 0xbd3480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0xbd3480] buffer underflow st=0 bufi=303612 size=305305
frame= 4 fps=1.5 q=3.0 size= 610kB time=00:00:00.04 bitrate=124893.7kbits/s speed=0.015x
frame= 5 fps=1.4 q=5.0 size= 672kB time=00:00:00.08 bitrate=68803.3kbits/s speed=0.022x
frame= 6 fps=1.3 q=7.4 size= 718kB time=00:00:00.12 bitrate=49011.0kbits/s speed=0.0264x
frame= 7 fps=1.3 q=10.0 size= 736kB time=00:00:00.16 bitrate=37680.6kbits/s speed=0.0294x
frame= 8 fps=1.3 q=12.8 size= 760kB time=00:00:00.20 bitrate=31127.9kbits/s speed=0.0316x
frame= 9 fps=1.2 q=15.6 size= 776kB time=00:00:00.24 bitrate=26486.3kbits/s speed=0.0329x
frame= 10 fps=1.2 q=18.6 size= 790kB time=00:00:00.28 bitrate=23112.2kbits/s speed=0.0341x
frame= 11 fps=1.2 q=21.5 size= 806kB time=00:00:00.32 bitrate=20632.9kbits/s speed=0.0351x
frame= 12 fps=1.2 q=24.5 size= 824kB time=00:00:00.36 bitrate=18750.0kbits/s speed=0.0359x
frame= 13 fps=1.2 q=27.5 size= 876kB time=00:00:00.40 bitrate=17940.0kbits/s speed=0.0366x
frame= 14 fps=1.2 q=24.4 size= 950kB time=00:00:00.44 bitrate=17686.8kbits/s speed=0.037x
frame= 15 fps=1.2 q=30.5 size= 972kB time=00:00:00.48 bitrate=16588.4kbits/s speed=0.0376x
[...]
frame= 1255 fps=1.1 q=31.0 size= 37076kB time=00:00:50.08 bitrate=6064.8kbits/s speed=0.0426x
frame= 1256 fps=1.1 q=31.0 size= 37088kB time=00:00:50.12 bitrate=6061.9kbits/s speed=0.0426x
frame= 1257 fps=1.1 q=31.0 size= 37098kB time=00:00:50.16 bitrate=6058.7kbits/s speed=0.0426x
frame= 1258 fps=1.1 q=31.0 size= 37118kB time=00:00:50.20 bitrate=6057.2kbits/s speed=0.0426x
frame= 1259 fps=1.1 q=31.0 size= 37132kB time=00:00:50.24 bitrate=6054.6kbits/s speed=0.0426x
frame= 1260 fps=1.1 q=31.0 size= 37140kB time=00:00:50.28 bitrate=6051.1kbits/s speed=0.0426x
frame= 1261 fps=1.1 q=31.0 size= 37156kB time=00:00:50.32 bitrate=6048.9kbits/s speed=0.0426x
frame= 1262 fps=1.1 q=31.0 size= 37166kB time=00:00:50.36 bitrate=6045.7kbits/s speed=0.0426x
frame= 1263 fps=1.1 q=31.0 size= 37180kB time=00:00:50.40 bitrate=6043.2kbits/s speed=0.0426x
frame= 1264 fps=1.1 q=24.8 size= 37246kB time=00:00:50.44 bitrate=6049.2kbits/s speed=0.0426x
frame= 1264 fps=1.1 q=24.8 size= 37246kB time=00:00:50.44 bitrate=6049.2kbits/s speed=0.0425x
frame= 1264 fps=1.1 q=24.8 Lsize= 37306kB time=00:00:50.48 bitrate=6054.1kbits/s speed=0.0426x
video:37151kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.417718%
Теперь со всеми ~ 120000 изображениями происходит сбой:
Input #0, image2, from 'Links/GHS-Bau_TL_%07d.jpg':
Duration: 01:21:00.84, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2592x1944, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg1video (native))
Press [q] to stop, [?] for help
[swscaler @ 0x3640cc40] deprecated pixel format used, make sure you did set range correctly
[mpeg @ 0x35332480] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, mpeg, to 'GH-BAU_2018-07-23T20:08:04,490459025+0200.mpg':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: mpeg1video, yuv420p, 1920x1200, q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
Metadata:
encoder : Lavc57.89.100 mpeg1video
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame= 2 fps=0.0 q=5.6 size= 84kB time=-00:00:00.03 bitrate=N/A speed=N/A
[mpeg @ 0x35332480] buffer underflow st=0 bufi=234230 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=234230 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=236259 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=236259 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=238300 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=238300 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=240341 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=240341 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=242382 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=242382 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=244423 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=244423 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=246464 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=246464 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=248505 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=248505 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=250546 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=250546 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=252587 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=252587 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=254628 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=254628 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=256669 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=256669 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=258710 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=258710 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=260751 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=260751 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=262792 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=262792 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=264833 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=264833 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=266874 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=266874 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=268915 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=268915 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=270956 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=270956 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=272997 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=272997 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=275038 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=275038 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=277079 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=277079 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=279120 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=279120 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=281161 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=281161 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=283202 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=283202 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=285243 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=285243 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=287284 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=287284 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=289325 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=289325 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=291366 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=291366 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=293407 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=293407 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=295448 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=295448 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=297489 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=297489 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=299530 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=299530 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=301571 size=305305
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=301571 size=305305
[mpeg @ 0x35332480] buffer underflow st=0 bufi=303612 size=305305
frame= 3 fps=1.8 q=2.0 size= 382kB time=00:00:00.00 bitrate=284485818.2kbits/s speed=6.47e-06x
[mpeg @ 0x35332480] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x35332480] buffer underflow st=0 bufi=303612 size=305305
frame= 4 fps=1.5 q=3.0 size= 610kB time=00:00:00.04 bitrate=124893.7kbits/s speed=0.0149x
frame= 5 fps=1.4 q=5.0 size= 672kB time=00:00:00.08 bitrate=68803.3kbits/s speed=0.0219x
frame= 6 fps=1.3 q=7.4 size= 718kB time=00:00:00.12 bitrate=49011.0kbits/s speed=0.0262x
frame= 7 fps=1.3 q=10.0 size= 736kB time=00:00:00.16 bitrate=37680.6kbits/s speed=0.0292x
frame= 8 fps=1.3 q=12.8 size= 760kB time=00:00:00.20 bitrate=31127.9kbits/s speed=0.0315x
frame= 9 fps=1.2 q=15.6 size= 776kB time=00:00:00.24 bitrate=26486.3kbits/s speed=0.0332x
frame= 10 fps=1.2 q=18.6 size= 790kB time=00:00:00.28 bitrate=23112.2kbits/s speed=0.0345x
frame= 11 fps=1.2 q=21.5 size= 806kB time=00:00:00.32 bitrate=20632.9kbits/s speed=0.0356x
frame= 12 fps=1.2 q=24.5 size= 824kB time=00:00:00.36 bitrate=18750.0kbits/s speed=0.0362x
frame= 13 fps=1.2 q=27.5 size= 876kB time=00:00:00.40 bitrate=17940.0kbits/s speed=0.0369x
frame= 14 fps=1.2 q=24.4 size= 950kB time=00:00:00.44 bitrate=17686.8kbits/s speed=0.0374x
frame= 15 fps=1.2 q=30.5 size= 972kB time=00:00:00.48 bitrate=16588.4kbits/s speed=0.038x
[...]
frame= 392 fps=1.1 q=31.0 size= 15430kB time=00:00:15.56 bitrate=8123.6kbits/s speed=0.0437x
frame= 393 fps=1.1 q=31.0 size= 15456kB time=00:00:15.60 bitrate=8116.4kbits/s speed=0.0437x
frame= 394 fps=1.1 q=31.0 size= 15480kB time=00:00:15.64 bitrate=8108.2kbits/s speed=0.0437x
frame= 395 fps=1.1 q=31.0 size= 15504kB time=00:00:15.68 bitrate=8100.0kbits/s speed=0.0437x
frame= 396 fps=1.1 q=31.0 size= 15528kB time=00:00:15.72 bitrate=8091.9kbits/s speed=0.0437x
[mjpeg @ 0x35331600] error count: 68
[mjpeg @ 0x35331600] error y=121 x=161
frame= 397 fps=1.1 q=31.0 size= 15548kB time=00:00:15.76 bitrate=8081.8kbits/s speed=0.0437x
frame= 398 fps=1.1 q=31.0 size= 15568kB time=00:00:15.80
[...]
frame= 3681 fps=1.2 q=31.0 size= 95122kB time=00:02:27.12 bitrate=5296.6kbits/s speed=0.0467x
frame= 3682 fps=1.2 q=31.0 size= 95164kB time=00:02:27.16 bitrate=5297.5kbits/s speed=0.0467x
frame= 3683 fps=1.2 q=31.0 size= 95220kB time=00:02:27.20 bitrate=5299.2kbits/s speed=0.0467x
frame= 3684 fps=1.2 q=24.8 size= 95280kB time=00:02:27.24 bitrate=5301.1kbits/s speed=0.0467x
frame= 3685 fps=1.2 q=31.0 size= 95298kB time=00:02:27.28 bitrate=5300.7kbits/s speed=0.0467x
frame= 3686 fps=1.2 q=31.0 size= 95326kB time=00:02:27.32 bitrate=5300.8kbits/s speed=0.0467x
frame= 3687 fps=1.2 q=31.0 size= 95348kB time=00:02:27.36 bitrate=5300.6kbits/s speed=0.0467x
frame= 3688 fps=1.2 q=31.0 size= 95362kB time=00:02:27.40 bitrate=5299.9kbits/s speed=0.0467x
frame= 3689 fps=1.2 q=31.0 size= 95374kB time=00:02:27.44 bitrate=5299.1kbits/s speed=0.0467x
frame= 3690 fps=1.2 q=31.0 size= 95390kB time=00:02:27.48 bitrate=5298.6kbits/s speed=0.0467x
frame= 3691 fps=1.2 q=31.0 size= 95404kB time=00:02:27.52 bitrate=5297.9kbits/s speed=0.0467x
frame= 3692 fps=1.2 q=31.0 size= 95416kB time=00:02:27.56 bitrate=5297.2kbits/s speed=0.0467x
frame= 3693 fps=1.2 q=31.0 size= 95428kB time=00:02:27.60 bitrate=5296.4kbits/s speed=0.0467x
frame= 3693 fps=1.2 q=31.0 size= 95428kB time=00:02:27.60 bitrate=5296.4kbits/s speed=0.0467x
frame= 3693 fps=1.2 q=31.0 Lsize= 95438kB time=00:02:27.64 bitrate=5295.5kbits/s speed=0.0467x
video:95036kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.422701%
В конце написано, что ошибки нет, но 3693 находится далеко от изображений 121521. Что могло случиться? Спасибо за вашу помощь!