Warning: session_start(): open(/tmp/sess_tqcs24a6p9dq725dtagvurhg40, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
mkvsplitter openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

mkvsplitter

   0.3.2  

KDE Video Application

Score 58%
mkvsplitter
zoom


Downloads:  125
Submitted:  Jul 20 2011
Updated:  Aug 4 2011

Description:

Splits MKV files based on chapter timecodes. Should be more efficient to use this for this task than the mkvmerge gui.

Requires python2, pykde4, mkvtoolnix, mplayer(optional, for previews).

Feedback would be appreciated on how to improve it.

todo:
- separate queue based program to perform the actual splitting (mkvmerge performance suffers terribly when you run multiple mkvmerge processes concurrently)
- tooltips
- error handling
- chapter editing?




Changelog:

0.3.2
- fix for files with spaces
0.3.1
- fixed config dialog related issues.
0.3
- now using standard icons from your icon theme
- added a menu
- open files after starting app (cli switch still exists but is no longer mandatory)
- exposed options with menu settings->configure (settings stored at ~/.mkvsplitter.conf)
- various other tweaks/fixes
0.2.1
- Re-included a file I forgot.
- A couple very small changes.
0.2
- added a progress bar
- added a couple configuration options near the top of mkvsplitter.py (I'll make them more accessible later, I suppose)
- Probably other small changes.

0.1 - earliest working version.




LicenseGPL
Send to a friend
Subscribe
Other  Content  from dwidmann
Report inappropriate content



-

 Error

 
 by pejakm on: Aug 1 2011
 
Score 50%

Quote:
AttributeError: 'Splitter' object has no attribute 'input_file'


And, you should pack your files with version number ("mkvsplitter-0.1.tar.gz").


Reply to this

-

 Errors again - 0.2

 
 by pejakm on: Aug 3 2011
 
Score 50%

Quote:
$ ./mkvsplitter.py
mydirrequester seems to be missing from your installation. This is strange.


Also you didn't change version string in mkvsplitter.py file.

If I use mydirrequester.py from previous release it works, but GUI isn't started.


Reply to this

-

 Re: Errors again - 0.2

 
 by dwidmann on: Aug 3 2011
 
Score 50%

Shoot, missed a couple of things.


"I refuse to be part of a society that encourages the rampant abuse of its own language."
Reply to this

-
.

 Re: Re: Errors again - 0.2

 
 by dwidmann on: Aug 3 2011
 
Score 50%

And .... Fixed. I think.


"I refuse to be part of a society that encourages the rampant abuse of its own language."
Reply to this

-

 v0.3

 
 by pejakm on: Aug 4 2011
 
Score 50%

Quote:
$ ./mkvsplitter.py
It seems the configobj file is missing from your installation. This is strange.
configobj seems to be missing from your installation. This is strange.
Traceback (most recent call last):
File "./mkvsplitter.py", line 44, in <module>
config = ConfigObj('%s/.mkvsplitter.conf' % os.environ['HOME'])
NameError: name 'ConfigObj' is not defined


Reply to this

-

 Re: v0.3

 
 by dwidmann on: Aug 4 2011
 
Score 50%

Try re-downloading it ... within about 15 minutes of the upload I re-uploaded it because that file (configobj.py) was missing. You must have been _very_ quick to download that file :) (I should have bumped the version, but I made the faulty assumption that nobody would have been so quick to download it)


"I refuse to be part of a society that encourages the rampant abuse of its own language."
Reply to this

-

 Re: Re: v0.3

 
 by pejakm on: Aug 4 2011
 
Score 50%

You should be more careful when releasing a new version - doublecheck everything, then pack and upload.


Reply to this

-

 Re: Re: Re: v0.3

 
 by dwidmann on: Aug 4 2011
 
Score 50%

The reason I missed that is because for me that's a system library (installed with the python-configobj package)


"I refuse to be part of a society that encourages the rampant abuse of its own language."
Reply to this

-

 Re: Re: Re: Re: v0.3

 
 by pejakm on: Aug 4 2011
 
Score 50%

Then simply state python-configobj as dependency, you will make yourself easier job maintaining this.


Reply to this

-

 Re: Re: Re: Re: Re: v0.3

 
 by dwidmann on: Aug 4 2011
 
Score 50%

I'm not sure which all distribution package it though, and it's just one file, so I figured it might be easier to just include it.


"I refuse to be part of a society that encourages the rampant abuse of its own language."
Reply to this

-

 Re: v0.3

 
 by pejakm on: Aug 4 2011
 
Score 50%

Also, configure dialog does not show up:

Quote:
$ ./mkvsplitter.py
mkv-splitter(22212) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!
Traceback (most recent call last):
File "./mkvsplitter.py", line 188, in configure
c = ConfigureDialog(self)
File "/home/mladen/Programi/PKGBUILDs/mkvsplitter/pkg/usr/lib/mkvsplitter/configuredialog.py", line 26, in __init__
self.config=self.read_config()
File "/home/mladen/Programi/PKGBUILDs/mkvsplitter/pkg/usr/lib/mkvsplitter/configuredialog.py", line 100, in read_config
config['default_close_after_split'] = False
TypeError: 'str' object does not support item assignment


Reply to this

-

 Errors

 
 by pejakm on: Aug 4 2011
 
Score 50%

Here are console log of what's happening if I start mkvsplitter:

1. Started the app and clicked on configure menu entry - nothin happened.
2. Opened an mkv file (which has chapters), but mkvsplitter showed no chapters
3. Clicked on "Preview chapter"

Quote:
$ mkvsplitter
mkv-splitter(14553) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!
Traceback (most recent call last):
File "/usr/bin/mkvsplitter", line 188, in configure
c = ConfigureDialog(self)
File "/usr/lib/mkvsplitter/configuredialog.py", line 26, in __init__
self.config=self.read_config()
File "/usr/lib/mkvsplitter/configuredialog.py", line 100, in read_config
config['default_close_after_split'] = False
TypeError: 'str' object does not support item assignment
True



Now running command: mkvextract chapters -s /mnt/media/Video/Filmovi/Nightwish - End of an Era/Nightwish - End of an Era.mkv



Traceback (most recent call last):
File "/usr/bin/mkvsplitter", line 175, in open_file
self.load_file()
File "/usr/bin/mkvsplitter", line 185, in load_file
self.chapters = self.read_chapters()
File "/usr/bin/mkvsplitter", line 235, in read_chapters
right = line.split('=')[1]
IndexError: list index out of range



Now running command: mplayer -chapter 0-0 /mnt/media/Video/Filmovi/Nightwish - End of an Era/Nightwish - End of an Era.mkv



File not found: '/mnt/media/Video/Filmovi/Nightwish'
Failed to open /mnt/media/Video/Filmovi/Nightwish.
Traceback (most recent call last):
File "/usr/bin/mkvsplitter", line 292, in preview_chapter
run_command("mplayer -chapter %s-%s %s" % (current_row+1, current_row+1, self.input_file))
File "/usr/lib/mkvsplitter/qtruncommandmkvsplitter.py", line 73, in run_command
run_command_nolog(command)
File "/usr/lib/mkvsplitter/qtruncommandmkvsplitter.py", line 86, in run_command_nolog
if results['ecode'] != 0:
KeyError: 'ecode'


Reply to this

-

 Re: Errors

 
 by pejakm on: Aug 4 2011
 
Score 50%

You should put URL to file in quotes, to allow mkvextract to parse it correctly:

Quote:
$ mkvextract chapters -s /mnt/media/Video/Filmovi/Nightwish - End of an Era/Nightwish - End of an Era.mkv
Error: Unrecognized command line option '-'.


Reply to this

-

 Re: Re: Errors

 
 by dwidmann on: Aug 4 2011
 
Score 50%

Okay, will do. (I guess I only missed this because I've very meticulous about making sure none of my files have spaces in them)


"I refuse to be part of a society that encourages the rampant abuse of its own language."
Reply to this

-

 Finally!

 
 by pejakm on: Aug 4 2011
 
Score 50%

Here's a working version patch:

http://pastebin.com/RndqLrfD


Reply to this

-
.

 Re: Finally!

 
 by dwidmann on: Aug 5 2011
 
Score 50%

No more issues, I presume?
Oh, and thank you very much for creating the PKGBUILD for it!


"I refuse to be part of a society that encourages the rampant abuse of its own language."
Reply to this

-
.

 Re: Re: Finally!

 
 by pejakm on: Aug 5 2011
 
Score 50%

No problem, I'm glad I can help.


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team