Giter Club home page Giter Club logo

vidcutter's Introduction

VidCutter

AUR-GIT Build Status Build Status Codacy Badge

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

flatpak (Linux)

Install via Flathub

or via the terminal:

$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
  (to enable the flathub repo if not already)
  
$ flatpak install flathub com.ozmartians.VidCutter
$ flatpak run com.ozmartians.VidCutter

snap (Linux)

Install via Snap store

or via the terminal:

$ sudo snap install vidcutter

Arch Linux (incl. Manjaro/etc.)

Users can install the stable version directly from the Arch Linux community repo packages or via AUR for the development version.

LATEST STABLE RELEASE:

    $ sudo pacman -S vidcutter

Using an AUR helper like yay (replace yay with any other AUR helper):

LATEST DEVELOPMENT RELEASE:

    $ yay -S vidcutter-git

Ubuntu (incl. Mint/Debian/KDE Neon/etc.)

Users can install the latest release via:

ppa:ozmartian/apps

The following set of commands will get you up and running:

$ sudo add-apt-repository ppa:ozmartian/apps
$ sudo apt update
$ sudo apt install vidcutter

openSUSE

VidCutter is available from openSUSE's official repos for Tumbleweed, Leap versions will be supported soon. Community built packages can be found @ https://software.opensuse.org/package/vidcutter.

VidCutter is also available from the popular Packman repository. Instructions to enable it can be found @ https://en.opensuse.org/Additional_package_repositories#Packman.

Fedora

Fedora 34 & Rawhide builds via copr @ https://copr.fedorainfracloud.org/coprs/suspiria/VidCutter

$ dnf copr enable suspiria/VidCutter

Also available at United RPMs at https://unitedrpms.github.io and https://github.com/UnitedRPMs/unitedrpms


Microsoft Windows

Download the latest Windows installer by clicking the button below.

Latest Releases

Chocolatey package

VidCutter is available from Chocolatey (its a package manager like in Linux but for Windows).

To install VidCutter, run the following command from the command line or PowerShell:

C:\> choco install vidcutter

To upgrade VidCutter, run the following command from the command line or PowerShell:

C:\> choco upgrade vidcutter

macOS

Only macOS Catalina and below is currently supported. Big Sur is unstable until further notice.

Download the latest macOS installer by clicking the button below.

Latest Releases

Homebrew package

VidCutter is available from Homebrew as a cask.

To install VidCutter, run the following command in a terminal:

$ brew install --cask vidcutter

Running from Python source

In order to run from source code you need to first build a Python extension and then run the app as follows, from within the source code folder:

$ python3 setup.py build_ext -i
$ python3 -m vidcutter

Working installations of libmpv and ffmpeg must be pre-installed for your specific OS. For Linux, package names are usually named libmpv1 or mpv and ffmpeg. For the media information option to work you'll also need a working install of mediainfo.

You will need Python packages pyopengl and simplejson pre-installed, via pip install pyopengl simplejson or distro packages, and a working PyQt5 + Qt5 libraries installation. Windows users can simply pip install PyQt5 to be up and running, Linux users should install a relevant PyQt5 package from their Linux distribution's package manager. Linux package names for PyQt5 are usually named python-pyqt5 or python3-pyqt5 and will take care of the Qt5 side of things too.


Command-line for debugging (Linux/macOS only)

$ vidcutter --help

Usage: vidcutter [options] [video] [project]

VidCutter - the simplest + fastest video cutter & joiner

Options:
  --debug        debug mode; verbose console output & logging. This will
                 basically output what is being logged to file to the console
                 stdout. Mainly useful for debugging problems with your system
                 video and/or audio stack and codec configuration.
  --dev          developer mode; disables the use of compiled resource files so
                 that all app resources & assets are accessed directly from the
                 file system allowing you to see UI changes immediately. this
                 typically relates to changes made to Qt stylesheets (.qss),
                 layout/templates, content includes and images. basically all
                 assets defined in .qrc files throughout the codebase.
  -v, --version  Displays version information.
  -h, --help     Displays this help.

Arguments:
  video          Preload video file
  project        Open VidCutter project file (.vcp)

vidcutter's People

Contributors

ajorpheus avatar codacy-badger avatar ferdnyc avatar nekopsykose avatar ozmartian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vidcutter's Issues

Great but lacks TWO MUST-HAVE features

@BunsenLabs x32
When I first installed via PPA & ran it ..throwed some Segmentation Fault error & didn't launch ,,Fixed via installing gstreamer0.10-plugins-good & gstreamer0.10-plugins-ugly

FEATURES:
1] Need to zoom on time line to get accurate time slicing for small screens
2] Ability to Save/Load clip_index in some sort of project file be it .XML or simple .TXT to resume work on big duration videos

segmentation fault

Hi,
I'm using vidcutter 3.2.0~201705111415~ubuntu16.04.1 and I'm experiencing segmentation faults. Especially when browsing using multiple 5 seconds forwards (Alt + up).
EDIT: It can also happen when saving media.

Here is a sample video on which I'm able to reproduce it everytime: https://pub.jeekajoo.eu/sample.mp4
So that you can try by yourself.

Debug log:

minimum size set to: PyQt5.QtCore.QSize(900, 640) (NORMAL)
2017-05-14 16:42 - vidcutter.libs.videoservice - INFO - VideoService: backend = "/usr/bin/ffmpeg"	mediainfo = "/usr/bin/mediainfo"
2017-05-14 16:42 - vidcutter.videocutter - INFO - MPV info - cplayer: Playing: /home/jeekajoo/gopro/sample.mp4
2017-05-14 16:42 - vidcutter.videocutter - INFO - MPV info - cplayer:  (+) Video --vid=1 (*) (h264)
2017-05-14 16:42 - vidcutter.videocutter - INFO - MPV info - cplayer:  (+) Audio --aid=1 --alang=eng (*) (aac)
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
2017-05-14 16:42 - vidcutter.videocutter - INFO - MPV info - cplayer: AO: [pulse] 48000Hz stereo 2ch float
2017-05-14 16:42 - vidcutter.videocutter - INFO - MPV info - vd: Using hardware decoding (vaapi).
2017-05-14 16:42 - vidcutter.videocutter - INFO - MPV info - cplayer: VO: [opengl] 1920x1080 vaapi
[1]    1040 segmentation fault  vidcutter --debug

Thanks

Alter Frame Rate

ffmpeg can easily alter the frame rate of a clip to do slow-motion etc.

ffmpeg -i source.avi -ss 00:30:49.640 -to 00:30:58.840 -q:v 0 -filter:v "setpts=2.0*PTS" -async 1 cut.avi
(note: the start and end point have to be multiplied by the SpeedUp factor (here 2) to keep the same clip content)

A slider bar (-4 - 0 - +4) could be added to vidcutter to control this.

Add video screen rotate feature

Besides cut - rotate also often used. Seems one of similar soft can do it - openshot or avidemus or else - but overbloated.

Repeat Clip

Having selected a clip it would be good if you could right click on it and choose "Repeat once" and the same clip would be added as the next clip in the index.

Support for multiple output files

As a Visual Artist I have often the problem that I want to split a clip into multiple parts. For example a music video into some loops which I can use as independent visuals then.

It would be great if you would support a multi-video output button. This would save all the clips I've marked, into a new file.

vidcutter won't startup

Ubuntu 14.04.5 install using the PPA.

$ vidcutter 

(python3:10440): GStreamer-CRITICAL **: gst_object_ref: assertion 'object != NULL' failed
Segmentation fault

Looked for a manpage - doesn't exist.
Tried adding more verbose output with -d and -vvv options.

$ vidcutter -h

(python3:12326): GStreamer-CRITICAL **: gst_object_ref: assertion 'object != NULL' failed
Segmentation fault

Don't know where to begin.

Change clip start

Once I click "set clip start", I no longer seem able to change it, nor by dragging, nor by clicking it again since it gets greyed out. But what if I make a mistake and want to chagne the clip start?

"Clear list" breaks video time cursor

Hi,
Using 3.2.0~201705111415~ubuntu16.04.1, doing "Clear list" breaks video time cursor.
You can't move it anymore using mouse cursor.

Screenshot:
screenshot_2017-05-14_18-30-23

Thanks

vidcutter won't start after recent update

@ Debian 7.0 x32 ...via ppa
THis issue occured after getting recent update ...before that running flawless

vidcutter
Traceback (most recent call last):
File "/usr/bin/vidcutter", line 9, in
load_entry_point('vidcutter==2.6.5', 'gui_scripts', 'vidcutter')()
File "/usr/lib/python3/dist-packages/vidcutter/main.py", line 144, in main
win = MainWindow()
File "/usr/lib/python3/dist-packages/vidcutter/main.py", line 23, in init
self.init_logging()
File "/usr/lib/python3/dist-packages/vidcutter/main.py", line 49, in init_logging
log_path = QStandardPaths.writableLocation(QStandardPaths.AppConfigLocation).lower()
AttributeError: type object 'QStandardPaths' has no attribute 'AppConfigLocation'

Side by Side Viewer

When cutting short clips if repetitive motion (e.g. for making GIFs) it is important to align the subject in the start scene with the subject in the end scene. (Imagine somebody bouncing on a trampoline)

It would be useful if vidcutter had 2 frames showing the source video so that in one you could select Start and in the other select End point.

AppImage does not run on older systems

Please don't use xenial ingredients for the AppImage, xenial is too new which means that the resulting AppImage will only run on very new systems. Using precise or trusty ingredients would be much better.

For more background on this, see here.

Reset Crash.

After saving file and pressing reset to load another clip for cropping, Loading another file crashes the program. I does not do this if you dont save a file.
It only does this on the windows version and has done this on previous versions of this program. OS is a fresh install less than 1 month.
Lest me know if you need any more info

2.5.0: Silent close on Windows 10 Pro x64 when opening media

I've been trying to use v2.5.0 x64 on Windows 10 Pro x64 and every time I try to load a video file, the program will silently terminate without any error message.

Does VidCutter creates some kind of log somewhere to help assist with what's going on?

Thanks,
m-p-3

Feature Request EDL Support

Please consider adding EDL support as produced by comskip and VideoReDo.
Would be ideal if EDL markers could be manually tweaked, since comskip isn't always right.

TIA

Minimum application size for low resolution screens

Opening vidcutter on my eeepc I found that the application minimum size is just too big for my screen (1024x600) and it cannot be resized smaller:

vidcut_offscreen

A smaller minimum size setting would be much appreciated, thanks :)

latest 3.2.0 don't start under Ubuntu wily 15.10

Hi,

1st try, by the way it didn't start :

bigbob@bigbob-UX31A:~$ vidcutter --debug --dev
minimum size set to: PyQt5.QtCore.QSize(900, 640) (NORMAL)
2017-05-13 00:54 - vidcutter.libs.videoservice - INFO - VideoService: backend = "/usr/bin/ffmpeg"	mediainfo = "/usr/bin/mediainfo"
2017-05-13 00:54 - root - CRITICAL -   File "/usr/bin/vidcutter", line 9, in <module>
    load_entry_point('vidcutter==3.2.0', 'gui_scripts', 'vidcutter')()
  File "/usr/lib/python3/dist-packages/vidcutter/__main__.py", line 287, in main
    win = MainWindow()
  File "/usr/lib/python3/dist-packages/vidcutter/__main__.py", line 54, in __init__
    self.init_cutter()
  File "/usr/lib/python3/dist-packages/vidcutter/__main__.py", line 180, in init_cutter
    self.cutter = VideoCutter(self)
  File "/usr/lib/python3/dist-packages/vidcutter/videocutter.py", line 171, in __init__
    self.initMPV()
  File "/usr/lib/python3/dist-packages/vidcutter/videocutter.py", line 301, in initMPV
    hwdec='auto' if self.hardwareDecodingAction.isChecked() else 'no')
  File "/usr/lib/python3/dist-packages/vidcutter/libs/mpv.py", line 457, in __init__
    _mpv_set_option_string(self.handle, k.replace('_', '-').encode('utf-8'), istr(v).encode('utf-8'))
  File "/usr/lib/python3/dist-packages/vidcutter/libs/mpv.py", line 102, in raise_for_ec
    raise ex(ec, *args)

2017-05-13 00:54 - root - CRITICAL - <class 'AttributeError'>: ('mpv option does not exist', -5, (<MpvHandle object at 0x7f8c58981bf8>, b'rebase-start-time', b'yes'))
bigbob@bigbob-UX31A:~$ lsb_release -a
LSB Version:	core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 15.10
Release:	15.10
Codename:	wily
bigbob@bigbob-UX31A:~$

Any idea of a fix ?

Regards

VidCutter hanging on OSX El Capitan

Hello,

I just downloaded VidCutter to give it a try on my Mac and it run, but there are a couple of flaws, first the app is not compatible with retina displays, it looks pixelated, the other is that when I drop a video or open using the load media button the app just hangs, there is not error on logs.

Regards,

Vidcutter pip3 install in Fedora 25 : Requirement error

Hi ! I'm trying the pip3 install, but I can't get very far since it returns this error :
Collecting PyQt5>=5.5 (from vidcutter) Could not find a version that satisfies the requirement PyQt5>=5.5 (from vidcutter) (from versions: ) No matching distribution found for PyQt5>=5.5 (from vidcutter)
As little as I understand this, something about PyQt5 should be included but it's not yet provided ?
Thank you for your help !

can't run Appimage

I was eager to try using Vidcutter, couldn't install it a few months ago due to dependency problems on 14.04, then tried it on 16.04 after I upgraded, still no luck.
When I try to run it in terminal, I get:

./VidCutter-3.2.0-linux-x64.AppImage /bin/bash: /tmp/.mount_q7Hhui/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash) Traceback (most recent call last): File "/tmp/.mount_q7Hhui/usr/bin/vidcutter", line 16, in <module> sys.exit(load_entry_point('vidcutter', 'gui_scripts', 'vidcutter')()) File "/usr/lib/python3/dist-packages/pkg_resources.py", line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2363, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2088, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python3/dist-packages/vidcutter/__main__.py", line 33, in <module> from PyQt5.QtCore import (QCommandLineOption, QCommandLineParser, QDir, QFileInfo, QProcess, ImportError: No module named 'PyQt5.QtCore'

Latest Vidcutter Not opening at all libmpv.so.1: undefined symbol

@ BunsenLabs x86, Debian

Installed latest version available n THIS date via adding ppa to Synaptic, everything installed fine
Invoking application from terminal throws this error & application won't run

Traceback (most recent call last):
  File "/usr/bin/vidcutter", line 9, in <module>
    load_entry_point('vidcutter==3.2.0', 'gui_scripts', 'vidcutter')()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/lib/python3/dist-packages/vidcutter/__main__.py", line 38, in <module>
    from vidcutter.videocutter import VideoCutter
  File "/usr/lib/python3/dist-packages/vidcutter/videocutter.py", line 55, in <module>
    import vidcutter.libs.mpv as mpv
  File "/usr/lib/python3/dist-packages/vidcutter/libs/mpv.py", line 333, in <module>
    _handle_func('mpv_create_client', [c_char_p], MpvHandle, notnull_errcheck)
  File "/usr/lib/python3/dist-packages/vidcutter/libs/mpv.py", line 286, in _handle_func
    func = getattr(backend, name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 364, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 369, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/i386-linux-gnu/libmpv.so.1: undefined symbol: mpv_create_client

All prerequisites are installed, although it seems my mpv version & libs are old, but should this be a problem?
http://imgur.com/P40k6UT

Multi audio streams

I've found problem with cutting videos with multi audio streams. During cutting process only first audio stream is leaving in a result file.

App ver 3.0.0

Doesnt work on ubuntu 16.04

gui loads, but opening a video just crashes.

log from command line:

vidcutter
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vidcutter/vidcutter.py", line 739, in handleError
self.startNew()
File "/usr/lib/python3/dist-packages/vidcutter/vidcutter.py", line 688, in startNew
self.initNoVideo()
File "/usr/lib/python3/dist-packages/vidcutter/vidcutter.py", line 208, in initNoVideo
self.novideoWidget.setBackgroundRole(QPalette.Dark)
RuntimeError: wrapped C/C++ object of type QWidget has been deleted
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vidcutter/vidcutter.py", line 739, in handleError
self.startNew()
File "/usr/lib/python3/dist-packages/vidcutter/vidcutter.py", line 688, in startNew
self.initNoVideo()
File "/usr/lib/python3/dist-packages/vidcutter/vidcutter.py", line 208, in initNoVideo
self.novideoWidget.setBackgroundRole(QPalette.Dark)
RuntimeError: wrapped C/C++ object of type QWidget has been deleted

'Clip Start' not quite accurate

If I select 'Clip Start' at the beginning of a video, the start point works fine. If I click 'Clip Start' later in the video it is very close, but not immediate and after a couple seconds go by then it marks the start point.

'Clip End' button always works well, no problem with selecting the end point of the video.

Also, the program doesn't remember the last opened file location. Which isn't a bug, more of a user preference.

produces zero-length files with VOB container

I got some VOB files from a DVD rip and I wanted to cut them up. They loaded just fine but when I tried to save them, a file got created that was zero-length. When I losslessly ocnverted the VOBs to mp4, I had no problems cutting them up using vidcutter.

Select start/end points by frame

Can you add option for selecting start/end points by frame?
I think this is better and more precisely than selecting by time.

cutting large file fails in the middle

I havea 9,3 GB 40 minutes mkv file that I want to cut into about 38 minutes file. The tool reports success but the resulting file is only about 10 minutes/2,3 gb long.

Support repeated cutting of a clip

Use case: I need to cut a clip into five parts. Right now, I have to restart the app, reload the video, find where the end of the last clip was, set is as as start, then set the end and cut as many times as I need to cut it. I think this workflow could be improved (by not closign the app after cutting, but if there were an option that would allow me to set multiple points A and B and then would cut multiple files at once, that would be great!

Remember user selections

When I set the volume level and the close and reopen the program my selection is not remembered :-(
There are probably other user selections to store that I don't know about :-)

Issues with mpeg-ts

.ts containers don't seem to work correctly.

Playing and seeking with the keyboard shortcuts work but when I use the seek bar or click a video clip, then the position jumps to the beginning of the video.

LICENSE and README.md are installed in /usr

As per subject, I couldn't find a switch to use with setuptools to correct this.

Since every other path is hardcoded for linux, couldn't the same be done for this?
(e.g. /usr/share/doc/packages/vidcutter)

Output file successfully 'ready', but 0 bytes.

Ubuntu 16.10
VidCutter 3.0.1

Vidcutter runs /usr/bin/ffmpeg -i "file.mp4" -ss 00:00:00.000 -t 02:04:29.995 -vcodec copy -acodec copy -map 0 -y "file_EDIT.mp4"

Which in Vidcutter shows as successfully clipped, though the saved output file is empty.

If I run that command manually, ffmpeg returns the following error:

Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (mov_text (native) -> ? (?))
Encoder (codec none) not found for output stream #0:2

Workaround: I changed the map flag to only process the first two streams -map 0:0 -map 0:1

not able to install in Ubuntu 16.1

CLI: LOG

jsroyal@Hp:~$ sudo add-apt-repository ppa:ozmartian/apps
Various apps for public distribution
More info: https://launchpad.net/~ozmartian/+archive/ubuntu/apps
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpymfcubdd/pubring.gpg' created
^[[Agpg: /tmp/tmpymfcubdd/trustdb.gpg: trustdb created
gpg: key 9BCA8B4F51A082C4: public key "Launchpad PPA for ozmartian" imported
^[[Agpg: Total number processed: 1
gpg: imported: 1
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
OK
jsroyal@Hp:$ sudo apt-get update
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
jsroyal@Hp:
$ sudo apt-get install vidcutter
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
jsroyal@Hp:~$

Help me to install :)

Lossless editing?

This project seems to be great by it's simplicity and the set of features it has nominates it to be great platform for lossless editing. There can be some optional lossless mode checkbox, that would result in the following:

1.) Once you import first clip to project, the other clips will have to use exactly same format (resolution, codec, etc...)
2.) You will be able to cut clips only on keyframes
3.) Output format will have to match input format
4.) There will be no re-encoding during output making everythig blazing fast and absolutely lossless.
5.) As a bonus you can export to variety of containers as long as they will support the input formats

This will enable us to do fast lossless edits in cases where no advanced effects are needed. Just join few clips together and cut out the bad parts. Something you might need to do fast processing of holyday footage before uploading to youtube. Given that you filmed everything on single camera without changing codec settings.

Currently i am doing this using ffmpeg using "copy" mode and it's extremely fast. It usualy takes like 100x less time than is needed to play the video (faster than realtime). On the other hand when i am rendering/encoding the video doing advanced edits it takes much more time than is needed for the video to play (slower than realtime). But ffmpeg is commandline and having GUI for this would be super handy.

VidCutter 3.0.0 AppImage cannot find libmpv in the usual places

Python fails to import mpv.

me@host:~$ '/home/me/Downloads/VidCutter-3.0.0-linux-x64.AppImage' 
Traceback (most recent call last):
  File "/tmp/.mount_jgstZG/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/tmp/.mount_jgstZG/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmp/.mount_jgstZG/usr/lib/python3/dist-packages/vidcutter/__main__.py", line 37, in <module>
    from vidcutter.videocutter import VideoCutter
  File "/tmp/.mount_jgstZG/usr/lib/python3/dist-packages/vidcutter/videocutter.py", line 40, in <module>
    import vidcutter.mpv as mpv
  File "/tmp/.mount_jgstZG/usr/lib/python3/dist-packages/vidcutter/mpv.py", line 29, in <module>
    raise OSError("Cannot find libmpv in the usual places.")
OSError: Cannot find libmpv in the usual places.

This is the offending code:

sofile = ctypes.util.find_library('mpv')

According to https://docs.python.org/3/library/ctypes.html

On Linux, find_library() tries to run external programs (/sbin/ldconfig, gcc, objdump and ld) to find the library file. It returns the filename of the library file.

Changed in version 3.6: On Linux, the value of the environment variable LD_LIBRARY_PATH is used when searching for libraries, if a library cannot be found by any other means.

Since your AppImage bundles 3.5, it ignores LD_LIBRARY_PATH. So this falls down for relocatable bundles like AppImages.

Can you change the Python code to load the library using a path relative to the file loading it?

Vidcutter on 14.04 (Mint Kde 17.3) stop working recently

I use it a while ago but when I saw the new release 3, I relaunch it and it does not start anymore. I tried to re-install it but same thing. Tx

Error ;
maurice@KDE4-MINT:~ > vidcutter
Traceback (most recent call last):
File "/usr/bin/vidcutter", line 9, in
load_entry_point('vidcutter==2.6.5', 'gui_scripts', 'vidcutter')()
File "/usr/lib/python3/dist-packages/vidcutter/main.py", line 144, in main
win = MainWindow()
File "/usr/lib/python3/dist-packages/vidcutter/main.py", line 23, in init
self.init_logging()
File "/usr/lib/python3/dist-packages/vidcutter/main.py", line 49, in init_logging
log_path = QStandardPaths.writableLocation(QStandardPaths.AppConfigLocation).lower()
AttributeError: type object 'QStandardPaths' has no attribute 'AppConfigLocation'

OS X Crashes on Video Action

Upon loading a clip, I can press play, but when I press pause the app crashes and presents the OS X VidCutter quit unexpectedly dialog.

I don't have this problem with audio files, only video.

Zero size output video: 'Data stream encoding not supported yet (only streamcopy)'

Vidcutter reports success when saving a clip from some gopro footage but the file size is zero and does not exist on the file system.

OS: Ubuntu 16.04

$ vidcutter -v
VidCutter 3.0.1
$ vidcutter -d
2017-03-11 23:13 - vidcutter.videoservice - INFO - 
VideoService.backend = /usr/bin/ffmpeg
VideoService.mediainfo = /usr/bin/mediainfo
2017-03-11 23:13 - vidcutter.videocutter - INFO - MPV info - cplayer: Playing: GOPR0188.MP4
2017-03-11 23:13 - vidcutter.videocutter - INFO - MPV info - cplayer:  (+) Video --vid=1 (*) (h264)
2017-03-11 23:13 - vidcutter.videocutter - INFO - MPV info - cplayer:  (+) Audio --aid=1 --alang=eng (*) (aac)
2017-03-11 23:13 - vidcutter.videocutter - INFO - MPV info - cplayer: AO: [pulse] 48000Hz stereo 2ch float
2017-03-11 23:13 - vidcutter.videocutter - INFO - MPV info - vd: Using hardware decoding (vdpau).
2017-03-11 23:13 - vidcutter.videocutter - INFO - MPV info - cplayer: VO: [opengl] 1920x1080 vdpau
cut start position: 34200
VideoService CMD: /usr/bin/ffmpeg -ss 00:00:34.200 -i "GOPR0188.MP4" -vframes 1 -s 100x70 -y /tmp/M32068.jpg
cut end position: 74657
VideoService CMD: /usr/bin/ffmpeg -i "GOPR0188.MP4" -ss 00:00:34.200 -t 00:00:40.457 -vcodec copy -acodec copy -map 0 -y "GOPR0188_EDIT_01.MP4"

In debug mode there was no error but manually running ffmpeg indicated an issue:

$ /usr/bin/ffmpeg -i "GOPR0188.MP4" -ss 00:00:34.200 -t 00:00:40.457 -vcodec copy -acodec copy -map 0 -y "GOPR0188_EDIT_01.MP4"
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GOPR0188.MP4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2015-01-11 01:27:32
  Duration: 00:03:39.71, start: 0.000000, bitrate: 30127 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 29973 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro AVC
      encoder         : GoPro AVC encoder
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro AAC
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro TCD
      timecode        : 01:27:37:31
    Stream #0:3(eng): Data: none (fdsc / 0x63736466), 13 kb/s (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro SOS
Data stream encoding not supported yet (only streamcopy)

The only option that seemed suspect was map so I removed it so it used default options and seems to fix the issue:

$ /usr/bin/ffmpeg -i "GOPR0188.MP4" -ss 00:00:34.200 -t 00:00:40.457 -vcodec copy -acodec copy -y "GOPR0188_EDIT_01.MP4"
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GOPR0188.MP4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2015-01-11 01:27:32
  Duration: 00:03:39.71, start: 0.000000, bitrate: 30127 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 29973 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro AVC
      encoder         : GoPro AVC encoder
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro AAC
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro TCD
      timecode        : 01:27:37:31
    Stream #0:3(eng): Data: none (fdsc / 0x63736466), 13 kb/s (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro SOS
[mp4 @ 0xd57a00] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0xd57a00] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to 'GOPR0188_EDIT_01.MP4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    encoder         : Lavf56.40.101
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29973 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro AVC
      encoder         : GoPro AVC encoder
    Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 128 kb/s (default)
    Metadata:
      creation_time   : 2015-01-11 01:27:32
      handler_name    : 	GoPro AAC
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 2375 fps=0.0 q=-1.0 Lsize=  145821kB time=00:00:40.46 bitrate=29519.8kbits/s    
video:145145kB audio:632kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.030737%

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.