Keep video window open after finished playing

Feature requests for VLC.
Blaster
New Cone
New Cone
Posts: 7
Joined: 17 Oct 2011 08:48

Keep video window open after finished playing

Postby Blaster » 19 Oct 2011 00:59

Mac OS 10.7.2
VLC Player 1.1.12

When playing just a single video file and the video is done playing, the playback window closes by itself. Even if I accidentally move the timeline slider to end of the video and try to move it back, it still closes by itself. This behavior is annoying. When playing either a single video or the last video in the playlist and it reaches the end, I just want it to stay on the last frame and the window to remain open. I don't want the video to close, repeat, or resize. I just want the video to stay at the end of the timeline and remain open.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Keep video window open after finished playing

Postby VLC_help » 19 Oct 2011 15:58

Code: Select all

--play-and-pause, --no-play-and-pause Play and pause (default disabled) Pause each item in the playlist on the last frame. (default disabled)
http://wiki.videolan.org/VLC_command-line_help

In GUI this option can be found from Preferences (tick All) then Playlist

Blaster
New Cone
New Cone
Posts: 7
Joined: 17 Oct 2011 08:48

Re: Keep video window open after finished playing

Postby Blaster » 01 Nov 2011 09:15

I enabled the Preferences > All > Playlist > "Play and Pause" option. So it pauses at the last frame. But if I click Play again, the video just closes like it did before. I would like it to behave more like QuickTime Player, where it pauses at the last frame, then starts again from the beginning when the Play button is clicked. I was able to simulate this by going to the Playback menu and selecting Repeat One. But the Repeat One option is not remembered. Every time I quit and reopen VLC Player, the Repeat One option is disabled. I also tried the Preferences > All > Playlist > Repeat Current Item and Repeat All, but those options don't work either.

When the VLC playlist contains only 1 item, I want to make the VLC playback window behave more like QuickTime Player: Pause at the last frame, then start again from the beginning when the Play button is clicked. And I would like the setting to be remembered so I don't have to reconfigure it every time I start VLC Player.

Reziac
New Cone
New Cone
Posts: 1
Joined: 18 Apr 2019 17:06

Re: Keep video window open after finished playing

Postby Reziac » 18 Apr 2019 17:09

I know this is an ancient complaint, but... mine (v2.2.1 on WinXP) used to behave exactly as desired above: window stayed open at the default size after video ended. (As I preferred.) Then about a month ago it began closing after the end of the video. I did not change any settings and updates are disabled. But suddenly its behavior has changed. ???!!

cmhammock
New Cone
New Cone
Posts: 4
Joined: 09 Jul 2019 03:12

Re: Keep video window open after finished playing

Postby cmhammock » 09 Jul 2019 03:29

Since this topic was recently reopened, I'll make use of it.....
My "problem" is exactly the opposite.... I am trying to create a sort of appliance using a Raspberry Pi (3B+) and Raspbian. In my case I want (need) the video window to close and go away at the end of the video, but it insists on staying open, apparently awaiting a user command to show another video. This a relatively new level of Raspbian and vlc is 3.0.7.
So, question 1 is, how can I "force" the video window to close at the end of the video (invoked vlc from within a script, essentially in line mode.)
Next, (different problem), the --no-video-deco seems to work in fullscreen mode, but when I use a window (using --width=nnn and --height=nnn), I still get all the extra menu-bars and controls. Also, in this window mode I try to use --video-x=nn and --video-x=nn to position the window ont he screen, but it seems to be ignored. I sent into the "references" and set anything that sounded like it might arfect these things, but no luck so far.
Any suggestions?
Thanks....

unidan
Developer
Developer
Posts: 1494
Joined: 25 Mar 2018 01:00

Re: Keep video window open after finished playing

Postby unidan » 09 Jul 2019 11:21

Hi
I know this is an ancient complaint, but... mine (v2.2.1 on WinXP) used to behave exactly as desired above: window stayed open at the default size after video ended. (As I preferred.) Then about a month ago it began closing after the end of the video. I did not change any settings and updates are disabled. But suddenly its behavior has changed. ???!!
You can use --play-and-pause or enable "pause on the last frame of a video" in interface settings
My "problem" is exactly the opposite.... I am trying to create a sort of appliance using a Raspberry Pi (3B+) and Raspbian. In my case I want (need) the video window to close and go away at the end of the video, but it insists on staying open, apparently awaiting a user command to show another video. This a relatively new level of Raspbian and vlc is 3.0.7.
Like you said, your issue is completely irrelevant to this subject, please create a new one ;)

MickM
Blank Cone
Blank Cone
Posts: 55
Joined: 06 Jan 2017 14:57
Operating System: macOS

Re: Keep video window open after finished playing

Postby MickM » 17 Feb 2022 17:19

Sorry to open up such an old post, but my request is the same as the original poster. I'm looking at many different 7 sec clips of the same video but compressed in different ways. The window closing after each viewing is driving me crazy. I'm running VLC 3.0.17 on a Mac and the previous advice of:
enable "pause on the last frame of a video" in interface settings
isn't anything I can see in the interface settings. Could somebody please help me with this?

rjclayton
New Cone
New Cone
Posts: 1
Joined: 30 Sep 2022 14:05

Re: Keep video window open after finished playing

Postby rjclayton » 30 Sep 2022 14:10

VLAN_Help's comment about the command line options solved it for me on my Mac, and also pauses in the same way in Windows 11. VLC has to be launched on command line to get the desired behavior.

For the Mac command line:

/Applications/VLC.app/Contents/MacOS/VLC --play-and-pause

For the Windows command line:

"%PROGRAMFILES%\VideoLAN\VLC\vlc.exe" --play-and-pause

In Windows you can make a shortcut for it.

MickM
Blank Cone
Blank Cone
Posts: 55
Joined: 06 Jan 2017 14:57
Operating System: macOS

Re: Keep video window open after finished playing

Postby MickM » 01 Oct 2022 03:49

For the Mac, is there anything that can be manually added to the preferences (~/Library/Preferences/org.videolan.vlc.plist) to mimic this behavior?

maosmurf
New Cone
New Cone
Posts: 1
Joined: 01 Dec 2022 01:07

Re: Keep video window open after finished playing

Postby maosmurf » 01 Dec 2022 01:17

For the Mac, is there anything that can be manually added to the preferences (~/Library/Preferences/org.videolan.vlc.plist) to mimic this behavior?
Hi!
On MacOS, setting Playlist -> Play and Pause did the trick for me!
Alternatively, you could launch the app via /Applications/VLC.app/Contents/MacOS/VLC --play-and-pause

Initially it dis not work for me but I think having multiple items in the playlist "helps"


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 7 guests