Well, I started a project to rip chapter information from MPLS files and save them as Matroska XML file. Now, there are already atleast ten different ways to get the chapter information out of the MPLS file associated with the M2TS video on the disc, but I wanted one command-line option that would encompass the entire process…no highlighting, copying of text, etc.
The syntax:
bdchapters -i <mpls file> -o <mkv xml chapter file>
It is a Python program. I started on a C++ version, but ran out of steam whilst writing it. The only thing that you have to make sure of is to include it in your PATH variable so you can use it no matter where you’re browsing at. That and the installer I made isn’t smart enough to add itself to the PATH variable on its own.
As a warning: this Python code hasn’t been documented and will make many people feel like creating a way to stab me over the internet. I’m working on the whole “nice, neat, and well documented” thing as I transfer it over to C++.
It does, however, just work and no, I’m still learning C/C++. I did, however, create an NSIS installer/uninstaller that will atleast install it correctly (minus the aforementioned PATH deficiency).
Enjoy.
Björn,
I appreciate the work and the offer. I’d be happy to do so.
JamesTheBard
Hello James,
hope you will be not disappointed.
you can download the program at
http://www.foldi-bande.com/Public/Prg_Share/
Feel free to share.
Björn
Could you upload the real source code? The linked source code has errors and once corrected produces better, but very different output than the .exe you provide.
My bad. Never mind; wrong input. I am puzzled by the runtime errors, but over it. Python 2.6.4 has a problem with line 82: ptsinfo.pop([-1])
2 bjoern:
your utility doesnt enclose space-contained paths to double quotes, so calling BD subs failed
@Denis: It’s easier to just pull ‘em off the eac3to program.
Bad Behavior has blocked 68 access attempts in the last 7 days.
3:39 am
Hello James,
I wrote a very simple free GUI for your tool – are you interested to publish it here?
Cheers,
Björn