ekisu / mpv-webm

Simple WebM maker for mpv, with no external dependencies.
MIT License
586 stars 33 forks source link

Failed to encode ani-cli output #154

Open grigoriynikolaev opened 2 years ago

grigoriynikolaev commented 2 years ago

mpv version and platform

Debian GNU/Linux bookworm/sid x86_64 (kernel ver: 5.18.0-2-amd64 )

mpv 0.34.1 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
FFmpeg library versions:
   libavutil       57.28.100
   libavcodec      59.37.100
   libavformat     59.27.100
   libswscale      6.7.100
   libavfilter     8.44.100
   libswresample   4.7.100
FFmpeg version: 5.1.2-1

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.)

grigoriynikolaev commented 2 years ago

Oh, don't mind a webm.conf file. It doesn't work without it neither. The only string I've changed is output destination to be my home directory.