Vlc пауза при нажатии на экран
можно ли воспроизвести/приостановить фильм, просто нажав на окно? Я действительно скучаю по этой функции из Media Player Classic, но из того, что я мог найти, это невозможно в VLC.
Если вы щелкните правой кнопкой мыши на окне VLC список меню приходит с play, pause и более yepon его. Я использую это все время.
есть инструмент Классные Windows, это позволяет связать действие с нажатием кнопки мыши. Эти действия могут быть комбинациями клавиш или выполнением программы.
надеюсь, что это помогает.
Я создал расширения Lua за то, что вы хотите сделать. Пожалуйста проверить проект на github или аддоны версия страницы
Это расширение VLC делает паузу / воспроизведение одним щелчком мыши на экране. Он работает с версий 2.1, 2.2 и 3.0.
забавная альтернатива щелчку левой кнопкой мыши будет жесты, как указано здесь:
результат реален. но вы должны избегать двух других очень похожих жестов:
подробности:
перейдите в меню Сервис > Настройки [CTRL + P].
нажать на кнопку All под Показать настройки, чтобы перейти к дополнительно настроить.
перейти к интерфейс > интерфейсы управления.
Проверьте опцию, которая говорит интерфейс управления жестами мыши.
перейдите далее вниз к интерфейсу > интерфейсы управления > жесты.
для переключения воспроизведения или паузы: нажмите выбранную кнопку мыши и переместите влево, а затем вправо: (Также работает, если вы двигаетесь вправо, а затем влево)
но жесты мыши не настраиваются (и вы не можете отключить некоторые из тех, которые вам не нужны). Поэтому избегайте других движений, таких как вверх и вниз, чтобы избежать других жестов и вызвать другие действия, такие как вниз, а затем влево, который выходит из игрока
Инструкция по настройке: Постановка на паузу/воспроизведение по клику мыши в VLC media player версии 2.1, 2.2 и 3.0.
Используя различные видеоплееры, мы уже привыкли к тому, что останавливаем (ставим на паузу) видеозапись левой кнопкой мыши. Это и логично и удобно: мышкой запустили видеофайл и ей же останавливаем, не надо тянуться левой рукой до клавиатуры. Почему такой удобной функцией, по умолчанию, не оснащён медиаплеер VLC? Ей даже и не пахнет в настройках!
На текущий момент, актуальная версия плеера Version: 3.0.12 Windows 64 bit.
VLC 3.0.12
Для него и будем составлять данную инструкцию.
Для начала необходимо скачать плагин Pause Click plugin for VLC с сайта github.
Плагин Pause Click plugin for VLC
Выберите вашу версию плеера, битность ОС и нажмите Download. Ниже доступна версия для macOS.
Закройте программу VLC. Распакуйте плагин и поместите файл libpause_click_plugin.dll по пути: C:\Program Files\VLC\plugins\video_filter\. Ваш путь может быть длиннее — добавлена папка перед VLC: Videolan.
Далее выполняем все действия поэтапно:
- Открыть VLC >Инструменты >Настройки (Ctrl+P) > внизу Показывать настройки выбрать все;
VLC Интерфейсы управления
2. Слевать раскрыть раздел Интерфейс и выбрать вкладку Интерфейсы управления. Справа установить чекбокс «Pause/Play video on mouse click» (данный пункт появится только при наличии плагина (libpause_click_plugin.dll) в папке plugins\video_filter\).
Нажать кнопку «Сохранить» и закрыть VLC полностью;
3. Перезапустить VLC, также открыть Расширенные настройки. Раскрыть раздел Видео и выбрать вкладку Фильтры. Справа установить чекбокс «Pause/Play video on mouse click».
VLC Настройки/Видео/Фильтры
Опять нажать на кнопку «Сохранить» и закрыть VLC.
Теперь можно открыть наш медиаплеер и радоваться! Левой кнопкой мыши можно остановить видео, либо продолжить его воспроизведение.
Данный плагин можно скачать и установить для трех версий медиаплеера VLC: 2.1, 2.2 и 3.0.
Assets
- Added an option to disable full screen toggle on double click
- Added an option to disable context menu popup on right click
- Added an option to assign full screen toggle to any mouse button
- Added an option to assign context menu popup to any mouse button
Now you can freely assign pause/play, full screen toggle and context menu popup on any mouse button, as well as disable the full screen toggle and context menu popup if they were getting in your way of using the plugin.
Major version bump due to breaking settings compatibility with the previous versions of the plugin. Specifically, all the settings from the Video -> Filters -> Pause click section, except the "Double click interval", will be reset to their default values. The plugin enabling check boxes are unaffected, they will stay as they are.
Assets
- Fixed a bug when a double-click with left mouse key would trigger the pause/play regardless of which mouse key was selected for triggering the pause/play.
- Added screenshot links to the usage instructions.
- Dropped support of VLC 3.0.0 for now, as this VLC version has not been released yet and I'm not able to build the latest development progress of VLC.
No OS X binaries as I don't have an OS X system to build them. Feel free to contribute them though, we have build instructions that you could follow.
Assets
- Added support of VLC 2.2.x and 3.0.x.
- Replaced wildcard removal of objects files on an exact removel of the object file by its name in make clean.
- Added more precompiled Windows binaries.
Assets
- Added support for VLC 3.0.
- New dependency of libvlc-dev (Debian) was added due to the need of the version macro from vlc/libvlc_version.h .
- Makefile now has an optional OS argument, since it's no longer used exclusively for Linux.
This release just adds support for VLC 3.0 and out-of-tree builds, there are no new features or any kind of changes or bug fixes, so if you are using version 0.4.0 with VLC 2.1 or 2.2, there is no point in updating.
Assets
Added a long requested feature that allows the plugin to ignore double-clicking, making it possible to full-screen a video without pausing it. You can enable this feature in the plugin preferences, it's disabled by default. It's disabled by default because in order to detect double clicks, the plugin delays the pause/play action in the anticipation of the second click, so it doesn't feel as snappy as it's without the double-click detection delay.
Merged two versions of the plugin source code into one. The side-effect of this is that VLC 2.1's usage instructions became identical to VLC 2.2's, i.e. you now also have to check the checkbox in Interface -> Control Interfaces -> Pause/Play video on mouse click on VLC 2.1, when you didn't before.
Assets
- Fixed the issue of the plugin installation directory path not being portable across different Linux distributions, resulting in the plugin being installed in a directory where VLC wasn't configured to look for plugins.
- Minor documentation improvements
Just a minor release (patch version bump) that fixes installation on Linux.
Windows users, use the binaries from the previous release. No plugin code has changed in this release.
Assets
- Fixed the plugin not handling DVD menus properly -- it will no longer pause on clicks done in menu screens
- Added an option to overlay the pause/play icons on the video, just like VLC does it when you hit the space bar
- This option is enabled by default. If you don't like it, you can disable it in settings
Assets
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Ошибка 0xc00d5212 при открытии медифайлов HEVC
Pause Click plugin for VLC
VLC plugin that allows you to pause/play a video by clicking on the video image.
Can be configured to work nicely with double-click-to-fullscreen by enabling "Prevent pause/play from triggering on double click" option in the settings. By default it pauses on every click instead.
Table of contents
Supported versions of VLC
VLC 2.1, 2.2 and 3.0 are supported.
VLC versions below 2.1 are not supported. However, there is a lua extension that should work with VLC 2.0 and possibly even earlier versions of VLC.
Support for the newer VLC versions will be available as they get released and as I get time to work on it.
There is an experimental support for the nightly, in-development version of VLC (VLC 4.0). The development version of VLC often breaks both API and ABI, which can result in the plugin failing to build and the plugin built for nightly VLC of today be non-functional in newer nightly VLC builds. Due to this, the support for nightly VLC is very limited and low-priority. The plugin is not guaranteed to work correctly with it, or even work at all. If the plugin breaks to build against newer nightly VLC versions, it might not get fixed for quite some time. It's also quite possible that nightly VLC could have its own bugs that prevent the plugin from working that are out of my control to fix.
Download an appropriate archive:
Version/Bitness VLC 32 bit VLC 64 bit VLC 2.1 Download Download VLC 2.2 Download Download VLC 3.0 Download Download Extract the archive at \plugins\video_filter\ , where is the directory the VLC was installed into. By default, the 32-bit VLC installs into C:\Program Files (x86)\VideoLAN\VLC\ and the 64-bit one into C:\Program Files\VideoLAN\VLC\ .
Then follow the usage instructions below on how to enable the plugin.
If you want to build the plugin binary yourself, take a look at the build instructions.
Download an appropriate archive:
Version/Bitness VLC 64 bit VLC 2.1 Download VLC 2.2 Download VLC 3.0 Download Extract the archive at /Applications/VLC.app/Contents/MacOS/plugins/
Then follow the usage instructions below on how to enable the plugin.
If you want to build the plugin binary yourself, take a look at the build instructions.
Note that Snap versions of VLC are not supported. Not supported in a sense that I haven't figured out how to build the plugin such that it would be ABI compatible with the Snap VLC and how to make the Snap VLC load the plugin. If someone could figure that out and contribute their findings - that would be very helpful. This Snap VLC discussion might be useful.
Get required libraries and tools:
Get the latest release of the plugin:
(Or alternatively download the latest release's tarball, extract it and cd into it)
Build and install:
Then follow the usage instructions below on how to enable the plugin.
If these build instructions don't work for you (perhaps you are using a non-Debian-derived Linux distribution), there are more generic build instructions available.
There is vlc-pause-click-plugin package available in the AUR repository.
- Restart VLC to load the newly added plugin [screenshot]
- Go into advanced preferences: Tools -> Preferences -> Show settings -> All [screenshot][screenshot]
- Enable the plugin with a checkbox: (in advanced preferences) Interface -> Control Interfaces -> Pause/Play video on mouse click [screenshot]
- Enable the plugin with a checkbox: (in advanced preferences) Video -> Filters -> Pause/Play video on mouse click [screenshot]
- Change the plugin settings however you like: (in advanced preferences) Video -> Filters -> Pause click [screenshot]
- Restart VLC for settings to take place [screenshot]
- Play a video
- Click on the video picture to pause/play the video
I don't see any plugin-related options described in Usage instructions in my VLC preferences
- Make sure to restart VLC after you have put the plugin .dll (Windows) or .so (Linux) or .dylib (macOS) in the appropriate directory.
- Make sure you have downloaded the appropriate version of the plugin for the VLC you are trying to use it with. Plugin's version and bitness should match the version and bitness of the VLC you are trying to use the plugin with. Plugin's bitness has nothing to do with the operation system bitness. For example, if you use 32-bit VLC, it doesn't matter whether your Windows is 32-bit or 64-bit, you should use 32-bit version of the plugin, because it matches the bitness of the VLC you use.
- Some users have reported that they had to run the VLC executable with --reset-plugins-cache flag once for the plugin to appear in the GUI.
I do see the plugin-related options described in Usage instructions in my VLC preferences, but the plugin still doesn't work
- Double-check that you have followed Usage instructions closely, especially 3rd and 4th points. Look at the screenshots.
- Some users have reported that they had to re-install VLC and select "Delete preferences and cache" in the installer for the plugin to work.
If the issue persists, open an Issue in this repository and I will try to help.
Green video image
It has been reported that in some configurations (Windows + d3d11 hardware-accelerated decoding + Nvidia graphics) the plugin causes the video image to turn green when playing certain video formats.
There are several possible workarounds:
Disable hardware-accelerated decoding.
You can do so in: Tools -> Preferences -> (Simple) -> Input / Codecs -> Hardware-accelerated decoding
Enable filters with "D3D11" in their name: Tools -> Preferences -> (All) -> Video -> Filters
Note that this results in x2 GPU usage.
If you have Intel integrated graphics, you could try making VLC use that for its hardware-accelerated decoding.
It works for videos but not for audio-only files
That's not a bug, that's the expected behavior due to how the plugin and VLC work.
The plugin implements the "video filter" interface, which allows it to react on mouse clicks done on the video surface/image. When playing audio-only files, VLC doesn't show any video surface and thus doesn't load any of video filter plugins, so the plugin simply doesn't get loaded.
There is, however, a creative way to make the plugin work on audio-only files - enable an audio visualization via Audio -> Visualizations menu. Enabling an audio visualization will force VLC to create a video surface for the visualization and load the plugin. Now, if you click on the visualization, the audio should pause. All visualizations seem to work aside from the 3D spectrum one. If you are on Linux, depending on how VLC is packaged in your distribution, you might need to install an additional package to enable audio visualizations, despite them already being listed in the GUI (e.g. vlc-plugin-visualization package in Debian).
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Open with Desktop
- View raw
- Copy raw contents Copy raw contents
Copy raw contents
Copy raw contents
Pause Click plugin for VLC
VLC plugin that allows you to pause/play a video by clicking on the video image.
Can be configured to work nicely with double-click-to-fullscreen by enabling "Prevent pause/play from triggering on double click" option in the settings. By default it pauses on every click instead.
Table of contents
Supported versions of VLC
VLC 2.1, 2.2 and 3.0 are supported.
VLC versions below 2.1 are not supported. However, there is a lua extension that should work with VLC 2.0 and possibly even earlier versions of VLC.
Support for the newer VLC versions will be available as they get released and as I get time to work on it.
There is an experimental support for the nightly, in-development version of VLC (VLC 4.0). The development version of VLC often breaks both API and ABI, which can result in the plugin failing to build and the plugin built for nightly VLC of today be non-functional in newer nightly VLC builds. Due to this, the support for nightly VLC is very limited and low-priority. The plugin is not guaranteed to work correctly with it, or even work at all. If the plugin breaks to build against newer nightly VLC versions, it might not get fixed for quite some time. It's also quite possible that nightly VLC could have its own bugs that prevent the plugin from working that are out of my control to fix.
Download an appropriate archive:
Version/Bitness VLC 32 bit VLC 64 bit VLC 2.1 Download Download VLC 2.2 Download Download VLC 3.0 Download Download Extract the archive at \plugins\video_filter\ , where is the directory the VLC was installed into. By default, the 32-bit VLC installs into C:\Program Files (x86)\VideoLAN\VLC\ and the 64-bit one into C:\Program Files\VideoLAN\VLC\ .
Then follow the usage instructions below on how to enable the plugin.
If you want to build the plugin binary yourself, take a look at the build instructions.
Download an appropriate archive:
Version/Bitness VLC 64 bit VLC 2.1 Download VLC 2.2 Download VLC 3.0 Download Extract the archive at /Applications/VLC.app/Contents/MacOS/plugins/
Then follow the usage instructions below on how to enable the plugin.
If you want to build the plugin binary yourself, take a look at the build instructions.
Note that Snap versions of VLC are not supported. Not supported in a sense that I haven't figured out how to build the plugin such that it would be ABI compatible with the Snap VLC and how to make the Snap VLC load the plugin. If someone could figure that out and contribute their findings - that would be very helpful. This Snap VLC discussion might be useful.
Get required libraries and tools:
Get the latest release of the plugin:
(Or alternatively download the latest release's tarball, extract it and cd into it)
Build and install:
Then follow the usage instructions below on how to enable the plugin.
If these build instructions don't work for you (perhaps you are using a non-Debian-derived Linux distribution), there are more generic build instructions available.
There is vlc-pause-click-plugin package available in the AUR repository.
- Restart VLC to load the newly added plugin [screenshot]
- Go into advanced preferences: Tools -> Preferences -> Show settings -> All [screenshot][screenshot]
- Enable the plugin with a checkbox: (in advanced preferences) Interface -> Control Interfaces -> Pause/Play video on mouse click [screenshot]
- Enable the plugin with a checkbox: (in advanced preferences) Video -> Filters -> Pause/Play video on mouse click [screenshot]
- Change the plugin settings however you like: (in advanced preferences) Video -> Filters -> Pause click [screenshot]
- Restart VLC for settings to take place [screenshot]
- Play a video
- Click on the video picture to pause/play the video
I don't see any plugin-related options described in Usage instructions in my VLC preferences
- Make sure to restart VLC after you have put the plugin .dll (Windows) or .so (Linux) or .dylib (macOS) in the appropriate directory.
- Make sure you have downloaded the appropriate version of the plugin for the VLC you are trying to use it with. Plugin's version and bitness should match the version and bitness of the VLC you are trying to use the plugin with. Plugin's bitness has nothing to do with the operation system bitness. For example, if you use 32-bit VLC, it doesn't matter whether your Windows is 32-bit or 64-bit, you should use 32-bit version of the plugin, because it matches the bitness of the VLC you use.
- Some users have reported that they had to run the VLC executable with --reset-plugins-cache flag once for the plugin to appear in the GUI.
I do see the plugin-related options described in Usage instructions in my VLC preferences, but the plugin still doesn't work
- Double-check that you have followed Usage instructions closely, especially 3rd and 4th points. Look at the screenshots.
- Some users have reported that they had to re-install VLC and select "Delete preferences and cache" in the installer for the plugin to work.
If the issue persists, open an Issue in this repository and I will try to help.
Green video image
It has been reported that in some configurations (Windows + d3d11 hardware-accelerated decoding + Nvidia graphics) the plugin causes the video image to turn green when playing certain video formats.
There are several possible workarounds:
Disable hardware-accelerated decoding.
You can do so in: Tools -> Preferences -> (Simple) -> Input / Codecs -> Hardware-accelerated decoding
Enable filters with "D3D11" in their name: Tools -> Preferences -> (All) -> Video -> Filters
Note that this results in x2 GPU usage.
If you have Intel integrated graphics, you could try making VLC use that for its hardware-accelerated decoding.
It works for videos but not for audio-only files
That's not a bug, that's the expected behavior due to how the plugin and VLC work.
The plugin implements the "video filter" interface, which allows it to react on mouse clicks done on the video surface/image. When playing audio-only files, VLC doesn't show any video surface and thus doesn't load any of video filter plugins, so the plugin simply doesn't get loaded.
There is, however, a creative way to make the plugin work on audio-only files - enable an audio visualization via Audio -> Visualizations menu. Enabling an audio visualization will force VLC to create a video surface for the visualization and load the plugin. Now, if you click on the visualization, the audio should pause. All visualizations seem to work aside from the 3D spectrum one. If you are on Linux, depending on how VLC is packaged in your distribution, you might need to install an additional package to enable audio visualizations, despite them already being listed in the GUI (e.g. vlc-plugin-visualization package in Debian).
Added:
Changed:
- Improved the settings page under "Video -> Filters -> Pause click". Names of some options were changed to better reflect what they do, e.g. "Ignore double clicks" -> "Prevent pause/play from triggering on double click". The options are also grouped by a common theme now.
Fixed:
- The "Ignore double clicks" option now forces the custom double click interval on the fullscreen toggle, fixing the issue of having to guess fullscreen's double click interval, which caused this option to misbehave when under-guessed.
Вам также может понравиться
Как отключить уведомления Фокусировка внимания Windows 10
Assets
- Added ability to select which mouse button to use for pausing. Note that Scroll Up/Down (maybe also Left and Right) don't seem to work on Windows, but do work on Linux. VLC simply doesn't notify the plugin of those mouse clicks on Windows.
- Fixed the issue that Mouse Left double-clicking on Windows would result in previously paused video being played, or the other way around -- previously played video being paused.
- Added a Dockerfile in case you feel like cross-compiling Windows plugin binaries yourself.
- Travis-CI now will be checking any PRs that will be made, making sure PRs build on Linux and Windows.
No OS X binaries as I don't have an OS X system to build them. Feel free to contribute them though, we have some build instructions somewhere.
Assets
- Fixed undefined reference errors during building, caused by malformed Makefile.
- Removed unused variable warnings.
- Added generic build instructions, so that users would know how to build their own plugin binaries if they want to.
- Added OS X plugin binaries for 2.2.x and 3.0.x, kindly contributed by @xenio.
Windows plugin binaries didn't change since the last release, so attaching just the OS X plugin binaries here.
Читайте также: