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 > One click suites for DVD backup and DVD creation

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd April 2007, 20:30   #41  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,094
Hi SD,

thanks for the update. I cannot test the new Spumux_hack file (I never use subs), but I did test CCE 2.70 fixed chapter creation. Works like a charm.

Cheers
manolito
manolito is offline   Reply With Quote
Old 23rd April 2007, 21:34   #42  |  Link
bionic
Registered User
 
Join Date: Jul 2006
Posts: 40
Manolito! thank you much sir for your work on evolving d2s

Sir Didymus, thank you for the updated plugin.
Are there any changes to spumux_hack other than those implemented when i tested it?
bionic is offline   Reply With Quote
Old 24th April 2007, 09:51   #43  |  Link
Sir Didymus
Registered User
 
Join Date: Mar 2004
Location: Italy
Posts: 948
Hi manolito!

Quote:
...but I did test CCE 2.70 fixed chapter creation...
Excellent!


@bionic:
no; the spumux_hack component is the same I sent to you as a beta...

For whoever is interested in using the authoring component of the plugin (BatchMux.exe) outside DVD2SVCD, please consider that the release 0.8 of this component have a nasty bug (the file composer is broken). This have no impact for DVD2SVCD users, since this feature is not used in the plugin. However, the bugfix release of this component is available here (original thread in the authoring forum):

http://forum.doom9.org/showthread.php?t=116297

Cheers,
SD

Last edited by Sir Didymus; 22nd May 2007 at 08:27. Reason: Removed the direct dl link: better to rely just on the authoring thread
Sir Didymus is offline   Reply With Quote
Old 24th April 2007, 13:41   #44  |  Link
ChickenMan
Registered User
 
ChickenMan's Avatar
 
Join Date: Oct 2001
Location: Australia
Posts: 350
Sir Didymus, thanks for the updates, very much appreciated and keep up the good work
__________________
Cheers,
CM
ChickenMan is offline   Reply With Quote
Old 20th May 2007, 16:18   #45  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
Error opening file

Having a problem getting BatchMux plugin started....

getting this error...

Quote:
DvdAuth_hack: Version --> 0.5
XmlFile set to --> C:\Program Files\DVD2SVCD\Movie\DVDAuthor.xml
WorkingFolder set to --> C:\Program Files\DVD2SVCD\Movie
Authoring Folder set to --> C:\Program Files\DVD2SVCD\Movie\VIDEO_TS
Mux Folder set to --> C:\Program Files\DVD2SVCD\Movie
Audio 0 lang set to --> en
Error opening File C:\Program Files\DVD2SVCD\Movie\Mplex_hack_dat.txt
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"
Fishman0919 is offline   Reply With Quote
Old 21st May 2007, 08:11   #46  |  Link
Sir Didymus
Registered User
 
Join Date: Mar 2004
Location: Italy
Posts: 948
Hi Fishman0919!

Could you post also the log file produced by Mplex_hack ?

It is supposed the missing configuration file needed by DvdAuth_hack is produced by Mplex_hack...

Cheers,
SD
Sir Didymus is offline   Reply With Quote
Old 21st May 2007, 12:09   #47  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
Sure, I'm at work now... I uninstalled and reinstalled DVD2SVCD and start the disc over again.... will post when I get home.
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"
Fishman0919 is offline   Reply With Quote
Old 21st May 2007, 22:57   #48  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
Sorry, seems to be working fine now after reinstall everything....

but I noticed the chapter points are not correct for dvd to dvd
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"
Fishman0919 is offline   Reply With Quote
Old 22nd May 2007, 07:40   #49  |  Link
Sir Didymus
Registered User
 
Join Date: Mar 2004
Location: Italy
Posts: 948
Well, to say the truth I am aware of a small glitch in the DVD2SVCD process affecting the positioning precision of the chapters...



The result is that, in average, the chapter positions can be ensured only within +/- 1.2 seconds (1 GOP). Are you referring to this effect or to something more critical ?

...If this is the case, I always assumed nobody would care about, since the glitch was present before the development of the BatchMux plugin, and the issue was not raised in the forum posts of the last two/three years... It seems the missed inclusion of the chapter points among the encoder parameters is the cause...

The problem is present for all x2DVD modes and both for dvd chapters and fixed chapters.

However, better to ask to Nick for some confirmation on the matter...



Cheers,
SD

Last edited by Sir Didymus; 22nd May 2007 at 08:56.
Sir Didymus is offline   Reply With Quote
Old 22nd May 2007, 11:15   #50  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
Quote:
The result is that, in average, the chapter positions can be ensured only within +/- 1.2 seconds (1 GOP). Are you referring to this effect or to something more critical ?
No, they are way off.... 5, 10 sec... 1, 2 mins off

If I use dvdauthor.exe they are within +/- 1.2 seconds

Running new disc now... will post after complete
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"

Last edited by Fishman0919; 22nd May 2007 at 11:48.
Fishman0919 is offline   Reply With Quote
Old 22nd May 2007, 11:51   #51  |  Link
Sir Didymus
Registered User
 
Join Date: Mar 2004
Location: Italy
Posts: 948
That's really odd, if confirmed...

Just checked in the code...
In case of DVD chapters, the process performed by Mplex_hack for producing the celltimes.txt file is straightforward...

It simply looks for the file "dvd2svcd chapters file.ini" in the source folder, copying the chapters points, one to one, from one file to the other...
Sir Didymus is offline   Reply With Quote
Old 22nd May 2007, 12:23   #52  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
The movie is The Painted Veil R1... I run it on one pc with dvdauthor.exe and one with BatchMux both using HC .21. Both completed but the one done with BatchMux has the chapter points off. I used chapterxtractor and got the chapter points from the rip file from DVD2DVD. I then manually author it with Muxman and that worked fine.... chapter point are correct.
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"
Fishman0919 is offline   Reply With Quote
Old 22nd May 2007, 13:25   #53  |  Link
Sir Didymus
Registered User
 
Join Date: Mar 2004
Location: Italy
Posts: 948
So, I am interested on three files in your system:

1) The "dvd2svcd chapters file.ini" in your source folder
2) The Celltimes.txt in your working folder, produced by the BatchMux plugin
3) The Celltimes.txt, which is working fine when manually authored, extracted with chapterxtractor

Could you check for the differences among the three ?
Or post them, or send to me at:
sir_didimus (at) libero.it

Thanks!
SD

Last edited by Sir Didymus; 22nd May 2007 at 19:00.
Sir Didymus is offline   Reply With Quote
Old 22nd May 2007, 20:30   #54  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,094
Here in PAL land I cannot reproduce the problem. Did some short test encodes using HC 0.21 and CCE 2.70, and in all cases the chapter points were the same.

Could this be a NTSC issue? DVDAuthor gets its chapter information in absolute time values (like 01:55:12) while BatchMux needs frame numbers. So for BatchMux the frame rate has to be considered also.

Is there any frame rate conversion involved in the conversion process? Like going from hard telecined to soft telecined or vice versa?

Cheers
manolito
manolito is offline   Reply With Quote
Old 22nd May 2007, 20:41   #55  |  Link
Mr_Odwin
FAVC Man
 
Mr_Odwin's Avatar
 
Join Date: Nov 2005
Posts: 411
An issue that I had with Muxman was that the frame numbers used as chapter points assume an NTSC framerate of 30 instead of 29.97. Could this be the issue? If the difference drifts slowly over the title then it's possible this is the case.
Mr_Odwin is offline   Reply With Quote
Old 22nd May 2007, 21:47   #56  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
This is from Matrix Revolutions R1... I already had it rip As an .ISO on my HD

dvd2svcd chapters file.ini

Code:
[CHAPTERS]
Chapter0001=0
Chapter0002=5616
Chapter0003=10836
Chapter0004=14833
Chapter0005=21177
Chapter0006=25833
Chapter0007=33853
Chapter0008=43280
Chapter0009=51173
Chapter0010=56893
Chapter0011=61804
Chapter0012=67180
Chapter0013=70524
Chapter0014=74624
Chapter0015=83424
Chapter0016=86740
Chapter0017=89876
Chapter0018=97816
Chapter0019=101372
Chapter0020=107236
Chapter0021=112736
Chapter0022=119588
Chapter0023=123588
Chapter0024=128369
Chapter0025=132120
Chapter0026=139305
Chapter0027=146592
Chapter0028=150852
Chapter0029=155496
Chapter0030=160441
Chapter0031=165544
Chapter0032=169033
Chapter0033=172896
CellTimes.txt

Code:
5616
10836
14833
21177
25833
33853
43280
51173
56893
61804
67180
70524
74624
83424
86740
89876
97816
101372
107236
112736
119588
123588
128369
132120
139305
146592
150852
155496
160441
165544
169033
172896
ChapterXtractor chapters.txt

Code:
0
7020
13545
18541
26471
32291
42316
54100
63966
71116
77255
83975
88155
93280
104280
108425
112345
122270
126715
134045
140920
149485
154485
160461
165150
174131
183240
188565
194370
200551
206930
211291
216120
I set ChapterXtractor to 30 fps

again the BatchMux ver is off but the manually author Muxman is right on

Quote:
Originally Posted by Mr_Odwin View Post
An issue that I had with Muxman was that the frame numbers used as chapter points assume an NTSC framerate of 30 instead of 29.97. Could this be the issue? If the difference drifts slowly over the title then it's possible this is the case.
yep, with 29.97 fps by the end of the movie the chapters are off

but in this case I talking mins off not just a few frames or sec
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"

Last edited by Fishman0919; 22nd May 2007 at 21:55.
Fishman0919 is offline   Reply With Quote
Old 22nd May 2007, 23:53   #57  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,094
I think I figured it out:

DVD2SVCD always calculates the chapter frame numbers based on the encoding frame rate. For a NTSC telecined film this would be 23.976 fps. After the encode Pulldown is applied to reach the required playback rate of 29.97 fps. This means that all DVD2SVCD chapter points will be off.

I wrote a small batch file to verify my theory:

Code:
:fixparams
IF !%1 == !-f GOTO getfolders
SHIFT
GOTO fixparams

:getfolders
SET Muxed_Folder=%~dp4

SET commandline=%1
:loop
SHIFT
IF !%1==! GOTO mplex_hack
SET commandline=%commandline% %1
GOTO loop

:mplex_hack
mplex_hack.exe %commandline%

Copy %Muxed_Folder%CellTimes.txt OldChp.txt
IF EXIST NewChp.txt DEL NewChp.txt
FOR /f %%a IN (OldChp.txt) DO CALL :Write %%a

COPY NewChp.txt %Muxed_Folder%CellTimes.txt
IF EXIST ???Chp.txt DEL ???Chp.txt

EXIT

:Write
SET /A Chapter=%1 * 29970 / 23976
ECHO %Chapter% >> NewChp.txt
Save this file as "Pulldown_Mplex_hack.bat" and save it in your DVDAuthor folder. Then point DVD2SVCD to this batch file instead of the original "Mplex_hack.exe".

If it works then Sir Didymus has some work to do.

The chapter points only have to be recalculated if DVD2SVCD applies Pulldown (or if DGIndex decides that Force Film has to be applied). For PAL nothing has to be done, and for NTSC real interlaced video also no recalculation should be necessary.

Please let me know if it works...

Cheers
manolito
manolito is offline   Reply With Quote
Old 23rd May 2007, 04:12   #58  |  Link
Fishman0919
FishmanMod Android Dev
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
Sorry, no good... same result

CellTimes.txt

Code:
11972
18792
27748
33320
46856
54312
69740
81517
87604
99624
112520
119780
132644
148357
158601
169408
184292
186797
ChapterXtractor chapters.txt

Code:
0
14966
23490
34685
41650
58570
67890
87175
101896
109505
124530
140650
149725
165805
185446
198251
211760
230365
233496
__________________
"Cinderella story, out of nowhere,
former greenskeeper, now about
to become the Masters champion.
It looks like a mirac- it's in the hole!"
Fishman0919 is offline   Reply With Quote
Old 23rd May 2007, 08:23   #59  |  Link
Sir Didymus
Registered User
 
Join Date: Mar 2004
Location: Italy
Posts: 948
Quote:
Originally Posted by manolito
I think I figured it out:

DVD2SVCD always calculates the chapter frame numbers based on the encoding frame rate. For a NTSC telecined film this would be 23.976 fps. After the encode Pulldown is applied to reach the required playback rate of 29.97 fps. This means that all DVD2SVCD chapter points will be off.

I wrote a small batch file to verify my theory...

If it works then Sir Didymus has some work to do.
...
Please let me know if it works...

Cheers
manolito
Me too I think Sir Didymus has some work to do...

From the logs of Fishman0919 it is clear your explaination is correct: all chapter point should be multiplied by the factor of 1.25 when DVD2SVCD applies pulldown flags to an NTSC source.

The problem is: how to implement the bugfix in a clean way ?

I have a couple of NTSC DVD in my collection... Not sure about they are telecined or not, however. I will try to replicate the issue on my PC in the next days...

For the moment thanks to Fishman0919 for the bug report and the testing and double thanks to manolito for the support and co-operation in the developement and improvement of the BatchMux plugin...

The bug will be fixed ASAP, I am quite confident about...

EDIT: Hmmm... Maybe I have a nice idea...



I noticed that apart the "dvd2svcd chapters file.ini" file, also the "DVD Maestro Chapters File.chp" is produced by DVD2SVCD. This file (apparently) contains chapters in the standard NDTC format: hh:mm:ss:ff. Using this file instead of the former, since BatchMux.exe is already enabled to accept this format, should solve the issue...

Am I right ?

Are there any implications in adopting always this second timecode file instead of the classical Celltimes.txt ?


Cheers,
SD

Last edited by Sir Didymus; 23rd May 2007 at 10:10.
Sir Didymus is offline   Reply With Quote
Old 23rd May 2007, 11:13   #60  |  Link
Nick
One click is all it takes
 
Nick's Avatar
 
Join Date: Mar 2002
Location: Heart of the Broad Acres
Posts: 1,404
Quote:
Originally Posted by Sir Didymus View Post

EDIT: Hmmm... Maybe I have a nice idea...



I noticed that apart the "dvd2svcd chapters file.ini" file, also the "DVD Maestro Chapters File.chp" is produced by DVD2SVCD. This file (apparently) contains chapters in the standard NDTC format: hh:mm:ss:ff. Using this file instead of the former, since BatchMux.exe is already enabled to accept this format, should solve the issue...

Am I right ?

Are there any implications in adopting always this second timecode file instead of the classical Celltimes.txt ?


Cheers,
SD
There is one. If the conversion is done from AVI, the DVD Maestro chapters file is empty. So if chapter info is gained from this file, AVI-to-DVD conversions will presumably have no chapters.
Nick 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 Off
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:49.


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