-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
full screen mode (maximize) #543
Comments
A true full screen mode is always nice, with the full editing interface to make the most of the screen estate, while a clean playback fullscreen mode would also be handy, but more so if that can playback the simulated merged video cut points to check the segments what they will look like when exported. (#253 / #480 (comment)) |
would love to have a way to toggle the editing interface for distraction free viewing |
leave a thumb up if you like to see something implemented |
Lossless Cut is so good that I even watch movies with it now. As a content creator, being able to watch videos and easily extract the parts that catch my eye has made my work much easier. The biggest drawback I see right now is that we cannot toggle the fullscreen mode by double-clicking on the preview screen. |
Absolutely loving LLC, probably the coolest thing I've seen anyone do with ffmpeg. Kudos! I have voted on several additional wanted features, but they're mostly huge overhaul-level changes like both forms of batch/NLE editing (AKA #89/#976) or a perfected audio waveform. I appreciate how massive those requests are, and LLC is likely to remain a big part of my experiments even if those never come to fruition. Full-screen mode, conversely, feels like a relatively quick and easy thing to implement, yet it would mean I would no longer feel compelled to open a bunch of Potplayer instances as I search for the prefect snipping frame. I'm mostly chopping out small video segments to experiment with AI-based upscaling and frame interpolation and then comparing extremely nuanced results side-by-side in Nvidia's ICAT, so I really need to be constantly looking at every pixel of video data I can fit on my screen. Even a simple F11 or Ctrl+F in LLC would make a huge difference. Ideally, of course, this feature would involve both a remappable hotkey, and erdemdev's double-click alternative, and a way to preview merged segments in FS, and also some form of hidden, mouse-over-to-unhide minimal UI (maybe even with some way to reconfigure which buttons appear there?), but even a hardcoded "dumb" full-screen hotkey would completely change the way I use LLC. Seems like the very best bang-for-your-buck use of your precious dev time, at least for what I'm doing. Many thanks for continuing to work on this fantastic tool you have created! |
Apologies for not being more clear - I am definitely asking for a fullscreen mode that hides all UI elements and fills the monitor with only video. Anything beyond that is gravy. Using Potplayer as my example, I can either press Enter or middle-mouse-click to have a video touch all four monitor corners, with a minimal mouseover popup UI and additional settings for dealing with overscan/black bars, different aspect ratios, pan/zoom, etc.; MPC-HC is similar, but uses Ideally, I imagine it should not be terribly difficult to also enable all hotkeys to function in this new fullscreen mode, meaning that I could pop into fullscreen, scroll through the timeline with mousewheel, jog between frames with comma/period, select a segment with I/O, and then pop back into "UI Mode" to do exporting or whatever else. You have a really excellent hotkey schema already baked into LLC, and (for me at least, but I suspect for several other posters here as well) this would really unlock a major part of LLC's untapped potential. That such an impactful change would seemingly require a pretty small amount of work is why I bothered submitting the request when there are a million other things you also want to add. 😁 One last note: On Win10/11, Many thanks for taking the time to consider this addition, it's very appreciated! |
Ok I've added a fullscreen feature. double click the video or bind your own key (default f, same as youtube). will be out in the next version (and nightly build)! |
Great, fantastic! The segmenting workflow I described seems to work very well in FS mode, many thanks for adding it! I just have one remaining quibble and a rather bizarre bug report (is this even the right place for that?) Under Win10&11, Would it be reasonable to additionally request a simple "Hide menu bar in fullscreen mode" toggle in the Settings, defaulted to off (i.e., the current build's behavior)? That would seem to prevent inexperienced users from stumbling into fullscreen mode accidentally with no apparent way out while also satisfying 100% fullscreen absolutists like me. 😁 Also, an odd bug is identically present on both a Win10 PC and a different Win11 PC, and persistently repeatable: In FS mode, when alt-tabbing or clicking on any other window or even clicking the desktop of a second monitor and then clicking back into LLC, suddenly I am happy to provide additional testing, but I'm a bit of a Github newbie - any additional directions are very welcome, and I thank you for your patience and ongoing effort. 🙏 |
I can't reproduce this on macOs. When I fullscreen, there is no menu visible here. I don't even know how to fix this, because I'm using the requestFullscreen API. the only option I see is
i can reproduce this issue. will fix |
- show lower thirds in fullscreen - fix video focus issue #543 - show play icon when paused
That is frustrating! It definitely is not a "sometimes" bug, rather there's absolutely nothing I can do to get the menu bar to go away under either Win10 or 11. Isn't one of JS+Electron's selling points that the same code is supposed to run the same in any environment? 🤨 I am entirely out of my depth here - the only leads I've gotten are the obvious reminder that the Fullscreen API only works on the referenced BrowserWindow Configuration:
Since menu bars are very OS-dependent, I can almost believe MacOS and Windows have different defaults when I'll try to keep digging and eventually drop into the LLC Discord to hunt for more clues. I realize this is probably no longer a quick and easy request and we might never stumble upon one of the few people who would know exactly what's happening here, but I'm not ready to give up my 100% fullscreen dreams just yet! 😁 |
someone needs to do some testing on windows. i'm on macos so it's not trivial for me to run/debug in development mode on windows. but if there's a simple fix, i'm open to PR a fix |
I hope I'm not the guy for that job, as I've never touched JS nor so much as forked anything ever. Is this starting to look like a situation in which it might be appropriate to @ or email a Windows-focused Electron dev or possibly a past collaborator? Alternatively, it seems the only real clue we have thus far is the |
Ok i've enabled |
Ah-ha! Significant (but qualified) success! Under Windows 10 and 11, the most recent nightly hides the menu bar entirely from first execution, and it remains hidden in fullscreen mode. I was worried this rendered LLC unusable, however a peek at the Electron docs revealed I can make it reappear with a press of the Of course, from a usability standpoint, hiding the menu bar by default is almost certainly not a best practice, and at this point I doubt the average Windows user would even know that So, where you go from here is a question largely of design philosophy (and the extent you can get Electron to cooperate.) The quick-and-dirty solution might be to default I'm happy to continue testing for as long as you want to keep experimenting with this (and many thanks for getting us here!), but we are probably rapidly approaching a point where your time would be better spent elsewhere. 🙏 |
oh.. yea that's what i feared. i think another option is to set
I also found this open electron issue which is probably the same problem, however i'm baffled that there are not more people experiencing this issue. |
Docs seem to suggest this wouldn't quite work, but we're already outside expected operation, so it might be worth trying. I'll be checking this thread pretty frequently, so you'll have at least one longwinded Windows tester to try out any changes. 😁 Correct me if I'm wrong, but I feel like it's still an open question whether One final thing I can add that might dictate which solution is "most" correct: The one other feature I most want in LLC is a collapsible timeline UI AKA "seek bar" inside fullscreen mode, exactly of the sort PotPlayer, MPC-HC, and virtually any media player with a fullscreen mode has adopted. In short, when I need to jump from the beginning to the end of a video file, I'd like to drag my mouse down to a hot zone at the bottom of the LLC window, have a minimal clickable timeline UI element pop up that obscures the bottom of the fullscreen video (as opposed to resizing and placing black bars), click myself to the general area I want to be in, drag up out of the element thus instantly hiding it again, and scrollwheel to precisely where I want to make cuts. Yes, I could just exit fullscreen mode to achieve this kind of navigation, but when you're doing it hundreds of times per video, that small amount of friction really adds up. An additional ribbon of useful buttons or even bringing up the entire bottom section of LLC's windowed UI for momentary use would be great, but simply having quick access to click around the timeline without exiting or resizing fullscreen mode would make this mode feel complete. I suspect there is a fairly painless way to achieve this using one set of the options before you, and probably a bunch of relatively painful ways using the other competing functions, but that's why you're the developer and I'm just some guy. 😋 |
I've reverted the autoHideMenuBar option because i agree it's not nice to hide it for everyone.
the reason why i'm calling requestFullscreen API is because we need to fullscreen only parts of the UI (the video player), but not all the surrounding stuff. besides, the issue was reproduces by the person in the above issue and happens even with a normal
I will reopen this issue with the potential remaining fullscreen improvements. |
You are the actual best, mifi. Thanks! I can report it appears you already crushed the fullscreen alt-tabbing bug, too; the most recent Windows nightlies play nice and smooth and so far I haven't been able to knock them into that weird press-to-play state like I easily can with the last full release. What a boss! 🤩 Hopefully using the superior API will make popping up an existing UI element fairly straightforward, but I expect the Electron-level menu bar bug might take a while to get a proper fix, if one even comes. I'll be standing by for further nightlies and anything else I might be able to assist with. Keep up the awesome work! 👍 |
menu bar visible issue seems to be fixed in electron in electron/electron#43402 so next time losslesscut upgrades electron it should be fixed |
good news! I'd be happy to test this on Windows if shipped an executable (the menu bar is still present in the latest nightly). : ) |
yes, it seems to be ocming in electron 33 which has not yet been released |
now upgraded to electron 33. next nightly build will have it |
as suggested here #421, it could be nice with a button that removes all controls to allow a full screen video preview (or possibly only with playback controls).
The text was updated successfully, but these errors were encountered: