Closed FlappyFalcon closed 4 years ago
Please post logs. There's no limit, AFAIK.
Sorry but where are the logs located? I wasn't aware it made a log after each encode. Well this won't even give a file, it just instantly says successfully encoded after pressing e. I think it's just buggy, because it works at different sections of the video but not at specific frame. weird
Yeah I'm not getting this, it's not encoding at all for whatever reason
not at specific frame
Are you trying to encode a single frame? Or is it between some two specific points?
To generate logs, either run mpv
with the -v flag on the command line and redirect the output to a text file, or add log-file=log.txt
to the mpv.conf file. The log will be stored on a log.txt
file on the same directory as the video file that was playing.
I downloaded this video from youtube with youtube-dl -f best https://www.youtube.com/watch?v=Zzq5PW5cyp0 . Set the start point to 0 and the endpoint almost at the end. Set audio on (works with audio off). Change the scale to 240 and the file size to 3800. When I press encode it immediately says successful but it outputs nothing. log.txt
I think what FlappyFalcon means by "not at a specific frame" is that it works on some videos when the section is like 00:10 to 00:20, but when you select 00:01 to 01:20 it fails. 00:10 to 00:20 actually works on the video I linked. But change it to 00:00 to 2:01 and it fails.
@macamaca2
Looking at the logs, there's nothing really suspicious. I wished it printed the encoding command output (it usually does for me, but I guess it's because I use log-file
on the config file, which causes the encoder to also output to the log).
Could you try running the encode command line (search for "Command line" on the log) separately and see what happens? (You'll need to escape the paths I think).
@ElegantMonkey When I run the command manually I get a few errors. I'm attaching a log file generated with log-file doing the original converting, and a log file piped from output doing the command manually. generated-with-log-file.txt manual-command-piped.txt
[encode-lavc] no audio stream succeeded - invalid codec?
This line is interesting. Usually, when the encoding codec isn't available, I think it shows a different error.
mpv --oac=help
should show the available audio codecs.
mpv-player/mpv#5666 seems to be somewhat related to this, at first sight.
I think what FlappyFalcon means by "not at a specific frame" is that it works on some videos when the section is like 00:10 to 00:20, but when you select 00:01 to 01:20 it fails. 00:10 to 00:20 actually works on the video I linked. But change it to 00:00 to 2:01 and it fails.
this is exactly what i meant, sorry for not specifying properly. at some time intervals it works, at others it doesn't
It seems that a lot of files fail to encode from the beginning (--start=0
) or near beginning. While fiddling with some flags on the encode line worked for some videos, and some of them didn't have the issue, this specific YouTube one seems to fail even with the simplest of the encode options:
mpv -v "LooseyLunchesNYC - Slicing a Texas Style BBQ Brisket Smoked on Weber Kettle Grill-Zzq5PW5cyp0.mp4" --ovc=libx264 --oac=libopus -o="test.mkv"
I've opened an issue on mpv's repo, let's see how it turns out.
Welp, this issue is getting kinda old, so I'd like to confirm if this still happens. mpv-player/mpv#5750 was supposed to fix this, but I still haven't gotten around testing.
I will close this now since I don't have this issue anymore since a long time ago, and was most likely something on mpv's end.
Is there a limit on file size of a file that this plugin can encode from? It won't encode at all from, well, it says encoded successfully but no file.