Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th October 2009, 21:15   #1  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
ChapterGen: manipulate with chapters in various i/o formats, with CLI support

Ok, I finally finished completly new (from scratch) tool for chapters. This is completly different than my previous qpfilegen tool. BIG Thanks goes to jdobbs who helped and share part of code, the application is no longer dependent on eac3to, it have own Blu-Ray/HDDVD/DVD support.



Supported input formats:
- .mpls (Blu-Ray playlists)
- .xpl (HD DVD playlists)
- .ifo (DVD playlists)
- OGG/Matroska File format
- Celltimes File format
- Blu-Ray, HD DVD, DVD media with stream selector (GUI mode only)

Supported Output formats:
- OGG Text File
- x264 QP Text File
- HC Enc Text File
- CCE SP Text File
- Sonic Cinevision CSV File
- Sonic Scenarist CSV File
- Spruce DVD Maestro CHP File
- tsMuxer Meta File
- Timecodes Text File
- Celltimes Text File
- DVDAuthor Text File
- Muxman Text File

Additional features:
- Converting between framerates
- Stream selector when Blu-Ray, HD DVD, DVD media or folder selected
- Command line support
- Drag & Drop support

CLI options:
Code:
Syntax: ChapterGen -i <inputfile> -o <outputfile> -f <destination format> -infps <inputFPS> -outfps <outputFPS> 

Options:

-i <string>	Specify input file
-o <string>	Specify output file
-f <string>	Specify destination format:
		- OGG: OGG Text File
		- x264: x264 QP Text File
		- HC: HC Enc Text File
		- CCE: CCE SP Text File
		- Cinevision: Sonic Cinevision CSV File
		- Scenarist: Sonic Scenarist CSV File
		- Maestro: Spruce DVD Maestro CHP File
		- tsMuxer: tsMuxer Meta File
		- Timecodes: Timecodes Text File
		- Celltimes: Celltimes Text File
                - DVDAuthor: DVDAuthor Text File
                - Muxman: Muxman Text File
-infps <float>	Specify InputFPS [24/1.001] 
		- 23.976
		- 24.000
		- 25.000
		- 29.970
		- 30.000
		- 50.000
		- 59.940
		- 60.000
-outfps <float>	Specify OutputFPS [24/1.001] 
		- 23.976
		- 24.000
		- 25.000
		- 29.970
		- 30.000
		- 50.000
		- 59.940
		- 60.000

NOTES: fps values can be aslo entered in this formats: 24000/1001 or 24/1.001 for example

Current version 1.0.8
Download, Webpage

Changelog:
Quote:
1.0.8
-ADD: Drag & Drop support, for files and disc folders.

1.0.7:
-ADD: Celltimes input format (laserfan reqest)
-ADD: DVD IFO parser is now mediainfo.
-FIX: Minor bugs

1.0.6:
-FIX: Improved cmdline handling

1.0.5:
-FIX: Little bug in DVD/IFO parsing code.

1.0.4:
-FIX: Minor fixes.

1.0.3:
-FIX: DVDAuthor output (thanks to manolito)
-FIX: x264 output now work as introduced in r1764 no more -1 in lines, so this practically is not compatible with pre r1764 versions of x264. So update your x264.
-ADD: Muxman output (mrr19121970 request)

1.0.2:
-FIX: little bug in OGG parsing code
-ADD: DVDAuthor chapter output
-ADD: Automaticly remove pulldown on timecodes if input is HDDVD or XPL

1.0.1:
-FIX: I be forced to use ChapterXtractor as DVD IFO parser because my IFO code goes crazy, until i not fix it, ChapterGen will use ChapterXtractor for DVD or IFO source. It's a little slower and Chapterxtractor window will flash many times but 100% working.
-FIX: a little bug in HDDVD parsing code.

Last edited by shon3i; 27th July 2011 at 10:56.
shon3i is offline   Reply With Quote
Old 14th October 2009, 22:29   #2  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Cool! I look forward to experimenting with this.
Inspector.Gadget is offline   Reply With Quote
Old 15th October 2009, 00:10   #3  |  Link
tymoxa
Registered User
 
Join Date: Oct 2006
Location: Kyiv, Ukraine
Posts: 106
shon3i, you are a genius. Thanks for that tool. Especially for convert fps.
tymoxa is offline   Reply With Quote
Old 15th October 2009, 08:21   #4  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
thanks for your tool!

got error on this ifo (using command line)

http://www.64k.it/andres/data/Varie/VTS_02_0.zip
(it's Matrix, DVD PAL)

using this command line ChapterGen.exe -i "d:\matrix\video_ts\VTS_02_0.IFO" -o matrix.txt -f OGG -infps 25.000 -outfps 25.000

error is number 9
translated from italian.. "Index out of bounds" (or similar)

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8

Last edited by buzzqw; 15th October 2009 at 08:23. Reason: added some more info
buzzqw is offline   Reply With Quote
Old 17th October 2009, 11:25   #5  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
@buzzqw thanks, i working on fix but i need more time than i expected to fix this, i think i need to rewrite whole IFO parser ASAP.
shon3i is offline   Reply With Quote
Old 17th October 2009, 14:06   #6  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Fixed update to 1.0.1.
shon3i is offline   Reply With Quote
Old 19th October 2009, 15:15   #7  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
got some problem...

from cmd prompt

ChapterGen.exe -i VTS_02_0.IFO -o zgh.txt -f OGG -infps 25 -outfps 25

now is Error 53 , unable to find file (or something similar)

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 19th October 2009, 15:46   #8  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
with your cmd i get "cannot open input file" message because you must specify full path to file including filename, for input and output files. I will fix that in next version.
shon3i is offline   Reply With Quote
Old 19th October 2009, 16:00   #9  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
thanks

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 19th October 2009, 21:12   #10  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
hmm it's realy strange, here at home i can't reproduce this. Can you please take a screenshot of error to see what is possible reason. I use same cmd and put VTS_02_0.IFO in same folder as ChapterGen.exe, and everything is fine?
shon3i is offline   Reply With Quote
Old 20th October 2009, 07:11   #11  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
here is

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 23rd October 2009, 00:01   #12  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,443
shon3i thanks very much for this tool, and particularly the CLI option. With my custom .cmd file, makes easy work of making qpfile and tsmuxer files!

laserfan is offline   Reply With Quote
Old 7th November 2009, 16:30   #13  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Posts: 2,027
Many thanks shon3i for this app. Especially for the fps conversion capability.

Just one request:
I still use DVDAuthor a lot for DVD creation, and your app does not support its chapter format. The required format is
hh:mm:ss,
Just hours, minutes and seconds, no cents and no line breaks, and the separator is a comma.

Would you consider adding this format?

Cheers
manolito
manolito is offline   Reply With Quote
Old 15th November 2009, 12:42   #14  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Quote:
Originally Posted by manolito
I still use DVDAuthor a lot for DVD creation, and your app does not support its chapter format. The required format is
hh:mm:ss,
Ok, no problem, can you send me a sample of chapterlist?
shon3i is offline   Reply With Quote
Old 15th November 2009, 13:47   #15  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Posts: 2,027
Thanks, much appreciated...

The corresponding text in DVDAuthor.xml looks like this:

Code:
chapters="00:00:00,00:06:00,00:12:00,00:18:00,00:24:00,00:30:00,00:36:00,00:42:00,00:48:00,00:54:00,01:00:00,01:06:00,01:12:00,01:18:00,01:24:00"
ChapterGen output without chapters="" would be just fine because I normally use a template for the XML file where I could just paste the chapter points between the quotes.

Thanks again
Cheers
manolito
manolito is offline   Reply With Quote
Old 1st December 2009, 20:17   #16  |  Link
SVD
Registered User
 
Join Date: Mar 2007
Posts: 5
Any chance export to xml file for use with mkv containers will be added?
SVD is offline   Reply With Quote
Old 2nd December 2009, 00:26   #17  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Posts: 2,027
Looks like shon3i is busy with other things right now...

For DVDAuthor compatible output I made a little workaround myself in the meantime. A small batch file converts a Sonic Cinevision CSV file (using sed for Windows).
Code:
REM  Converts a Sonic Cinevision CSV Chapter file
REM  to a DVDAuthor compatible Chapter file.
REM
REM  Usage:
REM  Convert.bat "Drive\Path\Filename"
REM
REM  You can also create a shortcut to Convert.bat
REM  on your desktop and drag the file you want to
REM  convert on this shortcut.

@echo off
sed "s/:/./"3 "%1" >temp.txt
sed -e ":a" -e "$!N;s/\n/,/;ta" -e "P;D" temp.txt >"%1"
del temp.txt
You can download sed here: http://sed.sourceforge.net/grabbag/ssed/sed-3.59.zip
Please rename the executable to Sed.exe...

Cheers
manolito

Last edited by manolito; 8th March 2010 at 21:53. Reason: improved script
manolito is offline   Reply With Quote
Old 29th June 2010, 04:22   #18  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,526
I just ran into a problem with Serenity Blu-ray. Here is a copy/paste of the chapter file extracted using eac3to:

Code:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Living Weapon
CHAPTER02=00:05:00.750
CHAPTER02NAME=A Better World
CHAPTER03=00:09:31.938
CHAPTER03NAME=Aboard Serenity (Main Titles)
CHAPTER04=00:14:49.088
CHAPTER04NAME=Going for a Ride
CHAPTER05=00:19:49.856
CHAPTER05NAME=Reavers
CHAPTER06=00:29:13.001
CHAPTER06NAME=Triggered
CHAPTER07=00:36:18.259
CHAPTER07NAME=Mr. Universe
CHAPTER08=00:44:09.264
CHAPTER08NAME=Safe Haven
CHAPTER09=00:49:54.692
CHAPTER09NAME=Civilized Resolution
CHAPTER10=00:55:44.041
CHAPTER10NAME=Posing a Threat
CHAPTER11=00:59:28.315
CHAPTER11NAME=Miranda
CHAPTER12=01:04:45.248
CHAPTER12NAME=&quot;Just Believe&quot;
CHAPTER13=01:09:13.733
CHAPTER13NAME=Suicide Mission
CHAPTER14=01:13:33.776
CHAPTER14NAME=Learning the Secret
CHAPTER15=01:22:38.571
CHAPTER15NAME=Caught in the Middle
CHAPTER16=01:30:18.580
CHAPTER16NAME=Can't Stop the Signal
CHAPTER17=01:36:57.479
CHAPTER17NAME=Fighting for a Belief
CHAPTER18=01:45:56.217
CHAPTER18NAME=Do We Have an Order?
CHAPTER19=01:47:37.034
CHAPTER19NAME=It's Not Over
CHAPTER20=01:53:21.578
CHAPTER20NAME=End Titles
When I try to generate a qpfile with ChapterGen it only recognizes up to chapter 7. Here is what shows in ChapterGen when I load the chapter file:

Code:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Living Weapon
CHAPTER02=00:05:00.750
CHAPTER02NAME=A Better World
CHAPTER03=00:09:31.938
CHAPTER03NAME=Aboard Serenity (Main Titles)
CHAPTER04=00:14:49.088
CHAPTER04NAME=Going for a Ride
CHAPTER05=00:19:49.856
CHAPTER05NAME=Reavers
CHAPTER06=00:29:13.001
CHAPTER06NAME=Triggered
CHAPTER07=00:36:18.259
rack04 is offline   Reply With Quote
Old 29th June 2010, 07:40   #19  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
I can't reproduce problem. Can you send me your mpls from your Blu-Ray

Here what i get from 00000.mpls

Quote:
CHAPTER00=00:00:00.000
CHAPTER00NAME=
CHAPTER01=00:05:01.760
CHAPTER01NAME=
CHAPTER02=00:09:32.447
CHAPTER02NAME=
CHAPTER03=00:14:50.098
CHAPTER03NAME=
CHAPTER04=00:19:50.856
CHAPTER04NAME=
CHAPTER05=00:29:14.002
CHAPTER05NAME=
CHAPTER06=00:36:19.260
CHAPTER06NAME=
CHAPTER07=00:44:10.273
CHAPTER07NAME=
CHAPTER08=00:49:55.701
CHAPTER08NAME=
CHAPTER09=00:55:45.050
CHAPTER09NAME=
CHAPTER10=00:59:29.316
CHAPTER10NAME=
CHAPTER11=01:04:46.257
CHAPTER11NAME=
CHAPTER12=01:09:14.734
CHAPTER12NAME=
CHAPTER13=01:13:34.785
CHAPTER13NAME=
CHAPTER14=01:22:39.580
CHAPTER14NAME=
CHAPTER15=01:30:19.581
CHAPTER15NAME=
CHAPTER16=01:36:58.479
CHAPTER16NAME=
CHAPTER17=01:45:57.726
CHAPTER17NAME=
CHAPTER18=01:47:38.118
CHAPTER18NAME=
CHAPTER19=01:53:22.671
CHAPTER19NAME=
CHAPTER20=01:58:55.962
CHAPTER20NAME=
shon3i is offline   Reply With Quote
Old 30th June 2010, 00:06   #20  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,526
Quote:
Originally Posted by shon3i View Post
I can't reproduce problem. Can you send me your mpls from your Blu-Ray

Here what i get from 00000.mpls
Stupid me! I meant HD DVD version of Serenity. Let me know what I need to upload to reproduce the problem. Thanks.
rack04 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.