Plugin for VLC that pauses/plays video on mouse click

Overview

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.

Install

Windows

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

For the nightly VLC 4.0 see the nightly builds.

Extract the archive at {VLC}\plugins\video_filter\, where {VLC} 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.

macOS

Download an appropriate archive:

Version/Bitness VLC 64 bit
VLC 2.1 Download
VLC 2.2 Download
VLC 3.0 Download

For the nightly VLC 4.0 see the nightly builds.

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.

Linux

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.

Debian

Get required libraries and tools:

sudo apt-get install build-essential pkg-config libvlccore-dev libvlc-dev

Get the latest release of the plugin:

sudo apt-get install git
git clone https://github.com/nurupo/vlc-pause-click-plugin
cd vlc-pause-click-plugin
git checkout \
  "$(git tag --list | grep -P '^(\d+).(\d+).(\d+)$' | \
    sed "s/\./ /g" | \
    sort -snk3,3 | sort -snk2,2 | sort -snk1,1 | \
    tail -n 1 | \
    sed 's/ /\./g')"

(Or alternatively download the latest release's tarball, extract it and cd into it)

Build and install:

make
sudo make 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.

Arch Linux

There is vlc-pause-click-plugin package available in the AUR repository.

Usage

  1. Restart VLC to load the newly added plugin [screenshot]
  2. Go into advanced preferences: Tools -> Preferences -> Show settings -> All [screenshot] [screenshot]
  3. Enable the plugin with a checkbox: (in advanced preferences) Interface -> Control Interfaces -> Pause/Play video on mouse click [screenshot]
  4. Enable the plugin with a checkbox: (in advanced preferences) Video -> Filters -> Pause/Play video on mouse click [screenshot]
  5. Change the plugin settings however you like: (in advanced preferences) Video -> Filters -> Pause click [screenshot]
  6. Restart VLC for settings to take place [screenshot]
  7. Play a video
  8. Click on the video picture to pause/play the video

Make sure you have checked both of "Pause/Play video on mouse click" checkboxes per #3 and #4! It's a very common mistake to skip one of those.

Troubleshooting

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.

License

LGPLv2.1+

Issues
  • Can't install on snap

    Can't install on snap

    Is there a way to install the plugin if I installed vlc 3 through snap? I'm using a debian-based distro of linux but the debian instruction doesn't work, maybe because snap installs the applications in a read-only partition in the root directory. Tried to copy the .so file in /snap/vlc/usr/lib etc.. but can't write in the directory. Is there another way to install the plugin or to copy the file in that directory? (Tried to change the permissions but without success)

    opened by giuseppe-dandrea 30
  • Pause not working for me in VLC 3.0.3

    Pause not working for me in VLC 3.0.3

    It’s the only version I’ve tried it with and I’ve been futzing with it for an hour.

    1. Downloaded & installed the 64-bit version. https://github.com/nurupo/vlc-pause-click-plugin/releases/download/1.0.0/vlc-3.0-macosx.zip

    1

    1. Placed plugin in correct folder. Path is /Applications/VLC.app/Contents/MacOS/plugins/libpause_click_plugin.dylib.

    2

    1. Enabled Ignore double clicks in Show All>Video>Filters>Pause click.

    3

    1. Enabled Pause/Play video on mouse click in Show All>Interface>Control interfaces.

    4

    1. Closed VLC.

    2. Opened VLC and played video. Clicked window and nothing happened. Double-clicks activate/deactivate fullscreen.

    3. Repeated steps 5&6 multiple times.

    4. Disabled/enabled checkboxes in steps 3&4.

    5. Repeated steps 5&6.

    6. Cussed a lot.

    opened by GitTheHellOutaHere 26
  • Instructions unclear

    Instructions unclear

    Sorry I'm opening an issue because there's just no way I can make this work. I have a fresh VLC 2.2.4 32bit installation (Windows 7).

    I have followed the install instructions to the letter. I have downloaded the 2.2.x, Windows, 32bit version of the plugin and extracted the archive in {VLC}/plugins/video_filter/.

    I have tried extracting only the content of the vlc-2.2.x+ directory. I have also tried extracting the whole archive in this plugin directory, including the whole archive tree, which doesn't really make sense, but that's the instructions. Whatever I do, nothing shows up in the advanced preferences.

    Screenshot : https://postimg.org/image/3u9cnp9jb/

    Of course I have restarted VLC several times, tried uninstalling it, reinstalling is, extracting the plugin in many ways..... Nothing will show up in the preferences.

    Can you please explain how to install this?

    opened by jeremythille 17
  • Play nicely with double click

    Play nicely with double click

    Double click is a shortcut to fullscreen, would be good if this could be detected and the video wasn't played/paused in this instance.

    A possible implementation would be to delay the play/pause until after the double click time window has expired, and then trigger if it was a single click only.

    opened by mustanggb 14
  • Loss of play/pause click functionality with h.265/h.264 codecs

    Loss of play/pause click functionality with h.265/h.264 codecs

    I'm on VLC 3.0.4 64-bit Windows and believe I may be experiencing loss of plugin functionality (if not, then I apologize ahead of time).

    The following checkboxes are checked as per the instructions:

    • Video >> Filters >> Pause/Play video on mouse click (text box reads "postproc:pause_click", also tested with just "pause_click")
    • Interface >> Control interfaces >> Pause/Play video on mouse click (text box reads "pause_click") Left mouse clicks are no-ops with or without "Ignore double clicks".

    In VLC's Advanced Preferences, if I check "Only show current" it does indeed display "Pause click" as a sub-node under Filters.

    Restarting VLC (with or without using the --reset-plugins-cache option) does not appear to help. Starting VLC with or without admin privileges also does not appear to change matters. Non-left-click variants (e.g., middle click) have also yielded no joy.

    opened by ThaddeusChristopher 11
  • Plugin doesn't work on Ubuntu 16.04

    Plugin doesn't work on Ubuntu 16.04

    Hi!

    I already have tested plugin on Ubuntu 16.04 vlc version from 2.2.2 to 2.2.4 and it doesn't seems to work as expected. I had been trying vlc from videolan PPA as well as compile and package vlc myself, but alas it is just not work at all on Ubuntu 16.04 with Unity DE.

    Regards!

    opened by Pleskan 10
  • fullscreen double-click speed doesn't do anything (?)

    fullscreen double-click speed doesn't do anything (?)

    Windows 10, 64-bit VLC v3.0.10, 64-bit

    Tools -> Preferences -> All -> Video -> Filters -> Pause click -> Double click interval (ms)

    No matter how quick I set the double-click to be, the window still seems absolutely massive. Like half a second or more, resulting in loads of unwanted fullscreen toggles. Changing how many milliseconds doesn't seem to change anything at all. Am I doing something wrong here?

    C-feature S-in-progress E-OS-windows E-VLC-B-64 E-VLC-V-3.0 
    opened by nr1995 9
  • Installation unsuccessful. please help.

    Installation unsuccessful. please help.

    I followed all the instructions, step-by-step. downloaded the 64 bit file for windows (which is what I have) Then extracted the file (via winRAR) to the specified path of "{VLC}/plugins/video_filter/" when that didn't work, I went and extracted it again, this time manually finding the path of computer > HPC (C:) > Program Files (x86) > VideoLAN > VLS > plugins > video_filter and placed the file there.

    there's still no check box in the advanced preferences under video filter called "Pause/Play video on mouse click" for me to check.

    I even tried to open the specific file through VLC directly (which is why all the pics next to all the plugin files now have mini-VLC icons next to them instead of the usual gears one)

    I don't understand what I've done wrong. please help.

    pause-play plugin

    pause plugin 2

    opened by 0megaZer0 9
  • Does not work with 64bit 3.0.x nightlies

    Does not work with 64bit 3.0.x nightlies

    I have vlc-3.0.x-64bit-win.zip and tried it with the plugin. After carefully applying all the settings, and restarting VLC, this is what happens:

    VLC does start, but the moment I try to play any movie with it, VLC goes away quietly.

    BTW, I did try older versions too, but the current version of VLC 64 I am using says this in Help | About: 3.0.0-git-20150306-0402 Vetinari

    opened by adem0x 9
  • How to disable toggle fullscreen with mouse double click?

    How to disable toggle fullscreen with mouse double click?

    I just have a question and I do not know where else to ask it. The plugin works great, thank you for creating it.

    There is just a little annoyance that when I make two clicks close to each other, the player toggles fullscreen. A desired behavior for me would be that I toggle pause/play with left mouse clicks and double clicks, and the fullscreen toggle with mouse clicks would be either completely disabled, or reassigned to the middle mouse button.

    I searched high and low, could not find anything. Is there any way to do that?

    C-feature R-implemented 
    opened by Bill-Jobss 7
  • Doesn't work on VLC 3.0 & macOS

    Doesn't work on VLC 3.0 & macOS

    I followed the steps, copied the library into plugins directory and ran vlc with the --reset-plugins-cache argument, after which it finally showed up. I checked the plugin both under interfaces and video filters, however, it doesn't work. When I click on the screen, the video doesn't pause/resume.

    opened by jaromiru 7
  • Fedora tips

    Fedora tips

    Is your feature request related to a problem? Please describe

    Very difficult for fedora newbi

    Describe the solution you'd like

    but when you know it ,its verry simple, the same as Debian but only just one libraries : vlc-devel (and vlc of course)

    maybe you can put it in the readme?

    Describe alternatives you've considered

    no problem if not, just saying for helping

    Additional context

    good job!!!^^

    C-feature 
    opened by Shikakiben 0
  • Mac ARM/Universal binary support request

    Mac ARM/Universal binary support request

    Is your feature request related to a problem? Please describe

    Plugin doesn’t function when running arm64 binary or universal binary of VLC on an M1 Mac

    Describe the solution you'd like

    Plugin would come in 3 versions: intel, arm64, universal, same as how VLC binaries are distributed

    Describe alternatives you've considered

    Or it could come in 2 versions: intel and arm64 Tried to figure out if I could compile it for myself but I could’t figure out how to get the SDK for VLC 3.0

    Additional context

    In the mean time if you could update the documentation for VLC 3.0 macOS compilation that would be cool too

    C-feature S-help-wanted E-OS-macos 
    opened by kjoonlee 7
  • Does Not Seem to Work (Windows 10,VLC 3.0.12 x64)

    Does Not Seem to Work (Windows 10,VLC 3.0.12 x64)

    • OS: Windows 10
    • VLC version: 3.0.12
    • VLC bitness: 64 bit
    • Plugin version: 2.2.0 (downloaded today)
    • Plugin bitness: 64 bit

    Describe the bug:

    Plug-in doesn't work. i.e. clicking anywhere on the running VLC/video window does not pause/resume playback.

    Steps to reproduce:

    Installed as instructed; Both checkboxes are ticked. No other additional plug-in settings have tick-boxes checked. Have restarted VLC. Have restarted PC.

    Thanks for the effort to make the possibility for this must-have feature, but please help me to get it working.

    C-bug S-cannot-reproduce E-OS-windows E-VLC-B-64 E-VLC-V-3.0 
    opened by Teleportist 15
  • Disable fullscreen toggle on double click does not work

    Disable fullscreen toggle on double click does not work

    Checklist

    Environment

    • OS: macOS 10.15.7
    • VLC version: 3.0.11.1
    • VLC bitness: intel64
    • Plugin version: 3.0
    • Plugin bitness: N/A

    Describe the bug

    When i followed the tutorial of mac os vlc, then I selected disable fullscreen toggle on double click and restart, the double click still activate full screen and single click do pause!

    Steps to reproduce

    follow the mac os tutorial then select disable fullscreen toggle on double click

    Observed behavior

    double click full screen still work

    Expected behavior

    double click enables pause/play function rather than full screen

    Additional info

    C-bug S-info-needed E-OS-macos E-VLC-B-64 E-VLC-V-3.0 
    opened by koujiangheng 5
  • Add option to not pause when the click brings the VLC window to Active

    Add option to not pause when the click brings the VLC window to Active

    Is your feature request related to a problem? Please describe

    If I'm working in another window or on something that opens on top of VLC, when I click back to VLC it pauses the video (as expected). However, it is hard to avoid doing unless you specifically target the window top bar, the menu bar, or the bottom icon bar.

    Describe the solution you'd like

    I would rather my initial click which brings that window into focus from pausing the playback. Basically, I would prefer an option to restrict the "pause" behavior to only when VLC is already the active window.

    Describe alternatives you've considered

    I think this as an optional feature so that people can use this or not as they prefer as this behavior may not upset others.

    Additional context

    When in full screen on a secondary window, things can pop up over the VLC. If I use "WIn + Direction Key" I can shift that window back to my work screen. However if there are other items on that screen the VLC will still be under those full screen. So it would be nice to be able to just click over without the pause behavior. That's part of the problem.

    Also when "casting" to my Chromecast, switching to my VLC window which is showing the "cone", I don't always expect that that first click over will stop the video. It would be nice if the switch to VLC didn't pause, and then I could just "re-click" to click in the pause.

    C-feature S-help-wanted 
    opened by cochetti 2
Releases(2.2.0)
Owner
GPG: 1D4E 9375 AD9B D50F 80FF 55AC 6F55 0977 4B1E F0C2
null
A bittorrent plugin for VLC.

vlc-bittorrent (Bittorrent plugin for VLC) What is this? With vlc-bittorrent, you can open a .torrent file or magnet link with VLC and stream any medi

Johan Gunnarsson 319 Aug 7, 2022
Hack to allow live streaming from wyze cameras to vlc or mpv on your desktop.

Wyze Cam Live Streaming This is a hack to allow live streaming from a wyze cam on your local network. Installation - New! The simplest fix for wyze ev

null 80 Jul 31, 2022
mpv to vlc converter (for anilabx-lite-windows)

mpv-to-vlc Simple CPP project, created for AniLabX-Lite (requested by @themrlokopoff) Compiling Open project in Visual Studio Select "Release" version

raywave's junk projects 3 Aug 18, 2021
Vulkan Video Sample Application demonstrating an end-to-end, all-Vulkan, processing of h.264/5 compressed video content.

This project is a Vulkan Video Sample Application demonstrating an end-to-end, all-Vulkan, processing of h.264/5 compressed video content. The application decodes the h.264/5 compressed content using an HW accelerated decoder, the decoded YCbCr frames are processed with Vulkan Graphics and then presented via the Vulkan WSI.

NVIDIA DesignWorks Samples 115 Aug 4, 2022
Video stabilization is a software-based approach in real-time to eliminating environmental effects (wind, heavy vehicle etc.) and enhance the visual performance that degrade video streaming quality.

Video Stabilization Contents General Info Installation To Do General Info Video stabilization is a software-based approach in real-time to eliminating

null 5 Mar 7, 2022
Minimalist video maker -- simplify your music score video making process!

VisualScores 极简视频制作程序,简化你的乐谱视频制作! 如果需要编译,请解压 lib 文件夹中压缩包。 使用前请参考 manual 文件夹中的用户手册。 请勿修改、移动或删除 resource 文件夹中的任何文件。 VisualScores Minimalist video maker

Chen and Sim 5 Jan 11, 2022
OpenShot Video Library (libopenshot) is a free, open-source C++ library dedicated to delivering high quality video editing, animation, and playback solutions to the world

OpenShot Video Library (libopenshot) is a free, open-source C++ library dedicated to delivering high quality video editing, animation, and playback solutions to the world

OpenShot Studios, LLC 863 Aug 2, 2022
Vita Recorder is a plugin that allows to record video clips during your play sessions.

Vita Recorder Vita Recorder is a plugin that allows to record video clips during your play sessions. The code is based off VITA2PC at which has been a

Rinnegatamante 20 Jul 5, 2022
Free plugin-based video converter

SEZE II Смотреть на русском SEZE is a plugin-based video converter for Windows/Linux. You can write your video filter in C++ (see section "How to make

Ilya Halilov 18 Aug 13, 2022
Open h.265 video codec implementation.

libde265 - open h.265 codec implementation libde265 is an open source implementation of the h.265 video codec. It is written from scratch and has a pl

struktur AG 1.4k Aug 4, 2022
Vireo is a lightweight and versatile video processing library written in C++11

Overview Vireo is a lightweight and versatile video processing library that powers our video transcoding service, deep learning recognition systems an

Twitter 854 Aug 10, 2022
Olive is a free non-linear video editor for Windows, macOS, and Linux.

Olive is a free non-linear video editor for Windows, macOS, and Linux.

Olive Team 6.3k Aug 8, 2022
Video player for 3ds

Video player for 3DS Patch note v1.0.1 Added allow skip frames option v1.0.0 Initial release Summary Video player for 3DS Performance 256x144(144p)@30

Core 2 Extreme 110 Aug 9, 2022
A WFH utility to visually indicate user engagement of audio and video

DIY: In meeting indicator - WFH Utility The need for in meeting indicator at home So many of you have gotten accustomed to work from home by now. This

krishna kumar T 10 Jun 28, 2021
Real-Time Intermediate Flow Estimation for Video Frame Interpolation filter for VapourSynth

Description RIFE filter for VapourSynth, based on rife-ncnn-vulkan. Usage rife.RIFE(clip clip[, int model=0, int gpu_id=auto, int gpu_thread=2, bint t

Home Of VapourSynth Evolution 57 Aug 1, 2022
SRS is a simple, high efficiency and realtime video server, supports RTMP/WebRTC/HLS/HTTP-FLV/SRT/GB28181.

SRS is a simple, high efficiency and realtime video server, supports RTMP/WebRTC/HLS/HTTP-FLV/SRT/GB28181.

ossrs 18.8k Aug 4, 2022
Anki-like app for spaced repetition of video clips

ReeePlayer The ReeePlayer application is designed for spaced repetition of fragments (clips) of video and audio files with similar principle as in Ank

Filipp Volodin 11 May 2, 2022
NymphCast is a audio and video casting system with support for custom applications.

NymphCast is a software solution which turns your choice of Linux-capable hardware into an audio and video source for a television or powered speakers. It enables the streaming of audio and video over the network from a wide range of client devices, as well as the streaming of internet media to a NymphCast server, controlled by a client device.

Maya Posch 2.2k Aug 5, 2022
Shotcut - a free, open source, cross-platform video editor

cross-platform (Qt), open-source (GPLv3) video editor

MLT Framework 6.8k Aug 11, 2022