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 20th February 2011, 15:11   #61  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,444
shon3i, have we told you lately that we love you?
laserfan is offline   Reply With Quote
Old 18th March 2011, 10:55   #62  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Quote:
Originally Posted by laserfan View Post
shon3i, have we told you lately that we love you?
Ok i added celltimes as input format. Since celltimes has unknown fps you should use cmd like this

"ChapterGen.exe" -i chapters.txt -o tsMuxeR.txt -f tsMuxer -infps 60/1.001, without outfps. But test it to see is chapters on correct places.
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 18th March 2011, 15:20   #63  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,444
Quote:
Originally Posted by shon3i View Post
Ok i added celltimes as input format. Since celltimes has unknown fps you should use cmd like this

"ChapterGen.exe" -i chapters.txt -o tsMuxeR.txt -f tsMuxer -infps 60/1.001, without outfps. But test it to see is chapters on correct places.
You said "celltimes" but I asked for "frame numbers"!!? Anyway, I will give your new version a try!

Last edited by laserfan; 18th March 2011 at 15:24.
laserfan is offline   Reply With Quote
Old 18th March 2011, 15:53   #64  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Posts: 2,100
Quote:
Originally Posted by laserfan View Post
You said "celltimes" but I asked for "frame numbers"!!?
Celltimes.txt contains (guess what?) FRAME NUMBERS.

Cheers
manolito
manolito is offline   Reply With Quote
Old 18th March 2011, 19:46   #65  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,444
Quote:
Originally Posted by manolito View Post
Celltimes.txt contains (guess what?) FRAME NUMBERS.

Cheers
manolito
Whew! Thanks!
laserfan is offline   Reply With Quote
Old 19th March 2011, 20:03   #66  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,444
Quote:
Originally Posted by shon3i View Post
Since celltimes has unknown fps you should use cmd like this...without outfps.
shon3i, it worked perfectly, though the output was wrong until I added outfps, specificially for the 29.97 program I tried it on:

chaptergen -i frames.txt -o tsmuxer.txt -f timecodes -infps 30/1.001 -outfps 30/1.001

Thanks for adding this feature; it is much appreciated!
laserfan is offline   Reply With Quote
Old 20th March 2011, 11:56   #67  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Quote:
Originally Posted by laserfan View Post
shon3i, it worked perfectly, though the output was wrong until I added outfps, specificially for the 29.97 program I tried it on:

chaptergen -i frames.txt -o tsmuxer.txt -f timecodes -infps 30/1.001 -outfps 30/1.001

Thanks for adding this feature; it is much appreciated!
Cool, thank you
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 26th March 2011, 12:59   #68  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Updated to 1.0.8
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 8th June 2011, 06:42   #69  |  Link
FILLIFY
Registered User
 
Join Date: Jun 2011
Posts: 2
offset

big thanks for your tool!
can you add manual offset feature?
it'll be great.
FILLIFY is offline   Reply With Quote
Old 8th June 2011, 10:34   #70  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Quote:
Originally Posted by FILLIFY View Post
big thanks for your tool!
can you add manual offset feature?
it'll be great.
Yes it's possible, it will happen in near future, just be patient.
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 9th July 2011, 19:20   #71  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 914
Thanks for the tool.

FYI: I believe there is a rounding error in the math though. It looks like it is rounding down / truncating the frame number instead of using normal rounding (at least in the Sonic Scenarist CSV File output mode).

I took a Blu-Ray and used eac3to to generate a chapter listing. I then ran that file through ChapterGen using the GUI set to 23.976FPS -> 24FPS and created a Sonic Scenarist CSV File. I then ran the video and audio streams through Scenarist BD (with it complaining about I-frames and showing incorrect chapter times the whole way though) and generated a BD disc. I then used eac3to again to generate a chapter listing and compared it against the one I got from the original Blu-Ray. Some of the chapters were moved 1 frame earlier.

Original BD chapters:
Code:
00:00:00.000
00:09:39.120
00:19:49.355
00:34:21.851
00:45:15.338
00:49:38.184
01:01:59.674
01:05:52.657
01:10:05.451
01:15:08.045
01:17:08.040
01:19:41.610
01:35:12.582
01:39:11.154
01:48:21.495
01:56:39.618
01:58:49.914
02:05:18.094
02:09:07.156
02:14:06.538
Chapters From Scenarist created BD:
Code:
00:00:00.000
00:09:39.078
00:19:49.355
00:34:21.810
00:45:15.296
00:49:38.184
01:01:59.633
01:05:52.615
01:10:05.410
01:15:08.003
01:17:08.040
01:19:41.568
01:35:12.540
01:39:11.154
01:48:21.495
01:56:39.576
01:58:49.873
02:05:18.052
02:09:07.156
02:14:06.497
I italicized the ones that are 1 frame too early.

Here is the file ChapterGen created:
Code:
23.976
NonDrop
00:00:00:00
00:09:38:12
00:19:48:04
00:34:19:18
00:45:12:14
00:49:35:05
01:01:55:22
01:05:48:16
01:10:01:05
01:15:03:12
01:17:03:10
01:19:36:19
01:35:06:20
01:39:05:05
01:48:15:00
01:56:32:14
01:58:42:18
02:05:10:13
02:08:59:10
02:13:58:11
I double checked the math in Excel (based on the frame numbers of the original chapters) and I matched ChapterGen's results exactly if I used rounddown(frames,0) for the frame number. When I used round(frames,0) instead I got

Code:
00:00:00:00
00:09:38:13
00:19:48:04
00:34:19:19
00:45:12:15
00:49:35:05
01:01:55:23
01:05:48:17
01:10:01:06
01:15:03:13
01:17:03:10
01:19:36:20
01:35:06:21
01:39:05:05
01:48:15:00
01:56:32:14
01:58:42:19
02:05:10:14
02:08:59:10
02:13:58:12
When I imported these times into Sonic the created disc has identical chapters to the source disc.
Stereodude is offline   Reply With Quote
Old 12th July 2011, 05:49   #72  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,309
Quote:
Originally Posted by shon3i View Post
Ok, I finally finished completly new (from scratch) tool for chapters.

infps <float>
- 50.940

-outfps <float>
- 50.940
I hope you mean 59.94, not 50.94
MrVideo is offline   Reply With Quote
Old 12th July 2011, 06:07   #73  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,309
Well, that didn't go so well.

Latest version of the software. Commandline operation done in a cygwin Zshell. Sitting in the directory that contains the input text file. I have no problem spitting out the content of the input text file, which is frame numbers.

The program complains that it can't open the input file. I had even tried dragging the input file to the GUI and it was ignored.

It would be nice if the error would say why it can't open the input file.
MrVideo is offline   Reply With Quote
Old 26th July 2011, 23:14   #74  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
@Stereodude, yes i know for this problem, and it's random problem, because i had some titles which fine if i use rounddown and other with round, it's wierd but i think to add switch that user can choose. I can't find real formula maybe there is some other factor.. It's only problem for scenarist/cinevision and frame cents based formats.

@MrVideo, yes i mean 59.94, i think i fixed that typo in last revision, btw can you send me that file, i would to check what problem is? Btw i am so lazy to writte proper error handler
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 27th July 2011, 08:10   #75  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,309
Quote:
Originally Posted by shon3i View Post
yes i mean 59.94, i think i fixed that typo in last revision, btw can you send me that file, i would to check what problem is? Btw i am so lazy to writte proper error handler
First post in this thread and the cmdhelp.txt file have 50.94 instead of 59.94.

It has been so long since I posted that error report that I have no clue as to which file I was trying to use. When I get a chance, I'll try again.
MrVideo is offline   Reply With Quote
Old 27th July 2011, 11:07   #76  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Quote:
Originally Posted by MrVideo
First post in this thread and the cmdhelp.txt file have 50.94 instead of 59.94.
Fixed here, and will be fixed in cmdhelp with next rls, thanks.

Quote:
Originally Posted by MrVideo
It has been so long since I posted that error report that I have no clue as to which file I was trying to use. When I get a chance, I'll try again.
Thank you, btw if you have some file that will not load, just throw it here, for examination. I think i know why you didn't success to load celltimes, file must not contain any spaces, must be 100% numeric.
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 27th July 2011, 18:54   #77  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,309
Quote:
Originally Posted by shon3i View Post
I think i know why you didn't success to load celltimes, file must not contain any spaces, must be 100% numeric.
OK, when I get a chance, I'll see if that was it.
MrVideo is offline   Reply With Quote
Old 10th December 2011, 05:43   #78  |  Link
Masutin
Registered User
 
Join Date: Oct 2009
Posts: 18
I didn't see a general topic for chapters and, if don't mind, have a question about creating chapters (not necessarily using this tool): Is there software where video playback is used within the program to make adding time codes easier. E.g. you pause the video, press a key shortcut, and the time for a chapter is added. Subtitle editors work in such a way.
Masutin is offline   Reply With Quote
Old 13th December 2011, 19:19   #79  |  Link
Cela
Registered User
 
Join Date: May 2004
Posts: 185
Quote:
Originally Posted by Masutin View Post
...Is there software where video playback is used within the program to make adding time codes easier. E.g. you pause the video, press a key shortcut, and the time for a chapter is added. Subtitle editors work in such a way.
AFAIK there is no general chapter generation program available. For my personal convenience I adopted a simple workaround.
I accept COPY (Ctrl+C)/PASTE (Ctrl+V) as 'key shortcut'
and use an accompanying "Videoname_chp.txt" tect file:
1. Use a video editor program to replay the video.
2. If supported by the video editor, set a suitable chapter timecode display format.
3. Navigate to a location of each chapter candidate.
4. If supported by the video editor, copy the displayed chapter time code and paste it into a simple textfile "Videoname_chp.txt".
5. Add an annotation. You may call it chapter name.
6. If your authorung program supports it, use the chapter textfile as input for chapter menu generation.

Unfortunately not many video editor programs support steps 2 and 4 properly.
Not many video editors support to select the chapter timecode display format (step2).
Not many video editors support the COPY (Ctrl+C) from the timecode display window (step 4). This means that the displayed values must be typed manually into the text file. (Beware of typos!)

I tested the following video editors:
* Good old Mpeg2schnitt provides a perfect solution for PAL mpeg2 footage for steps 1 to 5. It supports several tc formats. I often use it to convert from one tc format to another tc format. Furthermore it supports COPY/PASTE of the tc format from/to its Marker list. Double click on any tc entry in the Marker list jumps to the corresponding time position in the video. Furthermore, the Marker list practically works like a windiows tect file and thus offers to except any kind of annotation and/or chapter text.

* Adobe Premiere Elements has a hh:mm:ss:ff (example: 00:26:13:06 ) tc display window and allows to copy . Furthermore it allows to enter a new tc value into the tc display manually or by PASTE and by doing this jump to the entered tc. It is not possible to select any other TC format.

* MAGIX Video delux MX has also a hh:mm:ss:ff (example: 04:26:13:06 ) tc display window but does not support COPY/PASTE its content. It is not possible to select any other TC format.

* Cyberlink Power Director 10 has a Chapter feature which allows to add a chapter name and displays a hh:mm:ss:ff (example: 00:26:13:06 ) tc display window in the Chapters Room. COPY/PASTE is not supported, though.

* VideoRedo TV Suite HD (VDR) has also a hh:mm:ss:ff (example: 04:26:13:06 ) tc display window but does not support COPY/PASTE of its content. VDR comes with tc format hh:mm:ss:ff but allows to change it to hh:mm:ss.ff format. Furthermore it has a view option Show Frame Number which displays the frame number. The tc display field is display only! But double clicking on it displays an Enter TimeCode sub-window with sub-fields Hours, Minutes, Seconds and Frame#. Unlike in Premiere Elements it is not possible to COPY or PASTE the complete tc-value (example: 04:26:13:06 ) from or into these sub-fields. Thus COPY/PASTE is very limited, practically useless. But in Show Frame Number mode, the Frame number field inthe Enter Frame Number sub-window does support COPY/PASTE! Thus VDR is suited for step 4 in Frame Number mode. Depending on your authoring program a tc conversion program like ChapterGen is needed to convert the tc format.

Conclusion:
Mpeg2schnitt is my first choice for mpeg2 PAL footage.
VideoRedo in Frame Number mode is my first and PRE10 in its hh:mm:ss:ff mode is my second choice for h.264 HD footage.

"Videoname_chp.txt" file is my hub for all chapter related activites. iI use it parallel to the video editor programs. Best of all, the "Videoname_chp.txt" file is supported by the great, free AVCHD authoring program multiAVCHD. multiAVCHD uses the hh:mm:ss.mss (mss ... 3 digit millisecond fraction) tc format. So, for h.264 HD footage a tc conversion program like ChapterGen is mandatory to convert the tc format.

Sounds complicated, but isn't.

Any easier procedure from h.264 TS (m2ts) to AVCHD with annotated chapter menus?
Cela is offline   Reply With Quote
Old 13th December 2011, 19:51   #80  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,309
Quote:
Originally Posted by Cela View Post
AFAIK there is no general chapter generation program available. For my personal convenience I adopted a simple workaround.
Your testing of VideoReDo was incomplete. BTW,m it is VRD, not VDR,

Quote:
* VideoRedo TV Suite HD (VDR) has also a hh:mm:ss:ff (example: 04:26:13:06 ) tc display window but does not support COPY/PASTE of its content. VDR comes with tc format hh:mm:ss:ff but allows to change it to hh:mm:ss.ff format. Furthermore it has a view option Show Frame Number which displays the frame number. The tc display field is display only! But double clicking on it displays an Enter TimeCode sub-window with sub-fields Hours, Minutes, Seconds and Frame#. Unlike in Premiere Elements it is not possible to COPY or PASTE the complete tc-value (example: 04:26:13:06 ) from or into these sub-fields. Thus COPY/PASTE is very limited, practically useless. But in Show Frame Number mode, the Frame number field inthe Enter Frame Number sub-window does support COPY/PASTE! Thus VDR is suited for step 4 in Frame Number mode. Depending on your authoring program a tc conversion program like ChapterGen is needed to convert the tc format.
VRD can display time as hh:mm:ss:ff (DFTC or NDFTC for 29.97 video) or as frames. But, the biggest feature that you missed is that VRD can output a text file with frame values in the current display format. There are options as well, check them out. Make sure that At Scene Marker is checked.

To output a "chapter" text file manually, just go to the locations you want to marked as chapters. The press the "a" key to place a marker in the display. Set all of your markers, then in the File dropdown menu, do a save Chapter file.

Bingo, you have a text file with the chapters that you marked. No copy-n-paste required.
MrVideo 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 20:08.


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