PDA

View Full Version : Chapter Grabber extract chapters from DVD, BD, HDDVD and add chapter names


Emp3r0r
13th December 2002, 06:21
ChapterGrabber
(http://jvance.com/pages/ChapterGrabber.xhtml)
ChapterGrabber is made to extract chapter times from DVD, HD-DVD, and
BluRay discs and combine them with chapter names from the
internet. It produces chapter text files that are useful when
muxing matroska and mp4 files.

Install
--------------------
You must have .NET Framework 3.5 available from WindowsUpdate.

Whats New?
--------------------
2011-12-23 : v5.2
Small bugfixes to database and searches
Added link to new database website http://chapterdb.org

2010-06-04 : v4.4
Queue search so interface stays responsive (add wait indicator)
Add new support for choosing correct title with help of Google
Title indictor for when good title chosen

2010-06-04 : v4.3
Queue database work to keep from slowing UI down
Show animation while waiting on database work
Fix import from clipboard for chapters copied from spun website

2010-06-03 : v4.2
Added new online database support from chapterdb.org
Names automatically loaded when found in database
Database automatically updated upon save

2010-05-13 : v4.1
Added auto-update downloading and installation

2010-05-13 : v4.0
Added update-checking and auto notification
Added chapters file association

2010-05-10 : v3.9
Update TagChimpGrabber to specify type of movie

2010-05-09 : v3.8
Removed MetaGrabber
Fixed TagChimpGrabber

2009-05-01 : v3.7
Attempt to fix globalization issues for non-US cultures
Source code included

2009-01-23 : v3.6
New source for chapter names can now be grabbed from metaservices.
ChapterGrabber now stores last open directory in settings and points to parent directory when it doesn't exist.
HD-DVD support added. You can now extract chapters from the disc or directly from an XPL file.
4 new output formats added: TsMuxeR Meta, Timecodes, Celltimes, x264 QP File.
You can now change current FPS without recalculating chapter times.

2009-01-09 : v3.5
New source for chapter names can now be grabbed from metaservices.
ChapterGrabber now stores last open directory in settings and points to parent directory when it doesn't exist.

2008-12-19 : v3.4
ChapterGrabber can now detect the fps of BluRay discs via the CLIPINFO data. However, it does not yet support extracting the fps when directly opening a MPLS file.
The new ChapterGrabber format has been finalized and can be properly loaded and saved.
When moving the chapters up or down, only the names are moved and not the times.
I also added some additional framerates to the config file, 50fps and 60/1.001fps.

2008-12-06 : v3.3
Two new output formats added: Matroska XML and ChapterGrabber
XML formats (no support yet for loading these files). You can
now choose a language to apply to all chapter names through a new
menu. ChapterGrabber now detects and removes invalid characters
in the tagChimp search results.

2008-12-03 : v3.2
IFO parsing was re-written with increased accuracy. It also no
longer depends on vStrip.dll for IFO parsing. You can now
change the FPS of your chapters in case you need to switch
chapter times from NTSC to PAL. A new menu for
recently opened files is now available. Bluray FPS is not yet
detected. A new configuration file stores user and app settings.

2008-11-25 : v3.1
New support for reading chapters directly from BluRay discs.
Also, IFO parsing was optimized and you can now read chapters
directly from DVD discs without having to choose the IFO file.
A new setting allows you to ignore the short last chapter that
sometimes occur at the very end.

2008-11-19 : v3.0
Updated to .NET Framework 3.5. All changes prior to 2.0 were
lost. :( IFO parsing was rewritten based on Zulu's previous work.
I've added tagchimp chapter title import. You can search for
your title and then choose from the search results. I've
disabled the import from web as amazon no longer has chapter
names on their website.

2004-03-25 : v2.3
Updated to Zulu's newest library for the IFO support. Created
a new output format for creating Matroska XML chapter files.
The up and down arrows only move the chapter names now.

2004-01-30 : v2.2.1
This version adds a new framerate to the menu 23.999fps. The
registry key is no longer hard coded and can be changed in the
config file.

2003-12-07 : v2.2
Updated XviD 1.0 Zones file creation to create only one zone
for each chapter. It also sets the weight to 1 (100%). I added
a new option to choose your framerate. 24.000fps seemed to work
well in my test for NTSC DVD's that are inverse telecined. You
will need the newest build of XviD for zones to work correctly.

2003-12-06 : v2.1
Added XviD 1.0 Zones file creation. It creates a registry file
that can be easily merged to modify XviD's settings to force
keyframes at chapters. I had to modify MAX_ZONES in config.h
to double the number of zones from 64 to a more reasonable 128.
Everything is handled as 23.976fps material. Will fix later.
BTW, this feature needs testing.

2003-09-15 : v2.0
First release supporting direct ifo parsing thanks to zulu
Therefore chapterXtractor is no longer needed.

Directions
--------------------
1. Open your IFO, MPLS, or text file containing chapter times
OR Open your BluRay or DVD disc
2. Type in the title of your movie
3. Click search to download chapter names
4. Choose the best result
5. Save your new text file

Thanks to
--------------------
- The tagChimp
http://tagchimp.com/
- The ChapterStripper code by zulu
http://zuludev.de.vu
- The vStrip source code (in a modified DLL) by maven
http://www.maven.de

Author
--------------------
For bug report, new feature use:
http://jvance.com/pages/ChapterGrabber.xhtml

Emp3r0r
13th December 2002, 06:25
Attachment approval required

Newer Version Below

zulu
13th December 2002, 12:41
hey Emp3r0r,

that sounds interesting!
will try it with my next encode :)

kxy
13th December 2002, 17:46
Good work. Can you consider the other sites too, just in case BB doesn't have all the dvds.

http://www.allmovie.com/
http://www.blockbuster.com

You seems to left matrix in the import box, it is better to leave it blank. :p
http://video.barnesandnoble.com/search/product.asp?VIEW=SCN&EAN=85391773726&userid=51EOQ5K4FF#scene

Right now, the program has no error checking or even a warning, I just imported a 20 chapters movie into a 18 chapter ifo.

Program won't open in a network drive.

duartix
13th December 2002, 19:12
You seems to left matrix in the import box, it is better to leave it blank.
I'm glad he didn't left it blank. This way I as able to take an OGM I did sometime before and still manage to put titles in the chapters manually (I had already ditched all the DVD files) using that adress and searching for my movie.

kxy
13th December 2002, 19:25
duartix,

I hope you are not talking about his matrix link.

You don't really have use that link, see that underline link above the import names(http://video.barnesandnoble.com), you click on that one.

Emp3r0r
13th December 2002, 19:43
I've already made some updates such as
- Saving and restoring text fields
- IFO files as default filter in open dialog
- Better error checking

I will release it with the C# source code later tonight after I finish my final final.

Good work. Can you consider the other sites too, just in case BB doesn't have all the dvds.

consider it considered ;)

kxy
15th December 2002, 20:53
Here is an example of importing it incorrectly. BN just put French Connection DVD set(1 and 2) together. I want to import chapter from French Connection 2, but the program just grab the first one.

http://video.barnesandnoble.com/search/product.asp?userid=55A7YHFV1W&VIEW=SCN&EAN=24543020684

I save that page as a local file and edit out the first part, I put c:\temp\product.html in the import name box, it didn't import anything. I then publish it on my website; put in my address as the import name box, both cases the program won't import. Is the program restricted to http://video.barnesandnoble.com/?

Bluedan
16th December 2002, 00:50
...haven't you finished your "final final" yet?? ;)

Well, I was actually dreaming about such a luxurious tool.

I often felt the same way as when I was typing huge columns of hex numbers of programme code from "64er"- magazine into my 8-bit-wonder,lightyears back from now, when having a workout with my left hand doing CTRL-C, CTRL-V...

Thanky.

duartix
20th December 2002, 20:34
@kxy:You don't really have use that link, see that underline link above the import names(http://video.barnesandnoble.com), you click on that one.
Missed that, thanks.
@Emp3r0r:
Please post the new version.

Emp3r0r
22nd December 2002, 03:16
This version still requires ChapterXtractor (only when opening IFO files)!

Newer Version Below (requires .NET framework)

Directions
Go File -> Open IFO
Choose your IFO file
Find the EAN (http://jvance.com/ean.aspx) (aka UPC) located under the barcode on your DVD
Go Tools -> Name Finder
Go File -> Save to save your chapters file


Source code release and more functionality is planned. Yes, it is still limited to using http://video.barnesandnoble.com but I am working on an online database for future releases.
Enjoy.

Emp3r0r
22nd December 2002, 03:32
pending approval

Newer Version Below

Emp3r0r
24th December 2002, 03:10
Originally posted by kxy
I want to import chapter from French Connection 2, but the program just grab the first one. [...] Is the program restricted to http://video.barnesandnoble.com/?The search algorithm is restricted to normal scene index html and it isn't very flexible. I see there are many different sources for chapter names these days. I remember when I used to type them all in by hand. I think what I'm going to aim for is a simple online database with import tools. This way whenever someone opens an IFO and then imports the names, it will add it to the database. I'll see if I can't whip up a web service that can accomplish this. kxy: how do you think I should handle the French Connection 2 scenario?

Emp3r0r
24th December 2002, 03:23
kxy: what do you think about an "Import from Clipboard" tool so you could just copy the chapters as text to the clipboard from your favorite website.
Paste from allmovie.com0. Chapter Selection
1. Trinity in a jam [:31]
2. Impossible pursuit [:55]
3. Follow instructions [1:27]
4. The question [:09]
5. "They're coming for you" [:10]
6. Unable to speak [:13]
7. Getting the bug out [1:08]
8. Morpheus' proposal [:24]
9. Down the rabbit hole [1:36]
10. Slimy rebirth [1:12]
11. Nebuchadnezzar's crew [1:54]
12. The real world [2:15]
13. The search is over [:57]
14. Training begins [3:51]
15. Morpheus/Neo matchup [3:18]
16. First jump [1:25]
17. The gatekeepers [:14]
18. Running silent and deep [2:17]
19. Dealing for bliss [1:03]
20. Off to see the oracle [3:42]
21. There is no spoon [3:12]
22. Choices...and a cookie [:17]
23. Glitch in the matrix [:03]
24. One left behide [:10]
25. Heroes unplugged [:02]
26. Cypher's burnout [2:43]
27. Matters of belief [2:37]
28. Virus to be cured [:18]
29. Lobby shooting spree [:23]
30. Dodge this [1:48]
31. Gotcha [1:46]
32. Rooftop rescue [2:06]
33. Subway showdown [2:10]
34. "My name is Neo" [2:24]
35. Sentinels attack [1:04]
36. "He is the one" [:10]
37. Final connections [1:30]
38. End Credits ("Wake Up Rock Is Dead") [:37]Paste from Blockbuster.com0. Chapter Selection
1. Trinity in a jam [:31]
2. Impossible pursuit [:55]
3. Follow instructions [1:27]
4. The question [:09]
5. "They're coming for you" [:10]
6. Unable to speak [:13]
7. Getting the bug out [1:08]
8. Morpheus' proposal [:24]
9. Down the rabbit hole [1:36]
10. Slimy rebirth [1:12]
11. Nebuchadnezzar's crew [1:54]
12. The real world [2:15]
13. The search is over [:57]
14. Training begins [3:51]
15. Morpheus/Neo matchup [3:18]
16. First jump [1:25]
17. The gatekeepers [:14]
18. Running silent and deep [2:17]
19. Dealing for bliss [1:03]
20. Off to see the oracle [3:42]
21. There is no spoon [3:12]
22. Choices...and a cookie [:17]
23. Glitch in the matrix [:03]
24. One left behide [:10]
25. Heroes unplugged [:02]
26. Cypher's burnout [2:43]
27. Matters of belief [2:37]
28. Virus to be cured [:18]
29. Lobby shooting spree [:23]
30. Dodge this [1:48]
31. Gotcha [1:46]
32. Rooftop rescue [2:06]
33. Subway showdown [2:10]
34. "My name is Neo" [2:24]
35. Sentinels attack [1:04]
36. "He is the one" [:10]
37. Final connections [1:30]
38. End Credits ("Wake Up Rock Is Dead") [:37] Paste from video.barnesandnoble.com0. Chapter Selection
1. Trinity in a jam [:31]
2. Impossible pursuit [:55]
3. Follow instructions [1:27]
4. The question [:09]
5. "They're coming for you" [:10]
6. Unable to speak [:13]
7. Getting the bug out [1:08]
8. Morpheus' proposal [:24]
9. Down the rabbit hole [1:36]
10. Slimy rebirth [1:12]
11. Nebuchadnezzar's crew [1:54]
12. The real world [2:15]
13. The search is over [:57]
14. Training begins [3:51]
15. Morpheus/Neo matchup [3:18]
16. First jump [1:25]
17. The gatekeepers [:14]
18. Running silent and deep [2:17]
19. Dealing for bliss [1:03]
20. Off to see the oracle [3:42]
21. There is no spoon [3:12]
22. Choices...and a cookie [:17]
23. Glitch in the matrix [:03]
24. One left behide [:10]
25. Heroes unplugged [:02]
26. Cypher's burnout [2:43]
27. Matters of belief [2:37]
28. Virus to be cured [:18]
29. Lobby shooting spree [:23]
30. Dodge this [1:48]
31. Gotcha [1:46]
32. Rooftop rescue [2:06]
33. Subway showdown [2:10]
34. "My name is Neo" [2:24]
35. Sentinels attack [1:04]
36. "He is the one" [:10]
37. Final connections [1:30]
38. End Credits ("Wake Up Rock Is Dead") [:37]It looks like barnes&noble, blockbuster and allmovieguide have the same chapter data which would make this easy to accomplish. This sounds like flexible solution to your problem.

ookzDVD
24th December 2002, 04:41
@Emp3r0r,

Nice utility,
I did make a PHP program to do this couples months ago ;)

PS. B&N grab the chapter info from allmovie.com ;)

Emp3r0r
24th December 2002, 06:16
PHP program to do this couples months ago
Ya, also I think someone did some Python program that did the same thing. You can read about that in the "some tools for ogm" thread by suiric... what happened to him? I havn't seen him post in this forum since long time. PS. B&N grab the chapter info from allmovie.com Heh, It appears as if blockbuster does the same ;) I wonder where Microsoft gets the chapter names for WMP.

Emp3r0r
24th December 2002, 06:56
I uploaded a Newer Version Below with "Import from Clipboard" tool.

Copied chapter names text must be in the following format
1. That Champagne Feeling
2. The Accident
3. The Missing Document
4. Twenty Minutes
5. Better Luck Next Time
6. Bankrupt
7. A New File
8. Computer Voodoo
9. Partners
10. Back on the FDR
11. Confession
12. The Boys
13. Addicted to Chaos
14. The Memory of Another Life
15. At the End of the Day


Directions
- First open IFO
- Next find and copy chapter names (like above) to clipboard
- Now go Tools -> Import Names from Clipboard
- Save your chapters file

kxy
25th December 2002, 02:26
What an excellent idea!!!

This way it leaves all the error checking to the user, thus makes the program more flexible. I will test with some more titles but I think this will work.

Thanks for sharing your little tool.

kxy
27th December 2002, 22:37
One possible bug. Using the "Import from Clipboard" function, the chapters turns out to be like this. Between the chapters there are line breaks, thus oggMux won't be able to read it correctly.

CHAPTER01=00:00:00.000
CHAPTER01NAME=Lunar Credits ("Blue Moon") [2:31]

CHAPTER02=00:02:31.834
CHAPTER02NAME=Tony Francis ("They're Moving Fathers Grave") [2:24]

CHAPTER03=00:04:56.668
CHAPTER03NAME=Join the Club [3:26]

It should be like this

CHAPTER01=00:00:00.000
CHAPTER01NAME=Lunar Credits ("Blue Moon") [2:31]
CHAPTER02=00:02:31.834
CHAPTER02NAME=Tony Francis ("They're Moving Fathers Grave") [2:24]
CHAPTER03=00:04:56.668
CHAPTER03NAME=Join the Club [3:26]

Emp3r0r
28th December 2002, 04:43
@kxy: I can't reproduce your bug... can you tell me what browser you are using to copy the text and which web site you are copying the text from.

kxy
28th December 2002, 21:38
The text looks fine in your tool box, it appears only after I saved to a text file.

I am using the latest IE.

This happens to all the movies. But I will use minority report as an example, I use allmovie.com to get the chapter info, since it is the only place that have the chapter atm.

I have attatched the ifo file for testing purposes.


http://www.allmovie.com/cg/avg.dll?p=avg&sql=RE|31163

http://service.bfast.com/bfast/click?bfmid=2181&sourceid=40142205&bfpid=667068998924&bfmtype=dvd

http://www.blockbuster.com/bb/dvd/details/0,7295,DVD-E+31163,00.html?

Emp3r0r
28th December 2002, 21:52
@kxy: thanks for your testing, this build should fix that bug.

Newer Version Below

kxy
30th December 2002, 06:54
New problem, the movie is called father's day

This is the chapter format
0. Scene Index
1. "Young Boy." [2:51]
2. I don't find/I sue. [3:26]
3. "My son needs me." [2:28]
4. Try on fatherhood. [1:40]
5. Tip Top Towing. [4:26]
6. Asleep at wheel. [2:04]
7. Maudlin at marina. [4:48]
8. Comparing notes. [2:53]
9. In Sacramento. [4:22]
10. Four for the road. [3:53]
11. Toes and whirls. [3:14]
12. Complex goings-on. [3:24]
13. Rude awakening. [4:46]
14. Toilet gone south. [1:15]
15. Coffee crashout. [3:20]
16. The lower depths. [:39]
17. New travel plans. [2:00]
18. Reluctant flyer. [3:30]
19. Reno reunion #1. [2:04]
20. Running wild. [3:49]
21. Dad stories. [5:34]
22. Reno reunion #2. [4:16]
23. "I need this kid." [1:48]
24. Happy now? [2:09]
25. The awful truth. [3:57]
26. Piercing questions. [1:04]
27. Headbusters. [2:28]
28. Fly down from Reno. [1:22]
29. Nice family. [2:47]
30. Truth twice over. [2:46]
31. Did good. [2:57]
32. From the beginning. [1:34]
33. In driver's seat. [1:45]

This is the chapter that is from the ifo
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1 -
CHAPTER02=00:02:51.500
CHAPTER02NAME=Chapter 2 -
CHAPTER03=00:06:18.467
CHAPTER03NAME=Chapter 3 -
CHAPTER04=00:08:46.467
CHAPTER04NAME=Chapter 4 -
CHAPTER05=00:10:26.867
CHAPTER05NAME=Chapter 5 -
CHAPTER06=00:14:53.200
CHAPTER06NAME=Chapter 6 -
CHAPTER07=00:16:57.200
CHAPTER07NAME=Chapter 7 -
CHAPTER08=00:21:45.200
CHAPTER08NAME=Chapter 8 -
CHAPTER09=00:24:38.266
CHAPTER09NAME=Chapter 9 -
CHAPTER10=00:29:00.532
CHAPTER10NAME=Chapter 10 -
CHAPTER11=00:32:54.065
CHAPTER11NAME=Chapter 11 -
CHAPTER12=00:36:08.265
CHAPTER12NAME=Chapter 12 -
CHAPTER13=00:39:33.232
CHAPTER13NAME=Chapter 13 -
CHAPTER14=00:44:20.066
CHAPTER14NAME=Chapter 14 -
CHAPTER15=00:45:35.599
CHAPTER15NAME=Chapter 15 -
CHAPTER16=00:48:56.533
CHAPTER16NAME=Chapter 16 -
CHAPTER17=00:49:36.033
CHAPTER17NAME=Chapter 17 -
CHAPTER18=00:51:36.133
CHAPTER18NAME=Chapter 18 -
CHAPTER19=00:55:07.033
CHAPTER19NAME=Chapter 19 -
CHAPTER20=00:57:11.433
CHAPTER20NAME=Chapter 20 -
CHAPTER21=01:01:00.466
CHAPTER21NAME=Chapter 21 -
CHAPTER22=01:06:34.599
CHAPTER22NAME=Chapter 22 -
CHAPTER23=01:10:51.399
CHAPTER23NAME=Chapter 23 -
CHAPTER24=01:12:40.133
CHAPTER24NAME=Chapter 24 -
CHAPTER25=01:14:49.233
CHAPTER25NAME=Chapter 25 -
CHAPTER26=01:18:46.700
CHAPTER26NAME=Chapter 26 -
CHAPTER27=01:19:51.233
CHAPTER27NAME=Chapter 27 -
CHAPTER28=01:22:20.067
CHAPTER28NAME=Chapter 28 -
CHAPTER29=01:23:42.367
CHAPTER29NAME=Chapter 29 -
CHAPTER30=01:26:30.034
CHAPTER30NAME=Chapter 30 -
CHAPTER31=01:29:16.934
CHAPTER31NAME=Chapter 31 -
CHAPTER32=01:32:14.634
CHAPTER32NAME=Chapter 32 -
CHAPTER33=01:33:49.601
CHAPTER33NAME=Chapter 33 -
CHAPTER34=01:35:35.401
CHAPTER34NAME=Chapter 34 -

If your tool is used, then it goes like this
CHAPTER01=00:00:00.000
CHAPTER01NAME="Young Boy." [2:51]
CHAPTER02=00:02:51.500
CHAPTER02NAME=I don't find/I sue. [3:26]
CHAPTER03=00:06:18.467
CHAPTER03NAME="My son needs me." [2:28]
CHAPTER04=00:08:46.467
CHAPTER04NAME=Try on fatherhood. [1:40]
CHAPTER05=00:10:26.867
CHAPTER05NAME=Tip Top Towing. [4:26]
CHAPTER06=00:14:53.200
CHAPTER06NAME=Asleep at wheel. [2:04]
CHAPTER07=00:16:57.200
CHAPTER07NAME=Maudlin at marina. [4:48]
CHAPTER08=00:21:45.200
CHAPTER08NAME=Comparing notes. [2:53]
CHAPTER09=00:24:38.266
CHAPTER09NAME=In Sacramento. [4:22]
CHAPTER10=00:29:00.532
CHAPTER10NAME=Four for the road. [3:53]
CHAPTER11=00:32:54.065
CHAPTER11NAME=Toes and whirls. [3:14]
CHAPTER12=00:36:08.265
CHAPTER12NAME=Complex goings-on. [3:24]
CHAPTER13=00:39:33.232
CHAPTER13NAME=Rude awakening. [4:46]
CHAPTER14=00:44:20.066
CHAPTER14NAME=Toilet gone south. [1:15]
CHAPTER15=00:45:35.599
CHAPTER15NAME=Coffee crashout. [3:20]
CHAPTER16=00:48:56.533
CHAPTER16NAME=The lower depths. [:39]
CHAPTER17=00:49:36.033
CHAPTER17NAME=New travel plans. [2:00]
CHAPTER18=00:51:36.133
CHAPTER18NAME=Reluctant flyer. [3:30]
CHAPTER19=00:55:07.033
CHAPTER19NAME=Reno reunion #1. [2:04]
CHAPTER20=00:57:11.433
CHAPTER20NAME=Running wild. [3:49]
CHAPTER21=01:01:00.466
CHAPTER21NAME=Dad stories. [5:34]
CHAPTER22=01:06:34.599
CHAPTER22NAME=Reno reunion #2. [4:16]
CHAPTER23=01:10:51.399
CHAPTER23NAME="I need this kid." [1:48]
CHAPTER24=01:12:40.133
CHAPTER24NAME=Happy now? [2:09]
CHAPTER25=01:14:49.233
CHAPTER25NAME=The awful truth. [3:57]
CHAPTER26=01:18:46.700
CHAPTER26NAME=Piercing questions. [1:04]
CHAPTER27=01:19:51.233
CHAPTER27NAME=Headbusters. [2:28]
CHAPTER28=01:22:20.067
CHAPTER28NAME=Fly down from Reno. [1:22]
CHAPTER29=01:23:42.367
CHAPTER29NAME=Nice family. [2:47]
CHAPTER30=01:26:30.034
CHAPTER30NAME=Truth twice over. [2:46]
CHAPTER31=01:29:16.934
CHAPTER31NAME=Did good. [2:57]
CHAPTER32=01:32:14.634
CHAPTER32NAME=From the beginning. [1:34]
CHAPTER33=01:33:49.601
CHAPTER33NAME=In driver's seat. [1:45]
CHAPTER34=01:35:35.401
CHAPTER34NAME=Chapter 34

As you can see, the chapter is off by one, the first chapter should really start at chapter 2, and so forth.

Emp3r0r
31st December 2002, 22:05
@kxy: do you think this will be a common problem (ie: will it happen in more than a few situations)? The obvious way to fix it would be to manually change the copied chapter numbers. Otherwise I must add some kind of shift names function (wouldn't be hard) but I'm not so sure it is needed. Is it?

kxy
2nd January 2003, 03:08
Maybe instead matching it to number 1 of the chapter, you can match it with the last chapter and go backwards. You think that will be a good idea?

Emp3r0r
2nd January 2003, 06:31
I made a new version that did as you say but then realized that wouldn't work with the way I am importing the chapters because it relies on the actual number of the chapter. I'll release the source of the C# class I have once I fix this issue.

Soucecode now available below!

PS: BTW KISS == Keep It Simple Stupid ;)

Apfelstruhdl
2nd January 2003, 17:55
i can't start your prog i always get error:

the aplication couldn't be started right (0xc0000135)

(i hope u understand that)

i am using xp do i need to have something installed in order to use your proggy??

btw i really like the idea of your prog.


P.S. are there more tools for ogm. for example a tool where you can make an setup file for OGMuxer or a commandline?

i thought of programming my own tool but i can only programm in VB and i'm really not very expirienced.
ao if there's such a tool already maybe somebody could post a link.

BoNz1
2nd January 2003, 18:10
i can't start your prog i always get error: the aplication couldn't be started right (0xc0000135)

The reason why you get this is error is because the .net framework is not installed. Get it from m$ it is about 20MB.

Emp3r0r
2nd January 2003, 22:30
Thats correct, you need to download .NET Framework (http://download.microsoft.com/download/.netframesdk/Redist/1.0/W98NT42KMeXP/EN-US/dotnetredist.exe) or install Service Pack 1 for XP.

Apfelstruhdl
3rd January 2003, 13:44
ok thx

and what about other support tools. does anybody know some...?

Apfelstruhdl
28th January 2003, 16:08
could you add support for an european site with ean numbers?? as almost no european dvd can be found at the site your using...

Emp3r0r
29th January 2003, 05:27
can you recommend some sites?

Apfelstruhdl
29th January 2003, 12:01
ok i'll try to find some

Maybe somebody already knows a site which offers chapter info + european ean numbers??

Bluedan
21st February 2003, 13:32
Any updates?

I get the same error as Apfelstruhdl, though SP1 is installed, and I cannot remember that I was asked if I wanted .NET to be installed or not.
Ideas?
Is it hard to craete a non-net dependend version, Emp3rOr?

Emp3r0r
25th February 2003, 07:19
I could turn this program into a webpage, but then you'd have to upload your IFO file. I apologize for the lack of updates, I've been very busy with school and work.

Bluedan
25th February 2003, 12:52
Acknowledged. ;)

Just wanted to make sure, that you know that your party is still onboard.
Meanwhile I simply like to get this working on my machine...

BTW, do you remember a European site dealing with region 2 chapter info?
A couple times and more than a few, region 1 based sites (blockbuster; B&N) seem to provide 10 more chapters entries per movie than stated by the IFO of my version.

Apfelstruhdl
26th February 2003, 13:26
I searched for a site. But couldn't find one.
Is it a must to use the ean code for identifying a dvd or would a name be enough??? and then i u would get more than one hit maybe a selection option?

anyway if somebody knows a european side providing chapter info let us know

Emp3r0r
12th April 2003, 23:19
I did some minor changes:
- fixed "file handle not closing upon save" bug
- updated import from internet to import movie title
- added some keyboard shortcuts

Download newer version below (13 KB)

@Apfelstruhdl: I'll work on a selection option

Animaniac
5th June 2003, 03:34
I can't find this tool anywhere, can someone mirror it. Thanks. ^_^

Hiro2k
5th June 2003, 18:24
The newest Link is not working for me :(

Animaniac
8th June 2003, 01:14
*bump*

JagPanzer
8th June 2003, 12:47
Here you go. :)

Download (http://www2.arnes.si/~nbreme/ChapterGrabber (1.0.1197.27273).zip)

Animaniac
8th June 2003, 18:14
Originally posted by JagPanzer
Here you go. :)

Download (http://www2.arnes.si/~nbreme/ChapterGrabber (1.0.1197.27273).zip)
Thanks. ^_^

secotelli
6th July 2003, 18:41
what happened to my precious chapter grabber?? :(

i went for holiday, and then when i came back chapter grabber doesnt work anymore.. everything works fine like before till i try to import names from internet.. doesnt barnesandnoble.com's EAN number work anymore?? otherwise, why do i always get "Name Import Failed" message now?? :(

Emp3r0r
8th July 2003, 22:38
I'll take a look into it, probably video.bn.com changes.

corigan
11th July 2003, 04:48
Great Tool Emp, saves alot of time for sure. Thanks for your work.

Kent Wang
11th July 2003, 05:49
Great program. How about an option to strip out the timecodes from the titles? Like instead of "Henslowe's Dilemma [:25]", have "Henslowe's Dilemma."

secotelli
21st July 2003, 16:43
Emp3r0r, havent you checked yet??
please, you gotta find solution to me.. i am really suffering..

pleaaaaaaaaaaseeeeeeeeeee....:(

Griniaris
22nd July 2003, 01:39
Indeed there have been changes and the net import does no longer work BUT import from clipboard does work so you can allways use that!
Just go to the site, find the chapter info, select them with the mouse, copy them to clipboard and then import the chapter names through chaptergrabber...
Hope this helps.

secotelli
23rd July 2003, 13:59
Thank you Griniaris.. :D

it worked well that way.. I dont know how to thank you.. ;)
but I still wonder why we cant download from website anymore...

Emp3r0r
3rd August 2003, 23:43
Fixed the bug when using the UPC/EAN import. Sorry for the long delay.

New Version Below

Emp3r0r
4th August 2003, 07:58
Originally posted by Kent Wang
Great program. How about an option to strip out the timecodes from the titles? Like instead of "Henslowe's Dilemma [:25]", have "Henslowe's Dilemma."
I added this feature in the edit menu... download the new version
Newer Version Below

secotelli
11th August 2003, 12:15
I can't download the new version... :(

Kent Wang
11th August 2003, 16:39
Ever thought about letting Doom9 know of your tool and letting him host it on the downloads page? Next to jonny's Enc, this is the only tool that I use that isn't on that page.

secotelli
22nd August 2003, 16:55
it works perfect!!! :D

Thanx a lot Emp3r0r...;)

Emp3r0r
12th September 2003, 22:47
Rewrote much of the code but has same basic functionality as before plus a few extras.

Download <link removed> see first page

ps: let me know of any bugs

secotelli
14th September 2003, 09:24
I have a problem for couple of days..
When I want to import the chapter names, I start getting

ChapterName 1
ChapterName 2
ChapterName 3
ChapterName 4
....

Is that because of the new chapter grabber or because Barnes and Noble changed the database???

Dams
14th September 2003, 10:11
@Emp3r0r : is there any other programs that aims to only ( or more) convert chapter file text beetween many formats like BSP, OGM ,etc.. ?

Emp3r0r
14th September 2003, 21:11
Originally posted by Dams
@Emp3r0r : is there any other programs that aims to only ( or more) convert chapter file text beetween many formats like BSP, OGM ,etc.. ? ChapterXtractor will do that if you have the IFO file to begin with. Originally posted by secotelli
I have a problem for couple of days..
When I want to import the chapter names, I start getting

ChapterName 1
ChapterName 2
ChapterName 3
ChapterName 4
....

I've fixed this, i'll post a new version soon

zulu
15th September 2003, 17:54
Hi!
Emp3r0r supplied me with his latest ChapterGrabber sourcecode, to which i
added a new feature: direct IFO chapter parsing.
In other words, ChapterGrabber is "stand-alone" now and doesn't rely on
chapterXtractor anymore.
Emp3r0r currently has no access to his server and asked me to compile and upload a new binary. Here it is.

enjoy :)

Download 2.0.1353.30246 (http://zuludev.de.vu/downloads/ChapterGrabber.zip)

Surye
9th December 2003, 03:37
Hmm.. ChapterGrabber seems to not like it when there are more then one chapter set (I wouldn't either =P) Here's an example:
http://video.barnesandnoble.com/search/product.asp?userid=2XQ7KHQJVU&FRM=0&EAN=717951009395&VIEW=SCN#SCN

CHAPTER01=00:00:00.000
CHAPTER01NAME=The Beginning
CHAPTER02=00:00:57.302
CHAPTER02NAME=Music
CHAPTER03=00:05:58.969
CHAPTER03NAME=Storyboards
CHAPTER04=00:13:46.137
CHAPTER04NAME=Art Direction
CHAPTER05=00:20:29.004
CHAPTER05NAME=Puppets
CHAPTER06=00:25:51.805
CHAPTER06NAME=Animation
CHAPTER07=00:30:19.639
CHAPTER07NAME="Jack's Obsession"
CHAPTER08=00:35:09.974
CHAPTER08NAME="The Scheming Song"
CHAPTER09=00:38:20.341
CHAPTER09NAME=Sally's Forewarning
CHAPTER10=00:40:56.010
CHAPTER10NAME="Making Christmas"
CHAPTER11=00:45:17.377
CHAPTER11NAME=Sandy Claws in Person
CHAPTER12=00:48:10.512
CHAPTER12NAME="Oogie Boogie's Song"
CHAPTER13=00:50:43.879
CHAPTER13NAME=Zero Lights the Way
CHAPTER14=00:53:02.546
CHAPTER14NAME="Sally's Song"
CHAPTER15=00:54:47.013
CHAPTER15NAME=Christmas Eve Montage
CHAPTER16=00:59:47.680
CHAPTER16NAME=Shot out of the Sky
CHAPTER17=01:01:36.347
CHAPTER17NAME="Poor Jack"
CHAPTER18=01:04:38.682
CHAPTER18NAME=To the Rescue!
CHAPTER19=01:08:49.516
CHAPTER19NAME="Finale/Reprise"
CHAPTER20=01:11:25.516
CHAPTER20NAME=End Credits

Seems to be a Commentary/Normal Audio issue.

Emp3r0r
9th December 2003, 21:53
suryc: use the import from clipboard feature

Emp3r0r
26th March 2004, 06:31
New version available with support for writing matroska chapter Xml files. Reading will be included in next version. Enjoy!

See top of thread (http://forum.doom9.org/showthread.php?threadid=40343) for download link

Palikrovol
26th March 2004, 15:32
Little suggestion:

Put a menu with the links to the webs where the EANs or chapters can be found:

http://video.barnesandnoble.com
http://www.allmovie.com
http://www.blockbuster.com
...
...

Yo
19th April 2004, 06:13
If one is using a text file for input of the chapters (File/Open), instead of the IFO file, how should the text file (showing the chapter times) be formatted? COuld you post a sample text input file?

zulu
19th April 2004, 08:13
The textfile must have the ChapterXtractor OGG format.
Example:

CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:02:50.100
CHAPTER02NAME=Chapter 2
CHAPTER03=00:03:41.633
CHAPTER03NAME=Chapter 3
...

Yo
19th April 2004, 18:37
Originally posted by zulu
The textfile must have the ChapterXtractor OGG format.
Example:

CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:02:50.100
CHAPTER02NAME=Chapter 2
CHAPTER03=00:03:41.633
CHAPTER03NAME=Chapter 3
...

When you first import the chapters, they probably will not have the names though, correct, until one uses your program to input the names. So would the original text file that just shows the chapter times read like the following?:

-------------
CHAPTER01=00:00:00.000
CHAPTER02=00:02:50.100
CHAPTER03=00:03:41.633
---------------

Or--would it actually read like your original quote at the top, although the names are not known yet--just calling them "Chapter 1", etc.?

zulu
23rd April 2004, 15:38
it would actually read like my original quote.
"Chapter n" is a standard chaptername chapterXtractor uses when creating ogg chapterfiles from an ifo as it can't get the original name from the ifo.
so basically a chapter entry requires 2 lines:
line a: timecode
line b: chaptername (unimportant, will be overriden by chaptergrabber)

regards,
zulu

bond
13th July 2004, 19:29
i tried the .reg option for setting chapters in xvid's zones, but it didnt work, meaning the reg entries got added to the registry, but they didnt show up in xvid's gui itself
i am using winme (yeah i know :D )

Emp3r0r
15th July 2004, 04:02
Try searching for where xvid stores the settings in your registry. Once you find the correct key change the value in the "ChapterGrabber.exe.config" file.

The default looks like: <add key="xvidreg" value="[HKEY_CURRENT_USER\Software\GNU\XviD]"/>

bond
15th July 2004, 20:18
it seems that the default one is the correct one here, at least there are a bunch of values stored already. and the chaptermarks are also listed there when using chaptergrabbers option, still they are not shown in the xvid gui

will check more deeply

darkpepe
26th September 2004, 03:22
Hi!
Wonderfull tool, but I have a small problem here:
The Star Wars trilogy comes in a box, when retrieving titles from the internet I just get the titles from the first DVD.

If I want to set keyframes at the beginning of a chapter, adding the reg file to registry is all I have to do? Must I delete the changes by hand after the encoding?
Thanks!

Lenton
24th October 2004, 13:58
I have a 25 FPS DVD. The chapter timings are wrong, and it doesn't help fiddling with the framerate in options. Could this be fixed?

Emp3r0r
29th October 2004, 18:12
when retrieving titles from the internet I just get the titles from the first DVD. Copy the chapters for each DVD to the clipboard and use the Import from Clipboard feature.

The chapter timings are wrong, and it doesn't help fiddling with the framerate in options.How wrong are they and how did you determine they are wrong? I don't have any 25fps DVDs to test with.

So far it has been my experience that DVD chapter times aren't always as accurate as I'd like them to be. For example, sometimes a chaptertime doesn't correspond to the first frame of the scene as it should.

I personally gave up on forcing keyframes and just go with jumping to the nearest keyframe. Works well enough.

Lenton
31st October 2004, 14:41
Originally posted by Emp3r0r
How wrong are they and how did you determine they are wrong? I don't have any 25fps DVDs to test with.

Well it's because it seems as if ChapterGrabber retrieves the framecount for chapters and then translates it to 23.97/29.97 frameseconds, so when I enter 25 fps in the options it just changes the framecount and not the minute, second count.

Emp3r0r
4th November 2004, 23:21
when I enter 25 fps in the options it just changes the framecount and not the minute, second count. This works as designed. ChapterGrabber assumes that you start with correct timecodes. It can't assume the fps to generate frame numbers which is why the option exists to change frame numbers only.

Lenton
6th November 2004, 13:09
Yes, but it's designed incorrectly. From the frame numbers given from the ifo file, it should translate this into timings according to the fps, but it just assumes fps is 29.97!

Bluedan
21st April 2005, 10:15
As in my opinion chapters is a must-have in my backups I heavily rely on your nifty little pogramme.
Haven't backed-up for a long time I recently discovered differences between data delivered by chapterXtractor (which are correct) and your programmes'.
Timecodes AND frames are totally off, though framerate was set to 25fps/PAL accordingly...

Ifo is from StarWars Ep.6
This is what the Grabber is showing:
http://img250.echo.cx/img250/4278/chaptergrabber1ff.jpg

And here are the first lines from ChapterXtractor, both frames and corresponding timecodes (25fps):

1=0 Chapter 1
2=500 Chapter 2
3=2778 Chapter 3
4=7192 Chapter 4
5=11771 Chapter 5
6=17801 Chapter 6
7=20669 Chapter 7
8=25320 Chapter 8
9=31893 Chapter 9
10=36165 Chapter 10
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:00:20.000
CHAPTER02NAME=Chapter 2
CHAPTER03=00:01:51.120
CHAPTER03NAME=Chapter 3
CHAPTER04=00:04:47.680
CHAPTER04NAME=Chapter 4
CHAPTER05=00:07:50.840
CHAPTER05NAME=Chapter 5
CHAPTER06=00:11:52.040
CHAPTER06NAME=Chapter 6
CHAPTER07=00:13:46.760
CHAPTER07NAME=Chapter 7
CHAPTER08=00:16:52.800
CHAPTER08NAME=Chapter 8
CHAPTER09=00:21:15.720
CHAPTER09NAME=Chapter 9
CHAPTER10=00:24:06.600
CHAPTER10NAME=Chapter 10

I don't understand why the framecount is off.
Can you fix this?

Current workaround is to create chapterfile with ChapterXtractor and then load it into the Grabber.

LeMoi
12th September 2005, 23:31
any valid link please ?

Emp3r0r
21st September 2005, 05:13
I've attached the latest version I've found. Sorry my website is down so you'll need to wait for the attachment to be approved.

jflatt
21st September 2005, 05:39
Does this somehow compensate for the studio intros before the start of a movie?

Rafik
7th February 2006, 21:01
The link is broken ...

Emp3r0r
13th February 2006, 01:16
Links should work now, enjoy.

Emp3r0r
19th November 2008, 08:05
I've updated it to use tagChimp to put chapter titles on my bluray mkv backups.

Bluedan
19th November 2008, 19:54
New version crashed upon the first attempt to open an ifo (I am legend). Reproducable with all other ifos.

XP pro 64bit, NET 3.5.

See message attached (Achtung: German):
It says, that I tried to load a wrong format file.
Txt files can be loaded.
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.BadImageFormatException: Es wurde versucht, eine Datei mit einem falschen Format zu laden. (Ausnahme von HRESULT: 0x8007000B)
bei VideoEncodingSupport.Dvd.Ifo.ChapterStripper.ifoOpen(String name, fio_flags flags)
bei VideoEncodingSupport.Dvd.Ifo.ChapterStripper..ctor(String ifofile)
bei JarrettVance.ChapterTools.Grabber.LoadDvdChapters(String filename)
bei JarrettVance.ChapterTools.frmMain.menuFileOpen_Click(Object sender, EventArgs e)
bei System.Windows.Forms.MenuItem.OnClick(EventArgs e)
bei System.Windows.Forms.Command.Invoke()
bei System.Windows.Forms.Control.WmCommand(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
ChapterGrabber
Assembly-Version: 3.0.3245.2025.
Win32-Version: 3.0.3245.2025.
CodeBase: file:///C:/Program%20Files%20(x86)/ChaptorGrabber_v3.0/ChapterGrabber.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Core
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.21022.8 built by: RTM.
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

http://s3.bilder-hosting.de/tbnl/7Y74T.jpg (http://www.bilder-hosting.de/show/7Y74T.html)

Emp3r0r
19th November 2008, 21:45
New version crashed upon the first attempt to open an ifo (I am legend). Reproducable with all other ifos.

XP pro 64bit, NET 3.5.

I had this exact same crash until I recompiled for x86. It must be x86 due to vStrip.dll being x86. Anyway, I updated the package to ensure it contains a x86 version. Can you re-download it and try again? It works for me on Vista x64.

Download (http://jvance.com/files/ChapterGrabber.3.0.zip)

Bluedan
20th November 2008, 10:46
OK. Now it doesn't crash anymore.
But Chapter 1 has a double entry at the end, time codes are correct:

http://s3.bilder-hosting.de/tbnl/82F3C.jpg (http://www.bilder-hosting.de/show/82F3C.html)

Old version 2.3 does not have this bug.
BTW, what about the framerate setting. It has vanished.

Emp3r0r
25th November 2008, 19:10
Old version 2.3 does not have this bug.
BTW, what about the framerate setting. It has vanished.
I've uploaded a new version (http://jvance.com/pages/ChapterGrabber.xhtml) that has a setting to resolve the "short last chapter" issue.

I'll look at adding the framerate setting in the next version. I'm also working on a online database for chapter names and times to improve naming accuracy.

Bluedan
25th November 2008, 23:55
I would give it a try, but download fails:

Server Error in '/' Application.
The resource cannot be found.

However, v3.0 can be found there.

Emp3r0r
26th November 2008, 06:30
woops :o

Fixed link.

Bluedan
3rd December 2008, 19:54
This version is working quite well. The search function for chapter names (on which db does it rely on ?) is a huge improvement.
I am very satisfied, thanks alot for continuing the work on this tool !
:thanks:


Nevertheless, 2 bugs found:

1) The application crashes with the following message on start. It points to a file I have used some sessions ago (with v.3.0? - same folder). Continuing (weiter) is possible. Then it shows the last used title in the main window.

http://s3.bilder-hosting.de/tbnl/C7S48.jpg (http://www.bilder-hosting.de/show/C7S48.html)

2) App does not remember the last Import duration with names setting.

Emp3r0r
4th December 2008, 02:23
Your in luck, I released a new version.

2008-12-02 : v3.2
IFO parsing was re-written with increased accuracy. It also no longer depends on vStrip.dll for IFO parsing. You can now change the FPS of your chapters in case you need to switch chapter times from NTSC to PAL. A new menu for recently opened files is now available. Bluray FPS is not yet detected. A new configuration file stores user and app settings.

http://jvance.com/pages/ChapterGrabber.xhtml

Also, now that it is pure C#, it should run on linux under mono (http://go-mono.org).

pdanpdan
5th December 2008, 20:23
Latest version, 3.2, I get some crashes when I search for "A Bug's Life"

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Xml.XmlException: '', hexadecimal value 0x1B, is an invalid character. Line 958, position 23.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
at System.Xml.Linq.XDocument.Parse(String text)
at JarrettVance.ChapterTools.frmMain.<btnSearch_Click>b__b(Object s, DownloadStringCompletedEventArgs args)
at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ChapterGrabber
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/7_Soft/Multimedia/Chapter/ChapterGrabber/ChapterGrabber.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
3wn24rc-
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Emp3r0r
7th December 2008, 06:21
2008-12-06 : v3.3
Two new output formats added: Matroska XML and ChapterGrabber XML formats (no support yet for loading these files). You can now choose a language to apply to all chapter names through a new menu. ChapterGrabber now detects and removes invalid characters in the tagChimp search results.

@pdanpdan: fixed

pdanpdan
7th December 2008, 12:10
Yes, working ok now, thank you.

Emp3r0r
20th December 2008, 07:26
New Version
ChapterGrabber can now detect the fps of BluRay discs via the CLIPINFO data. However, it does not yet support extracting the fps when directly opening a MPLS file.
The new ChapterGrabber format has been finalized and can be properly loaded and saved.
When moving the chapters up or down, only the names are moved and not the times.
I also added some additional framerates to the config file, 50fps and 60/1.001fps.

Emp3r0r
9th January 2009, 07:34
New Release
New source for chapter names can now be grabbed from metaservices.
ChapterGrabber now stores last open directory in settings and points to parent directory when it doesn't exist.

Bluedan
9th January 2009, 14:32
New Release
New source for chapter names can now be grabbed from metaservices.
That's nice.

ChapterGrabber now stores last open directory in settings and points to parent directory when it doesn't exist.
That's even much nicer. :)

Emp3r0r
26th January 2009, 23:29
HD-DVD support added. You can now extract chapters from the disc or directly from an XPL file.
4 new output formats added: TsMuxeR Meta, Timecodes, Celltimes, x264 QP File.
You can now change current FPS without recalculating chapter times.

LeXXuz
27th January 2009, 20:46
Thanks for the new version.

I guess I found the source of my FPS-conversion problem.

I didn't have the 23,976FPS option in the menus. Instead there was a 0,024 value shown.

Looking into your config file I found the problem. Using 24/1.001 does not work for me. German Windows does not recognize the decimal point (it expects a comma instead) and calculates 24/1001 resulting in the 0,024 value I could see in the menus.

I've changed the settings for 23,976 to 24/1,001 in the config file and now it works just fine. :)

Emp3r0r
28th January 2009, 17:42
nice catch, I'll force the culture on the config file for the next release.

kumi
1st February 2009, 21:26
It seems the website is down, with this error:

Server Error in '/' Application.
Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

EDIT: fixed now

Emp3r0r
2nd February 2009, 18:22
fixed, been tweaking my blog engine

Inspector.Gadget
19th March 2009, 15:34
MetaService is timing out consistently, and TagChimp never seems to have the chapters I'm looking for. Suggestions?

Eric B
14th April 2009, 15:45
Thank you Emp3r0r for this very powerful tool!
I've been using an old v1.x for some years, and updated recently to v3.6. However, I had to trick with your links in this topic, because I do not see any "download" link in your web page using Firefox 3.0!
It is a pity that such a great tool stay quite low used. For instance, would you mind to integrate it with the MeGUI distribution? The included chapter tool in MeGUI is quite poor in comparison...

So, v3.6 is working quite well, BUT I get the following exception during launch:
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at JarrettVance.ChapterTools.frmMain.LoadFpsMenus()
at JarrettVance.ChapterTools.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I am using Windows XP US, but with french regional settings (coma as decimal separator, etc). It seem your are using the System.Globalization.NumberFormatInfo within the Parse method. I've using it recently successfully within the convert method...:
private readonly NumberFormatInfo numberInfo = new NumberFormatInfo();
// in a method
double yourDble = Convert.ToDouble(yourString, numberInfo);
But it seems to come from the input string. Null check perhaps? It is the main difference between parse and convert, as written here (http://www.yoda.arachsys.com/csharp/faq/#convert.parse)

The grabbing of the chapter is working quite well within metaservice. Is there any services proposing the chapter in other language than English?

Keiyakusha
14th April 2009, 16:10
Thank you Emp3r0r for this very powerful tool!
However, I had to trick with your links in this topic, because I do not see any "download" link in your web page using Firefox 3.0!


Same here (Firefox 3.0.8). Can you tell more about your tricks? :)

Eric B
14th April 2009, 21:09
Download v3.0 (http://jvance.com/files/ChapterGrabber.3.0.zip)
The author posted the download link above, I've replaced 0 by 6:
Download v3.6 (http://jvance.com/files/ChapterGrabber.3.6.zip)

Keiyakusha
14th April 2009, 21:18
The author posted the download link above, I've replaced 0 by 6:
Download v3.6 (http://jvance.com/files/ChapterGrabber.3.6.zip)

Ahh, now I see. Thanks for the link!

vucloutr
15th April 2009, 11:27
Hi, i get this Error when starting ChapterGrabber. (german)
Something like the configuration system cannot be initialized.
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.Configuration.ConfigurationErrorsException: Das Konfigurationssystem konnte nicht initialisiert werden. ---> System.Configuration.ConfigurationErrorsException: Unbekannter Konfigurationsabschnitt "system.serviceModel". (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\machine.config line 146)
bei System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
bei System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
bei System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Configuration.ConfigurationManager.GetSection(String sectionName)
bei System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
bei System.Diagnostics.DiagnosticsConfiguration.Initialize()
bei System.Diagnostics.DiagnosticsConfiguration.get_IndentSize()
bei System.Diagnostics.TraceInternal.InitializeSettings()
bei System.Diagnostics.TraceInternal.WriteLine(Object value)
bei JarrettVance.ChapterTools.frmMain.menuItem5_Click(Object sender, EventArgs e)
bei System.Windows.Forms.MenuItem.OnClick(EventArgs e)
bei System.Windows.Forms.Command.Invoke()
bei System.Windows.Forms.Control.WmCommand(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3074 (QFE.050727-3000).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
ChapterGrabber
Assembly-Version: 3.6.0.0.
Win32-Version: 3.6.0.0.
CodeBase: file:///C:/Users/***/Desktop/ChapterGrabber.3.6/ChapterGrabber.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Core
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.1 built by: SP.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3074 (QFE.050727-3000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
SYSTEM.CONFIGURATION.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration.resources/2.0.0.0_de_b03f5f7f11d50a3a/System.Configuration.resources.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.3074 (QFE.050727-3000).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Xml.Linq
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.1 built by: SP.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

Emp3r0r
2nd May 2009, 06:29
Thank you Emp3r0r for this very powerful tool! ..would you mind to integrate it with the MeGUI distribution?
I've added source code to the latest release but I don't have time add it into MeGUI.


So, v3.6 is working quite well, BUT I get the following exception during launch:


I am using Windows XP US, but with french regional settings (coma as decimal separator, etc). It seem your are using the System.Globalization.NumberFormatInfo within the Parse method.
I updated to use Convert rather than Parse.

The new version is 3.7 at http://jvance.com/pages/ChapterGrabber.xhtml

Arshad07
15th May 2009, 08:22
Its crashing everytime i open it

http://i39.tinypic.com/2lbp2d3.png

Any help appreciated!

Kurtnoise
15th May 2009, 08:30
it requires framework .net 3.5...

Arshad07
15th May 2009, 08:30
it requires framework .net 3.5...

yea, i have that.

Arshad07
15th May 2009, 08:53
Ok, i got it to work. But now i'm facing another issue

http://i39.tinypic.com/25qytfd.png

Inspector.Gadget
15th May 2009, 14:33
I think that's a problem with the chapter service's data format, not a Chapter Grabber program error.

turbojet
15th May 2009, 22:11
Hi, is there any plans to add simple command line support?

Examples: If E: contains a bluray
chaptergrabber E:\ -3 D:\celltimes.txt -celltimes - chooses the third playlist of E:\ no switch after disk input would choose longest runtime playlist and outputs D:\celltimes.txt in celltimes format
chaptergrabber D:\playlist.mpls D:\chapters.xml -mkvxml - outputs D:\chapters.xml in mkv format
other switches could be: -mkv (chapter) -cg (chaptergrabber) -timecodes -tsmuxer -x264

This would allow frontends to make use of this tool.

Also is there a chance to have an output preview pane, output type setting, copy output and save button in main window?
For things like timecodes and tsmuxer output it would be easier to be able to copy the output and put into tsmuxer.

turbojet
28th May 2009, 16:30
When saving as celltimes type the first line that reads '0' must be removed before muxman, ifoedit read the chapters correctly. Is this intentional or a bug?

Also could use a convert to 29.97/25 fps option to deal with dvd pulldown.

LeXXuz
18th August 2009, 02:08
Hi Emp3r0r,

I cannot get any chapter information from tagchimp with ChapterGrabber. Using the same keywords directly on the website gives me dozens of results with movies/chapter information. No matter what I do, ChapterGrabber always claims that it has found 0 results. Any ideas?

gwaitsi
27th October 2009, 22:12
just downloaded 3.7 and tried to open an MKV xml file - says "format not support" but you claim to have included the format.

Otherwise, could have been quite useful.

Arshad07
4th January 2010, 00:12
Getting error:


The remote server returned an error: (500) Internal Server Error

Emp3r0r
13th February 2010, 06:23
I put the source on google code. Due to a lack of time, I've not been able to resolve the chapter lookup feature. I would love to see this fixed and added to megui.

http://jvance.com/pages/ChapterGrabber.xhtml
http://code.google.com/p/chaptergrabber/

edit: I found the time, latest version works with tagchimp and the new chapterdb.org

doc_dvxm
14th April 2010, 11:08
Hi Emp3r0r,

I cannot get any chapter information from tagchimp with ChapterGrabber. Using the same keywords directly on the website gives me dozens of results with movies/chapter information. No matter what I do, ChapterGrabber always claims that it has found 0 results. Any ideas?

Hii there... Me too... I am trying to search, but there is no info founded in tagchimp and metaservices..

I tried with 3.6 and 3.7 version... I am on 32 Bit Platform Win 7 Ultimate OS ...

What do you prefer ??

Thanx in advance...

Best Regards,

doc

Anacletus
13th May 2010, 18:02
Version 3.8 online --> http://jvance.com/pages/ChapterGrabber.xhtml :cool:

Emp3r0r
13th May 2010, 20:50
4.0 is now online as well with built-in update checking.

The tagchimp search results are improved and I hope to add a new chapter database in a near future.

sialivi
15th May 2010, 02:41
Emp3r0r,

I'm just trying out version 4.1 and no matter what movie I try all the chapters have the timestamp 00:00:00.000

Emp3r0r
16th May 2010, 04:56
I just tested it on a bluray and it worked fine? What type of disc? DVD?

hubblec4
17th May 2010, 01:53
thanks a lot for the update.

Emp3r0r
6th June 2010, 07:05
I've created an online database to store chapter names and updated ChapterGrabber to read and store names in the database. It also helps you find an appropriate title for the movie so we can find the chapters easier.

If the database already has the chapter names, when you load the disc in ChapterGrabber, the chapter names (and movie title) will automatically load.

Please help build the database. I'm hoping to have the data collected in chapterdb.org added to themoviedb.org.

Thanks

doc_dvxm
7th June 2010, 11:16
The Latest version (4.1) has been tested on various BluRay Disc's. It work fine. Thanx for your great job :)

LeXXuz
24th July 2010, 20:51
DAMN! Seen this way too late.

Thought this nice little tool was dead. Very good to see you're back working on it. :thanks:

LeXXuz
16th November 2010, 15:02
An option to shift chapter times would be great. :)

Usedocne
16th November 2010, 17:40
^2nded.

Couch Potato
25th January 2011, 19:45
Hi Guys,

First post so please be gentle with me...

I love this prog to bits but I find it a pain transfering the found stuff into Handbrake or MKV Merge GUI, so I wrote a little awk script that reads a saved XML Chapters file and creates two new files from it, a CSV for Handbrake and an XML for MKV Merge, it runs under Linux or Windows (using gawk from Cygwin).

I'm currently using it from a shortcut from my Windows 7 destop, and it saves me no-end of cutting/pasting/typing.

Anyone interested?

Couch Potato

hubblec4
3rd July 2011, 23:25
thanks for the update to V. 5.0.0.0

is there a changelog available?

LeMoi
3rd July 2011, 23:30
http://jvance.com/pages/ChapterGrabber.xhtml

Frogger13
3rd November 2011, 18:16
No update since a long time... Is this great project dead?!

LeXXuz
20th November 2011, 13:32
It seems I can't use this tool without an Internet connection. I never noticed this before, but this week I had some problems with my ISP and no connection to the Internet for a couple of days.

I was unable to use Chapter Grabber. It ALWAYS crashed a couple of seconds after start. I verified this later by dis-/connecting my system manually. Anybody to confirm this?

Emp3r0r
25th December 2011, 06:29
It should work without a connection, will look into it

Mole
4th January 2012, 02:47
Excellent program!
But it would be nice if you could add option for adding delay in the times.
For example, delay of 5.250 ms or -5.250 ms if you want to delete 5.250 seconds from all the chapters.
Thanks for the good work so far though!

LeXXuz
4th January 2012, 07:57
I second that. Shifting the chapter times would be great! :)

hubblec4
6th February 2012, 23:37
how can i upload chapter files to the chapterDB?

i found no matches in the chapterDB, but on the bluray. I have create a chapter.txt