SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Customizations (http://forums.sagetv.com/forums/forumdisplay.php?f=27)
-   -   Utility: Blu-Ray/MKV Chapters to .EDL (http://forums.sagetv.com/forums/showthread.php?t=43567)

Fuzzy 08-12-2009 01:47 PM

Utility: Blu-Ray/MKV Chapters to .EDL
 
Just created a utility that will take a chapters file, and create an .edl file for use with the comskip plugin. This currently works with either an XML file generated by MKVExtract, or with a TXT file generated by eac3to. This is pretty much the first build to go out for testing on your various files. Hope it is useful for someone out there... Link is here. Use at your own risk. There is no error checking (yet)!

Version History:

0.22b - 2009-08-19:
* Updated mkv2edl.bat to better handle full paths

0.21b - 2009-08-12:
* Corrected handling when file has no chapters
* Added Sample Batch file for processing .MKV files with MKVExtract
* - Need to set paths in mkv2edl.bat to point to MKVExtract.exe and chap2edl.exe
* - Example: mkv2edl.bat "Sleeping Beauty.mkv"
* - will create "Sleeping Beauty.edl" in the same folder.

0.2b - 2009-08-12:
* Changed interface to use stdin and stdout.
* - Example: type "Sleeping Beauty.txt" | chap2edl > "Sleeping Beauty.edl"
* - Example2: mkvextract chapters "Sleeping Beauty.mkv" | chap2edl > "Sleeping Beauty.edl"

0.1b - 2009-08-12:
* First Draft

Fuzzy 08-19-2009 05:37 AM

Just updated the batch file in the zip, so redownload (if anyone is using it).. new version has a bit better path handling (should work from anywhere... just make sure pointers to exe's are correct in the batch.)

Taddeusz 08-19-2009 12:47 PM

Hmmm... unfortunately, as nice as a utility as this might be I don't believe this approach will work out for me. I have automatic comskip enabled. Which means that at every chapter point the video is going to skip ahead one second.

Fuzzy 08-19-2009 04:48 PM

true, that is the only problem with the approach. I initially tried to do zero second skips, but for some reason the comskip implementation in sagemc and the default stv both filtered out breaks less than a second long.

My wife doesn't like the auto skip, so its always turned off at my house.

Skirge01 08-20-2009 10:01 AM

Wait a second... she likes watching commercials?

Fuzzy 08-20-2009 10:10 AM

hehe, no, but she likes the 'enforced break'... gives here an appropriate time to get up and do something real quick (bathroom, kids, whatever) that is in a good spot, plot wise. Most the time, she just hits the right arrow, and skips it, but she likes the option... with autoskip on, she ends up not doing anything for 43 minutes straight...


All times are GMT -6. The time now is 04:43 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.