Log in

View Full Version : Can you extract a chapter list?


sidneysides
13th January 2009, 20:56
I'm using tsmuzer to create AVCHD BD-9 discs and leave it on the default setting of creating a chapter every 5 minutes. Back in the day i remember a tool called chapter Xtracter that produced a list of the chapters. IS there something similar that lifts the chapters from a Blu-Ray rip?

PassThePeas
14th January 2009, 01:07
eac3to will do it perfectly. But in tsMuxer if you add an mpls file (PLAYLIST folder), it will get the chapters. The only thing you'll have to do is to check the box to tell tsMuxer to do so (in the blu-ray tab).

alluringreality
14th January 2009, 01:11
I know you can save and change chapters with BDedit - it's in the playlist area. (I've never used eac3to)

Emp3r0r
14th January 2009, 03:48
Check out ChapterGrabber (http://jvance.com/pages/ChapterGrabber.xhtml)

It supports DVD and Bluray. However, I'm still looking for information on HD-DVD chapter data.

PassThePeas
14th January 2009, 14:21
eac3to does it just fine for BluRay ==> Command-line : eac3to input.file+input.file.2 trackno: output.file -options trackno: output.file -options (for the chapter track, it's a text file)

For HD-DVD, I know I've done it before but can't remember if it was done with eac3to to (applied on the .EVO Files) or directly with EVO-Demux.
I can't check right now because I'm at work and don't have the hand on my home PC, but if you can't make it work, just PM me, I'll look into it and post the answer.

PS: For eac3to info => http://forum.doom9.org/showthread.php?t=125966&highlight=eac3to

shon3i
14th January 2009, 19:43
For HDDVD, eac3to work fine, but pulldown must be applyed on timecodes.

Emp3r0r
15th January 2009, 00:00
For HDDVD, eac3to work fine, but pulldown must be applyed on timecodes.
ChapterGrabber can alter the timecodes... also it is a bit faster than eac3to.

I'll add support for HD-DVD soon as it is just an xml file it will only be a couple lines of code.

~bT~
15th January 2009, 02:20
does anyone know of an app which can output celltimes.txt file for BD please?

shon3i
15th January 2009, 22:39
ChapterGrabber can alter the timecodes... also it is a bit faster than eac3to.

I'll add support for HD-DVD soon as it is just an xml file it will only be a couple lines of code.
Thanks, It will be nice to have option to convert between time and frames, like ~bT~ need, it's more usefull for encoders like x264.

laserfan
15th January 2009, 22:58
eac3to will do it perfectly. But in tsMuxer if you add an mpls file (PLAYLIST folder), it will get the chapters. The only thing you'll have to do is to check the box to tell tsMuxer to do so (in the blu-ray tab).
Note that if you re-mux the files with tsMuxeR, you will likely have to apply fixclpi or the chapter marks can be "off".

Video Dude
16th January 2009, 00:59
ChapterGrabber can alter the timecodes...
Can ChapterGrabber convert 30fps timecodes to 24fps timecodes?

shon3i
22nd January 2009, 19:44
I made one small app which convert eac3to or chapter grabber chapters to x264 frame based ascii file, aslo can convert between framerates, for example for HDDVD you need to convert from 24 to 23.976 to get actual times. Suggestions are welcome.

http://tom.niko.users.sbb.co.yu/qpfilegen.rar

~bT~
23rd January 2009, 11:38
^ this is perfect! just what i've been looking for. cheers!

late edit: just a lil edit needed tho. when it outputs celltimes.txt file, i believe there should not be a 0 in line 1. also it saves it as celtimes.txt :p

shon3i
24th January 2009, 00:00
fixed :p use same download link :)

~bT~
24th January 2009, 04:06
^ purrrfect! :)

shon3i
24th January 2009, 15:11
I update my small app :), now can extract chapters directly from Blu-Ray or HDDVD, of course via eac3to (thanks to madshi :)) You only need to set path to eac3to exe in settings, and choose root of Blu-Ray/HDDVD and little wait :). It's little slower than other metods like ChapterGrabber but works :)

Download (http://tom.niko.users.sbb.co.yu/qpfilegen.rar) (it's same link as above :))

~bT~
24th January 2009, 17:17
^ thanks again shon3i, saves me a step or 2 :D

edit: adding dvd support would make it a one stop shop for me :) cheers!

Emp3r0r
26th January 2009, 23:27
Added HD-DVD support to ChapterGrabber so it now supports all three major disc formats.

Also, there are 4 new output formats added: TsMuxeR Meta, Timecodes, Celltimes, x264 QP File.

~bT~
27th January 2009, 01:04
Added HD-DVD support to ChapterGrabber so it now supports all three major disc formats.

Also, there are 4 new output formats added: TsMuxeR Meta, Timecodes, Celltimes, x264 QP File.


just a lil edit needed tho. when it outputs celltimes.txt file, i believe there should not be a 0 in line 1.

Same thing shon3i missed out.
========================================================================================
ok, so which is correct??

qpfilegen tool:

1662
7622
13265
25317
31320
34801
42408
52924
63266
69504
74733
78093
79219
81090
85636
87129
89882
94494
96772
99684
103284
109404
114528
119388
123900
130152
131980
135039
145306
152659
156255
159009
163479
260648
267922
273821

chaptergrabber:

1662
7622
13265
25317
31320
34801
42408
52924
63266
69504
74733
78093
79219
81090
85636
87129
89882
94494
96772
99684
103284
109404
114528
119388
123900
130152
131980
135039
145306
152659
156255
159009
163479
174334
181608
187507

shon3i
27th January 2009, 08:31
Use VirtualDub, and see what is in the right place. Can you aslo post original input chapter file. btw i made some improvments can you redownload qpfilegen and see is there some difference.

~bT~
27th January 2009, 10:22
^ new version gives the same output as chaptergrabber ;)

these were the original chapters (last three):

CHAPTER35=02:01:11.180
CHAPTER35NAME=Chapter 35
CHAPTER36=02:06:14.567
CHAPTER36NAME=Chapter 36
CHAPTER37=02:10:20.604
CHAPTER37NAME=Chapter 37

shon3i
27th January 2009, 18:29
Glad to hear :), i made lot changes under the hood, past days, and i still working on improvments for better calculations :) stay tuned :), btw i started new project simmilar to BR Rebulder, which is now priority :)

newcomers
28th January 2009, 12:44
Im having problems when using TsMuxer. When I play the ripped BD on my htpc, I have jittery playback for a few seconds after skipping in certain chapters.

I have used fixclpi which helps im most movies but there are still a few movies (hancock and Independance day so far) that still have this problem.

How would I go about fixing this issue using the app mentioned in this topic?

Thanks guys

newcomers
28th January 2009, 13:04
also, what do i do with the resulting files from qpfile generator?

I will be using tsmuxer so I do import some of these files somehow?

thanks guys

newcomers
28th January 2009, 13:16
Ok here are my results so far.

Using a BD rip of Independance Day (chapter 4 is causing the problem)

I extracted TSMuxer's chapter times and compared them to shon3i's tool (qpfile gen) and they are identical, both i frames and chapters

I then used the original BD disk, and used TsMuxer and qpfile gen to view the qpfile and chapter times, and they are identical to the first set of results. So why, if they are identical, am I getting a problem with the ripped version and not the original?

This is driving me nuts lol

any help appreciated guys

laserfan
28th January 2009, 23:34
I don't quite follow what you are doing, but here's what I would do if it were "driving me nuts":

1. Rip the BD again and extract-then-index with the appropriate neuron2 tool
2. Make an .avs and open with VirtualDub--find the chapter location in question and note the frame number (and timecode) associated with it.
3. Check the .stats file from my encoding logs and verify that specific frame number was given an I-frame
4. Check too that my .meta file for tsMuxeR had the correct timecode in it for that chapter

If not, well then maybe that's the problem (trying to find a chapter where no I-frame exists). That's my guess anyway.

If you want more help you should tell *exactly* what your process is for extracting/encoding/muxing your discs. For example, if you're not using neuron2's tools (DGMPGindex, DGAVCindex, DGVC1index) then maybe all bets are off, at least I had problems w/chapters before using his tools exclusively.

Oh, and how are you playing these back--what playback method displays the "jittery" playback on chapter skip.

newcomers
28th January 2009, 23:39
I don't quite follow what you are doing, but here's what I would do if it were "driving me nuts":

1. Rip the BD again and extract-then-index with the appropriate neuron2 tool
2. Make an .avs and open with VirtualDub--find the chapter location in question and note the frame number (and timecode) associated with it.
3. Check the .stats file from my encoding logs and verify that specific frame number was given an I-frame
4. Check too that my .meta file for tsMuxeR had the correct timecode in it for that chapter

If not, well then maybe that's the problem (trying to find a chapter where no I-frame exists). That's my guess anyway.

If you want more help you should tell *exactly* what your process is for extracting/encoding/muxing your discs. For example, if you're not using neuron2's tools (DGMPGindex, DGAVCindex, DGVC1index) then maybe all bets are off, at least I had problems w/chapters before using his tools exclusively.

Oh, and how are you playing these back--what playback method displays the "jittery" playback on chapter skip.

My process is to use Bdinfo to find what file I need for main movie and audio.

I then use tsmuxer to rip only the main movie and 1 audio track (hd if its there)

I then use imgburn to create an iso for playback in PDVD8. I used the fixclpi tool which worked for the first few rips, but then hancock and idependance day still had issues.

Thanks

laserfan
29th January 2009, 02:09
tsMuxeR as extractor could be the problem. You need to be using instead eac3to for that, or one of its Guis e.g. HdBrExtractor (member Greif iirc) or RipBot264 or...

~bT~
7th February 2009, 16:55
@ shon3i

can you do something like what chapter grabber does? grab chapter info from tagchimp etc?

cheers mate.

i cant use that proggie coz it needs .net 3 or something and i cant be arsed to install that for 1 proggie.

rack04
6th April 2009, 21:58
I made one small app which convert eac3to or chapter grabber chapters to x264 frame based ascii file, aslo can convert between framerates, for example for HDDVD you need to convert from 24 to 23.976 to get actual times. Suggestions are welcome.

http://tom.niko.users.sbb.co.yu/qpfilegen.rar

If the HD DVD is processed by eac3to do I still need to convert the chapters from 24 to 23.976? Is it possible to use this program via cmd? Thanks.

shon3i
7th April 2009, 17:18
If the HD DVD is processed by eac3to do I still need to convert the chapters from 24 to 23.976? Yes.

Is it possible to use this program via cmd? Thanks. Not possible at moment, but i will see, what i can do in the nearest future

can you do something like what chapter grabber does? grab chapter info from tagchimp etc?Sorry ~bT~ i don't saw you comment earler :) well, i will not integrate that because i newer find to work with Blu-Ray/HDDVD titles, or it's just me :)

rack04
7th April 2009, 17:21
Yes.

Not possible at moment, but i will see, what i can do in the nearest future.

Thank you very much.

laserfan
1st May 2009, 21:36
@shon3i I use and enjoy qpfile generator 1.0.5 but wonder if you could add this (small?) request: When 'Save as' qpfile or celltimes, qpfilegen fills-in the name i.e. celltimes.txt and qpfile.txt. Could you also do this for Save as tsMuxeR and timecodes i.e. tsmuxer.txt and timecodes.txt already filled-in to Save dialog.

:thanks: