Closed bachig26 closed 1 year ago
I'm also getting issue while playing videos from my nginx server
uosc has buffering issue in network videos
Can someone provide steps to reproduce?
Can someone provide steps to reproduce?
okay, these steps based on my end case where I get every time I use uosc and; it doesn't happen on vanilla mpv or with custom input.conf, mpv.conf.
add uosc to mpv as usual, fyi: I use scoop installer for mpv so config location is inside the scoop directory (~/profile_config).
play a video (episode or movie) from mov-cli (https://github.com/mov-cli/mov-cli), use the "remotestream" or "sflix" provider in English Providers list.
When you play any content, you can see that the video gets stuck and plays frame-by-frame but the audio is uninterrupted as for as I know. and sometimes if I see the timeline/progress bar it goes like the playback speed is set at 3x or 5x speed.
But this issue happens in other situations where one plays a url in mpv with uosc.
Can you also isolate the issue? Minimal uosc/mpv config + url or mpv cli parameters to open that wold reproduce it.
I really don't want to go back and forth asking for settings and install & reverse engineer mov-cli to see what it's doing.
But this issue happens in other situations where one plays a url in mpv with uosc.
Never happened here. I think log might be necessary.
Can you also isolate the issue? Minimal uosc/mpv config + url or mpv cli parameters to open that wold reproduce it.
I really don't want to go back and forth asking for settings and install & reverse engineer mov-cli to see what it's doing.
i'm attaching my config but i even tried with minimal uosc (i.e vanilla uosc with any other scripts) and i also tried one config pack where i use uosc with latest commits. i'm seeing this issue on everyone of them.
Could you offer a simpliest method to reproduce? (i.e. direct link to one online video) BTW, your conf works fine here. Still cannot reproduce.
Tested with different devices, no reproduce neither. It must be something else on your side.
We need some url or even better cli parameters to pass to mpv that reproduces the issue.
I also use uosc to watch youtube videos often and never had this happen.
We need some url or even better cli parameters to pass to mpv that reproduces the issue.
I also use uosc to watch youtube videos often and never had this happen.
youtube streaming works fine, but not sure about any direct url....i'll let you know once i find one that reproduces this issue.
@bachig26 mov-cli use very very slow server thats why video buffers
@tomasklaen this video buffers more in uosc than vanilla https://m.papaonwork.workers.dev/1:/Avengers%20Endgame%20(2019)%201080p%20%5B3D%5D%20Half-SBS%20BluRay%20x264%20AVC%20%5BOrg%20Hindi%20DDP%205.1%20~%20640Kbps%20+%20English%20TrueHD%20Atmos%207.1%5D%20ESubs%20~%20FGT.mkv
These seem to play fine for me. And what do you mean by "buffers more"? I thought the complaint was that the videos play faster than they should?
Either way it just doesn't make sense to me. uosc is not setting or changing anything related to buffering or speed. We just read the current values and display them.
I've replicated this with an RTSP stream from an IP camera.
It is caused by setting video-sync=display-resample
, as recommended by the README to fix sluggish UI tied to video framerate.
I have also replicated this without uosc installed, so it's not technically a uosc problem, however since the README mentions it, people who install uosc will get it.
I suggest modifying the README to include this caveat, as (like myself), I think most users would see "A little higher CPU/GPU load??? I have plenty to spare! Let's turn it on!"
Some more discussion about the flag causing issues, there's probably more if you search: https://github.com/mpv-player/mpv/issues/5917
If video-sync=display-resample
causes videos to play too fast for you, then that's certainly a bug in mpv and you should open an issue about it over there.
FWIW I'm unable to replicate that issue.
Are you using KWin and have the video span multiple monitors? Because there is an issue about that https://github.com/mpv-player/mpv/issues/10489
Personally, I'm on Windows, so KWin is irrelevant ;) I'm on a chocolatey install, which is quite old at v2023.01.28
, so it may have been fixed in the last 8 months... Or maybe not! Just sharing what I found, as all symptoms match.
I'll close this as not a uosc issue, but feel free to add context here if needed.
I tried playing a video from internet with and without the uosc, but when I'm using uosc the video gets played in like 3-4x playback speed and i haven't changed any related functions in the lua file and checked the config file.
I'm looking for help and possibiliy fix for this if it's a bug.