-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Videos stuck reloading #14
Comments
Interesting, I've never experienced issues with local files. Can you please provide your MPV config and a full debug-level log ( |
Here is a log of the error happening 4 times back to back. I ran this with my entire mpv.conf file commented out but if you still think it is relevant I can provide it. I ran the first two tests in chronological order. Tests 3 and 4 I shuffled the playlist. The error happens as soon as the last video in the log loads. The log goes on for a little while because it took me a moment to register that the video had become stuck.
It doesn't always happen with the same videos. I have a few directories that I play different files from and it happens with all of those directories at various times with various files. But maybe you see something in the log that indicate something different. |
Thanks for the log. I see that you're playing a directory with a bunch of short files, and after it loads the
the playback gets "paused" on the 29'th second, making the plugin think that the playback got stuck. For me, this situation looks similar to the #10 issue that was reported recently. When this issue happens, can you resume the playback by pausing and unpausing the video (pressing the spacebar two times)? |
No I cannot. I can get it to resume playback by pressing ctrl+r, fast forwarding, or going to the next item on the playlist. If I do any of those things playback will resume but audio cuts out for about 5 seconds. Pressing spacebar twice, or any number of times, does nothing for me.
No I didn't. If I remove reload.lua from my scripts directory everything plays without this issue. |
I found an issue with the number rounding #15 that may trigger the behavior that you're experiencing. Please check if it fixes the issue for you. |
Unfortunately not. I ran three tests and got two crashes. The 1st and 3rd stopped playing while the 2nd test played all files in the folder, about 50 videos. Here is the error log. The log only includes the tests where the video froze. I don't have a log of the test that completed successfully. The number of videos was so large that I can't scroll back far enough in my terminal to see the start of the successful test. |
Description of issue: Running
mpv /path/to/videos-directory
mpv loads and plays the videos fine. However, after about 5 minutes, even as soon as 2 minutes or just randomly, a video will load and get stuck loading. I can fast-forward the video and it starts playing again but if I leave it alone for long enough mpv will freeze entirely requiring a forced shutdown.mpv version: 34.1 using the latest reload.lua
I did a lot of trouble shooting with my config, and checking all my scripts to see which one was causing this issue. I ran
mpv --msg-level='reload=debug' --no-msg-color /path/to/videos-directory
and got this errorThis script works great for youtube so I'll use profiles to work around the issue with local videos for the time being.
Please let me know what other info would be helpful in fixing this issue and I will provide it. This is easily reproducible for me but I don't have a lot of experience debugging mpv or scripts so I'm not sure what is and is not relevant.
Thanks.
The text was updated successfully, but these errors were encountered: