When I try to run script on streaming video it freezes for ten seconds and gives me a prompt with a general error(Encode failed! Check logs). It only occurs when I use it with ani-cli script(https://github.com/pystardust/ani-cli). I have no problem encoding streaming video from youtube (mpv "https://www.youtube.com/videolink") and cutting files on my local HDD.
It worked well, until I had to update ani-cli script again(because their sources switching encryption keys frequently). Then it failed to evoke an mpv. So I updated mpv and all dependencies from official rep. Then it started to give that error. I updated your script as well, but nothing change. I don't have a backup, so I can't provide more information about working version I was using(it was at least couple month old).
mpv version and platform
Debian GNU/Linux bookworm/sid x86_64 (kernel ver: 5.18.0-2-amd64 )
Description
When I try to run script on streaming video it freezes for ten seconds and gives me a prompt with a general error(Encode failed! Check logs). It only occurs when I use it with ani-cli script(https://github.com/pystardust/ani-cli). I have no problem encoding streaming video from youtube (mpv "https://www.youtube.com/videolink") and cutting files on my local HDD. It worked well, until I had to update ani-cli script again(because their sources switching encryption keys frequently). Then it failed to evoke an mpv. So I updated mpv and all dependencies from official rep. Then it started to give that error. I updated your script as well, but nothing change. I don't have a backup, so I can't provide more information about working version I was using(it was at least couple month old).
Log file
https://gist.github.com/grigoriynikolaev/eae5f5837bc3b4742aa16e42d3e8a00f (I hope that will work. I couldn't upload it on pastebin. Their SMART system thinks my log is too offensive for them.)