Description: Clipper2 is a VLC extension to create portions (clips) of files. It provides facilities to jump backwards and forwards within a video by 1 frame, 1 second, 10 seconds or 1 minute. It includes a feature to create successive clips from a file (like fido_a, fido_b, fido_c, etc.). It calls the external ffmpeg program to create the clips.
INSTALLATION: Put the clipper2.lua file in the VLC subdir /lua/extensions, by default: * Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\extensions\ * Windows (current user): %APPDATA%\VLC\lua\extensions\ * Linux (all users): /usr/share/vlc/lua/extensions/ * Linux (current user): ~/.local/share/vlc/lua/extensions/ * Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/extensions/ (create directories if they don't exist) If VLC is not running, this extension will be available next time it starts. If VLC is running, restart it, or in the VLC "Tools | Plugins and Extensions" item, select the "Active Extensions" tab, then click the "Reload Extensions" box.
This extension uses the ffmpeg program to create the clip. I believe that ffmpeg is part of the usual VLC package. If your system does not have ffmpeg, search for "install ffmpeg windows" or "install ffmpeg linux", or whichever operating system you are using.
USAGE: Go to the "View" menu and select "Clipper2". Select a file to play. Select Start and Stop times for the desired clip. Click the "Save clip" box to save the clip. Click the "Help" button for detailed instructions.
TESTED SUCCESSFULLY ON: VLC 3.0.16 on Windows 10 VLC 3.0.9.2 on Xubuntu 20.04.3
The ffmpeg script that is created is missing a '/' at the beginning of the path to the source video. Therefore the clip is not created, and with the 'quiet' setting there is no indication what went wrong other than there is no file :-/
I could copy the ffmpeg CL and fix it so the clip was created after all ;-)
I'm glad you were able to solve your problem. The ffmpeg.exe program does not need to be in the same folder as the vlc.exe. It just needs to be where your operating system can find it when VLC calls the ffmpeg program to create the clip. For instance, on my Windows 10 system, vlc.exe is in C:\Program Files\VideoLAN\VLC and ffmpeg is in C:\Program Files\ffmpeg\bin. If VLC doesn't know where to find ffmpeg.exe, you can add the folder containing ffmpeg to the system path. For instructions, search for "add folder to path environment variable"
Ratings & Comments
5 Comments
The ffmpeg script that is created is missing a '/' at the beginning of the path to the source video. Therefore the clip is not created, and with the 'quiet' setting there is no indication what went wrong other than there is no file :-/ I could copy the ffmpeg CL and fix it so the clip was created after all ;-)
Win10 / VLC Will not work. "Error saving clip Status = 1
Win10 / VLC 3.0.16 - - - will not work. - - - "Error saving clip Status = 1"
okay. i got it. You need the ffmpeg.exe in the folder of the vlc.exe
I'm glad you were able to solve your problem. The ffmpeg.exe program does not need to be in the same folder as the vlc.exe. It just needs to be where your operating system can find it when VLC calls the ffmpeg program to create the clip. For instance, on my Windows 10 system, vlc.exe is in C:\Program Files\VideoLAN\VLC and ffmpeg is in C:\Program Files\ffmpeg\bin. If VLC doesn't know where to find ffmpeg.exe, you can add the folder containing ffmpeg to the system path. For instructions, search for "add folder to path environment variable"