Ошибка 1. Что-то с памятью. Скрипт запускается, запись формируется но фрагментарно, как будто выхватывает какие-то блоки раз в минут 10. Логи: <--- Last few GCs ---> [14676:000002C6DF12D4E0] 14834068 ms: Scavenge 10.1 (10.9) -> 9.1 (10.9) MB, 0.9 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure [14676:000002C6DF12D4E0] 14891871 ms: Scavenge 10.1 (10.9) -> 9.2 (10.9) MB, 0.9 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure [14676:000002C6DF12D4E0] 14952513 ms: Scavenge 10.1 (10.9) -> 9.1 (10.9) MB, 0.7 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure <--- JS stacktrace ---> FATAL ERROR: Zone Allocation failed - process out of memory 1: 00007FF793692CBF 2: 00007FF79362DC36 Это при формировании записи: [tls @ 00000203d723e200] The specified session has been invalidated for some reason. [hls @ 00000203d416e880] keepalive request failed for 'https://hls.goodgame.ru/hls/172768-1961.ts' with error: 'I/O error' when opening url, retrying with new connection [hls @ 00000203d416e880] Opening 'https://hls.goodgame.ru/hls/172768-1961.ts' for reading [https @ 00000203d60bed00] HTTP error 402 Payment Required [hls @ 00000203d416e880] Failed to open next segment 1961 of playlist 0 [mpegts @ 00000203d4222640] PES packet size mismatch32:33.49 bitrate=6094.5kbits/s speed=0.504x [mpegts @ 00000203d4222640] Packet corrupt (stream = 0, dts = 347531940). [hls @ 00000203d416e880] Opening 'https://hls.goodgame.ru/hls/172768-1961.ts' for reading [libvorbis @ 00000203d7860340] Queue input is backward in timeitrate=6094.0kbits/s speed=0.503x [matroska @ 00000203d795f040] Non-monotonous DTS in output stream 0:1; previous: 1953556, current: 1953550; changing to 1953556. This may result in incorrect timestamps in the output file. frame=117309 fps= 30 q=-1.0 size= 1454080kB time=00:32:35.46 bitrate=6091.6kbits/s speed=0.496x [libvorbis @ 00000203d7860340] Queue input is backward in timeitrate=6096.1kbits/s speed=0.715x [matroska @ 00000203d795f040] Non-monotonous DTS in output stream 0:1; previous: 1907521, current: 1907444; changing to 1907521. This may result in incorrect timestamps in the output file. [https @ 00000203d5f21840] Opening 'https://hls.goodgame.ru/hls/172768.m3u8' for reading= 0.7x [hls @ 00000203d416e880] Skip ('#EXT-X-VERSION:3') [hls @ 00000203d416e880] skipping 36 segments ahead, expired from playlists Ошибка 2. ffmpeg включается но почему-то останавливается, и не формирует запись Логи: K:\Script>node index.js 22:34:16 24-01-2021 INFO r0adhousegg is online, start recording ffmpeg version 2020-12-01-git-ba6e2a2d05-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10.2.0 (Rev5, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint libavutil 56. 61.100 / 56. 61.100 libavcodec 58.114.100 / 58.114.100 libavformat 58. 64.100 / 58. 64.100 libavdevice 58. 11.103 / 58. 11.103 libavfilter 7. 91.100 / 7. 91.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 [https @ 000001fa9841f1c0] The "user-agent" option is deprecated: use the "user_agent" option instead [https @ 000001fa9841f0c0] HTTP error 404 Not Found https://hls.goodgame.ru/hls/165622.m3u8: Server returned 404 Not Found 01:01:15 25-01-2021 INFO r0adhousegg is offline, stop recording