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
Playlist/Auto-Play broken on 2nd screen #161
Comments
Maybe a driver bug, what's in your mpv.conf and which OS and gx card? |
Windows 10 and GTX 960. Running the latest version of mpvnet input-ar-delay = 500 and mpvnet.config start-size = video |
@ll811 , I tested on my setup, extended display, did the operation as you describe, and it was flawless. I had absolutely no problem!
Please try and tell me what happens. |
I figured out what it was. It is the mpvnet.config start-size = video Using "Window set to Video Resolution" setting is what causes it. Again, this is only on the extended display. I tested this having deleted both config files and starting fresh with nothing but start-size = video and the problem still occurred. Also I tried the vo=gpu and hwdec=no thing and it didn't change the results. Should I leave it like this? HOWEVER, the problem only seems to occur if the files you're jumping between have a resolution of 1080p or above. I just tested it with 480, 720 and it did not occur. 1080p however it does. Should note that the tv I'm using is 1080p and never had this issue prior to this latest release of MPV. Again, goes away when I remove start-size = video |
OK so you found out that: when start-size = video THEN navigate from a file to next file takes you away from fullscreen and removes borders. @stax76 is it possible that mpvnet is reading screen dimensions the sum of the two displays? @ll811 can you please try one last thing: in mpvnet.conf, under start-size=video, put this line: |
Tried it, didn't change anything. |
Ok, thanks for testing. I guess Stax should take a look at that. In the mean time, obviously you can remove "start-size = video" from mpvnet.conf and set "autofit=65%" in mpv.conf. This works fine. |
Also, I don't know if this information is relevant, but my main monitor is 1440p, and the 2nd extended screen is 1080p. |
@ll811 did you test latest betas from the beta dropbox ? there has been a change in the handling of messages, maybe it's fixed. |
@44vince44 seems unlikely that it has anything to do with the config files since I tried deleting them earlier and then doing nothing but adding "start-size = video" in mpvnet.config and had the same issue. 5.4.5.0 changed something with regards to how mpv handles video size / resolution (ironically enough after an issue I had reported on with black bars on certain media) maybe that has something to do with this new error? This issue was introduced with 5.4.5.0, version prior to that things worked as normal. Just to make absolute sure I went back and tested them, I tested 5.4.4.0 and the 3 releases that came after, 5.4.4.0 works as it should and the others are broken. I appreciate how helpful you are. Also, I did not try the beta. |
Both 44vince44 and me are not able to reproduce it. There are only 2 functions that change window size and window state. There's a function that cycles fullscreen and it's triggered when the mpv property Do you run any user scripts? In the first post you write that fullscreen is exited but in the steps to reproduce you are not writing that you have entered fullscreen. |
@stax76 I have tried with the portable versions of the past 4 releases with the config files removed each time before a test. It is broken on all of them but 5.4.4.0. But I noticed just now that the issue goes away if I lower the resolution on my tv to 720p. Truly bizarre. Also no user scripts. |
@stax76 okay I just found a "fix" to this issue. If I scale the window down before dragging mpvnet over to my extended screen, switching between files in the playlist works as it should. It is when I drag the full window over to the display that it breaks when switching between files. |
What does full window mean? Was it maximized or was it full screen or was it normal + filling the complete working area? |
@stax76 full window (frame of mpv and video) into full screen. With "start-size = video" the frame of mpv is dependent on resolution of the file as you know, and this issue only occurs on 1080p files on my tv. If I scale the 1080p frame down manually BEFORE I go full screen on the tv, swapping between files won't break the window. |
Please make screenshots. |
@stax76 I did the best I could with the screenshots. Something I've yet to mention is that when mpvnet exits full screen, to get the border back I have to double click the player 2 times and it will snap back into full screen and give the border back. Alternatively click B two times. |
I did my best trying to reproduce this, unfortunately I cannot. |
Maybe use |
That's unfortunate. Thanks for trying, though. You have absolutely no clue as to what it may be given that it occurred between 5.4.4.0 and 5.4.5.0? You did change something with how mpvnet interprets video size / resolution between those two, right? I guess it's not possible to fix something when you can't reproduce the error yourself. |
mpvnet is acting strange on me in general it seems, now I'm getting inconsistencies in start-size = video as well, a 1080p one will be downscaled to 720p, then restarting the player/file and it'll be its full 1080p self again. Maybe I should just remove it and do a clean install. Are any config settings saved outside of "AppData\Roaming\mpv.net" ? |
@ ll811 This is strange. I will test all those things a bit later:
|
uninstall : tested twice, worked flawlessly ! |
I ended up deleting the files manually, as well as cleaning up the appdata folder, and restarting the computer before a fresh install. Still have the same issue on the extended display after having changed nothing but the "Start-size = video" setting. |
@ll811 @stax76 I confirm the issue of the second display in "Extend".
=> when it jumps to next file, mpv.net quits full screen mode, and has no borders !!! It seems that when draging mpvnet from display1 to display2, there is some information missing, no? Because in step 4, if you RESIZE the window just before going to full screen, the problem doesn't happen. @ll811 This could be something difficult to track and to fix. I really suggest you remove start-size=video, |
@44vince44 Wow, thank you for going through the trouble! Glad someone was at least able to reproduce the issue. Thank you for the suggestion, I'll use that for now! Is it possible to bind window size to a key? Say I open a 480p file, using autofit=65 is going to upscale this a great deal, say I wanna bind "z" to scale the window to the size of the original resolution, is that possible? |
@ll811 there is no such binding, there is a command window-scale but it scales to the size of the current window. You are trying to achieve 1 pixel of the display = 1 pixel of the video. Exact pixel match. And don't forget, Stax will stumble on it one day. |
@44vince44 It's more that I sometimes want to view a video at its native resolution. I've got like a 7 year old cpu and the gtx 960, think it'll handle that setup well? |
@ll811 gtx 960 should handle it... (you can check the gpu activity in windows task manager while playing) |
@44vince44 @stax76 |
@ll811 what is the resolution of the video file exactly? |
@44vince44 1920x1080 using 65% autofit. |
???? send me a mediainfo please to check AR etc....
what does that mean ? |
@44vince44 It's there 'on all 1080p files, it's not just this one.
Native resolution / Native scale. 1080p at 65 autofit is downscaled slightly from 1080p, the window at it's native size does not have the black line on the right side. |
so now show me the side bars with this same file (screenshot) |
@44vince44 it's already visible in the two screenshots I posted above. Bottom one has no black line on the right side, top one does. |
OMG you mean black tiny lines of ONE PIXEL width ? LOL, never noticed them. |
lmao, yes. |
Ok those will be treated in another thread. A little bit later I'll post it (but before, I need to check several things) |
@ll811 |
So it is normal !!!!! |
@44vince44 You're looking at the wrong side, the black pixel line appears on the right side, not the left. I still see it when hiding the border.
Does that matter? I had just put 65 in the settings, I changed to 65% and I haven't noticed anything different. |
OK i confirm it's there, only in the case of 1920x1080 video. |
@44vince44 thank you |
you're welcome. let's hope that stax will take a look at it |
Auto-play is broken when dragging the player over to my television screen. Once a file is finished playing and the next one in the playlist starts, the player exits full screen mode and removes the border of the player.
To Reproduce
Steps to reproduce the behavior:
Player will exit full screen and border will disappear
The text was updated successfully, but these errors were encountered: