Forum archive - GfD development version

Tmpg-inc



Forum Archive Home -> Programming -> GfD development version



GfD development version

borax posted 2006 Oct 11 03:04
Anybody who is interested in my development version of GfD may download it here:
EDIT: Link removed as the new version is now 'official'


(I will always update this link if a new version is available)
The new version has many new features, therefore I'm much behind with the documentation...
But for users with some experience in working with GfD it should be no problem to figure it out.
That's the reason why I post it here only and not on the 'official' GfD page.

This is an update; a working 0.99 version is required.
To install, just unzip all files into your GfD folder (the 'dvdauthor path') and overwrite the 'old' files.

Short list of new/changed functions:
1. MuxMan support (to use it, mark MuxMan as authoring engine in the permanent settings; this is an 'unchangeable' setting (like PAL/NTSC) and must be done before anything is added to the project)
2. DGMepgdec is used instead of mpegsource for mpg files in animated menus
3. HCenc version 0.19 is used
4. Support for iso images and burning with imgburn (not yet finished, but working)
5. 'Play all' button (this partly disables/overrules the 'normal' start and end actions)
6. Gaussian blur for menus and audiotitlesets (avisynth compatible parameters 0.1 to 1.58 )
7. Small 'VM-command' editor (not as 'sophisticated' as the one in pgcedit...) to give you the full control for pre and post commands (both menus and titles).
8. ChapEditGfd can be used to create marks only (without images/clips)
...

EDIT: Fixed some typos, fixed menu bug (on some players the highlights 'disappeared' after ~ 4 minutes in MuxMan mode)
EDIT2: New function: Chapter Playlist(s). Can be used to show selected chapters only or (i.e. for audio only titlesets) play chapters/titles in a different sequence. The function can be found in the menu topic 'Insert' - Chapter Playlist
EDIT3: Bugfix: Wrong VM commands if 'End action=Play next title' with more than 50 titles (version 0.99.0025)
EDIT4: Bugfix: Within the Subtitles format dialog 'old' values were used for resolution and fps; Added: Pre/Post commands for Playlists; randomize list for Audiotitlesets and Playlists (version 0.99.0029)
EDIT5: Bugfix: Using a windows screen resolution of 16 Bit colors ('HighColor') caused no/wrong Highlight; ChapEditGfD crashed with path length > 128 char; Added: Show font (subtitles format dialog); version 0.99.0030
EDIT6: NeroCmd version 7 supported, loop/trim of background animation...
EDIT7: Bugfix: Updated the 'predefined button actions for MuxMan (SetSTN...); 'Empty' free defined menus are always created; 'Empty' titleset menus are created if a post action is given (version 0.99.0035)

Bug reports welcome.



AlanHK posted 2006 Oct 11 04:58
Thanks, I've loaded it and will give it a try.

In the meantime:

Why is the "Advanced" setting unchangeable through the GUI? I found this quite frustrating when I couldn't insert a second menu page after setting up a dozen menu items. Fortunately I discovered I could change the setting directly in the .gfd file, with no apparent problems.

What advantages are there to using Muxman?
One possible problem is that Muxman complains about files made by HCenc using 3:2 pulldown.

Typos:
"SubTitels" on the loading files dialog. (Should be "Subtitles".)
Also a button "Visualchapterditor" (Should be "Visual chapter editor)
And the new "Edit VM commands" dialog has "Substract" instead of "Subtract" on the "Calc" menu.

Feature request: I found that the subtitle engine does not recognise italic codes in SRT files. So I have to create SUP bitmap subtitles in another app if I want italics. I don't know if these format codes are really a standard, but many subtitle editors use them.



borax posted 2006 Oct 11 05:48
Thx! I will fix the typos asap...

Advantages of muxman:
- Faster for elementary streams (much faster with subtitles in SUP format)
- More reliable multiplexer (according to mpucoder: ...far superior to any mplex based authoring program )
- Support for pcm audio (wav files)
- 16:9 menus can be created with both letterbox and pan&scan

Disadvantages:
- Only sup subtitles (no text based like srt, sub...)
- Only mpeg2 elementary streams in dvd compliant resolution possible (no svcd resolution supported)
- More sensitive to stream errors
- Much more complicated control file syntax...

...italic codes in SRT files. Spumux can use only one font. Italics would require a second...
Maybe a good C programmer could change that, but I can't.

...advanced mode: Ok, you are right. It will be possible in the next version to turn it on anytime (but not off again). Same for animated menus.



AlanHK posted 2006 Oct 14 06:19
I used the new version with Muxman yesterday.

I didn't time it, but seems faster with Muxman. Certainly less overhead as Muxman creates VOBs directly from the streams without needing to make muxed MPGs.

One thing that seems different; using DVDauthor, when playing a title on a multi-episode DVD, and pressing "Menu" I went back to the main menu. Now this takes me back to start the current title again. I can get the main menu with the "Title" button. Maybe this is actually more correct behaviour.

The setting for ChapEditGfd to just create marks has to be reselected each time, it always reverts to marks + screenshots when opened.

Some other comments while I'm at it:

When selecting an item in a menu it's highlighted. This involves a frame outline and a change of colour, which are selectable. But also the text is thickened (fake bolding). On PC screen this looks okay, but on TV it's quite unattractive, and with smaller fonts less legible. I'd prefer to make this effect an option I can turn off.

When designing a menu I'd really like to be able to burn a dummy DVD with just the menus and no actual movies (or very short dummy ones), so I can check out how the colours and fonts look on a real TV. To author a full disk takes half an hour or so, just the titles a few minutes. I know I could do something like batch move and rename files myself, maybe I will someday; but it would be nice to have such a preview feature.



borax posted 2006 Oct 15 11:58
>One thing that seems different...
You can achive the same behaviour with muxman, but you have to do it your own. I think this would be a good example for the usage of the advanced pre post command editor.

>The setting for ChapEditGfd...
You think it would be better to 'keep the last settings'?
Or have own 'preferrences' within ChapEditGfd?

>But also the text is thickened...
Probably due to blurring. Try it with use blur=off.

'Test mode' is on my 'to do' list... But it will take some time.



AlanHK posted 2006 Oct 15 23:02
Thanks for your responses.

But just ran into a real problem.

I authored a disk using Muxman and all 6 titles were very out of sync. After extensive hair pulling and reworking I eventually tried the same files with DVDauthor. That worked perfectly....

Possibly relevant: the earlier disk I did with Muxman was 25 fps PAL. The problem was with 23.976 with pulldown NTSC, produxed by HCEnc.

Quite likely my files are imperfect or out of spec in some way, but I'd rather be able to watch them regardless.
So I'll revert to DVDauthor mode from now on.



borax posted 2006 Oct 16 05:10
NTSC should be renamed to something like CReatesAlwaysProblems...
Could you give me some info how you have encoded the file with HC? Maybe I can reproduce the error and ask mpucoder...



AlanHK posted 2006 Oct 16 08:31
Source Avi with VBR MP3 sound.

:

401.avs:
AVISource("401.avi")
LanczosResize(704,480,0,0,624,352)
AddBorders(8,0,8,0)


HC command line:
P:\HCenc\HCenc_019 -i P:\DVD\401.avs -o s:\mpg\401.m2v -ini P:\DVD\4a.ini

4a.ini:
*LOGFILE          s:\mpg\henc.log
*BITRATE          1730
*MAXBITRATE       8000
*PROFILE          best
*PULLDOWN
*MATRIX           qlb


Used Besweet directly on the AVI to convert to MP2.
But also tried vdubmod, extract WAV; same result.



AlanHK posted 2006 Oct 16 11:45
borax :
>The setting for ChapEditGfd...
You think it would be better to 'keep the last settings'?
Or have own 'preferrences' within ChapEditGfd?


I think "keep last setting". You could reflect that to a preference too if you wanted.

borax :
>But also the text is thickened...
Probably due to blurring. Try it with use blur=off.


I don't have blurring on that I can tell, I see only one mention, under "menu and background properties" and that's off. Also, "Blur" does not appear to be in the help, no idea what it does.
And on that screen, another typo: "Transparenz" should be "Transparency".

borax :
'Test mode' is on my 'to do' list... But it will take some time.

OK. But it doesn't have to be very functional, just a slideshow of all the menu screens would do.

Also, I notice that these are created first as PNG files. I experimented a little and found that using PNGs for background graphics seemed to give the best results (better than JPEG or GIF anyway).



borax posted 2006 Oct 17 02:56
..."keep last setting". Ok, then I will include a checkbox in GfD for just "keep last settings for ChapEditGFD" on/off.

Blur is new and therefore not yet in the helpfiles. It's a function that 'averages' pixels to reduce flicker (in particular for still menus). It also uses some kind of 'antialiasing' for the highlights, which is not used if Blur=off.
See also: http://www.edithouse.com.au/information/graphics.html

...thickened text: Then try it with blur=on.
Here is a picture (zoomed to 300%) to show the difference (above: No blur, below: Blur 1.5):

As you can see, the text has antialiasing in each case (this is done by windows automatically). Without blur, GFD uses a simple 'max color' function for the highlight. This may look thickened. With blur the text has not only antialiasing, but is also mixed with the background to reduce flicker. The highlight is also more 'smooth'. The problem hereby is that for the highlight you only have 3 colors. Therefore a quite complicated quantize function is necessary to calculate such a highlight picture.

>"Transparenz" should be "Transparency". Ok.



AlanHK posted 2006 Oct 17 06:04
borax :
a function that 'averages' pixels to reduce flicker (in particular for still menus). It also uses some kind of 'antialiasing' for the highlights, which is not used if Blur=off.


Makes more sense now. This may be useful with smaller or more decorative fonts, which are generally unattractive and illegible due to flicker otherwise.

I've been just using the frame for highlights and no text effect, to avoid the thickening.



lennu posted 2006 Oct 21 16:36
A few bugs i noticed with using muxman. I created two subtitle streams with subtitle creator: letterboxed and wide (*.sup), added them to my projet as subtitle 1 and subtitle 2. After gfd finished compiling my projet those two seperate streams are show like one - they are overlapping :( and although i choosed languge for those two streams, they are shown as unknown (well actually only one stream is available to choose).


AlanHK posted 2006 Oct 22 05:21
lennu :
A few bugs i noticed with using muxman. I created two subtitle streams with subtitle creator: letterboxed and wide (*.sup), added them to my projet as subtitle 1 and subtitle 2. After gfd finished compiling my projet those two seperate streams are show like one - they are overlapping.


I've used Muxman stand-alone to author a few disks, and it handled multiple subtitles correctly.



lennu posted 2006 Oct 22 07:40
AlanHK :

I've used Muxman stand-alone to author a few disks, and it handled multiple subtitles correctly.


Yes, I know, but the freeware version don't support multiple titles... i need that.



AlanHK posted 2006 Oct 22 07:58
lennu :
AlanHK :

I've used Muxman stand-alone to author a few disks, and it handled multiple subtitles correctly.


Yes, I know, but the freeware version don't support multiple titles... i need that.


My point is that since Muxman alone can handle multiple subtitles, that making it do so via GFD should not be impossible.



borax posted 2006 Oct 23 05:41
1. No problem to use multiple subtitles with the freeware version, only the GUI doesn't support it.
2. For subtitles the language codes need to be lowercase (for audio streams uppercase works :roll: )
=> Will be fixed soon.
3. I had no problems with multiple subtitles for 4:3 material.
4. For 16:9 material it seems to be necessary to specify the Display Mode (ATM GfD only sets everything to 'Display Mode=unspecified')
According to the muxman help files the following values are possible (in Item=Sub-Picture Stream):
Display Mode=unspecified | Letter | Pan | Letter/Pan | Wide | Wide/Letter | Wide/Pan | Wide/Letter/Pan

For 16:9 material you need to use the correct settings, otherwise strange results (depending on the player) may occur...
I will add a dropdown listbox within the subtitle format dialog for this purpose. The default value (for 16:9 only) will be set to 'Display Mode=Wide/Letter' (worked good in my tests)

For the time beeing, you need to enter the the correct settings manually with the 'Edit author.xml file before DVD creation process' function: Scroll down to the 'Item=Sub-Picture Stream' section, replace Display Mode=unspecified with Display Mode=Wide/Letter (or one of the above values if you think these fit better for your stream). And change the language setting from 'Language=EN' to 'Language=en' (or =DE to =de...). You have to do this for every Item=Sub-Picture Stream.



borax posted 2006 Oct 26 10:03
Update to GfD099_GfM021
- The default value for subpicture Display Mode is set to 'Display Mode=Wide/Letter' (for 16:9 only)
- For subtitles the language codes are lowercase



borax posted 2006 Nov 07 10:43
Update to GfD099_GfM022:

- Left/Top values for buttons, labels, images... may be edited in the project explorer.
-- Does not work for 'old' saved projects
- Fixed a bug if 'animated menus' is activated in a 'non empty' project (with more than just the mainmenu)



borax posted 2006 Dec 06 07:55
Update to GfD099_GfM024...
New function: Chapter Playlist(s). Can be used to show selected chapters only or (i.e. for audio only titlesets) play chapters/titles in a different sequence. The function can be found in the menu topic 'Insert' - Chapter Playlist



john3voltas posted 2006 Dec 08 18:09
Hello Borax :),
Wonderful tool of yours this GfM :).
One thing I am missing though is the audio delay settings.
Here take a look at Muxman 0.15P free.

Look at the red rectangle ;).
That's option is there because there are times when you need to resync the audio with the video.
When you decrypt it and then you save the DGIndex D2V project file demuxing the audio you get an index file (*.d2v) and most probably an DD file (*.ac3).
Take a look at the name of the *.ac3 file.
It clearly states the delay between the video and the audio.
Take a Hollywood movie for example.
I have Catwoman and Batman Begins in PAL DVD.
I want to backup those two movies in a single DVD-5.
While Catwoman doesn't have any delay error, Batman Begins have a -8ms delay error.
It's not much 8 miliseconds but I have other movies with as much as 150ms and believe me you can see 150ms of audio desync.
Could you please investigate if it is possible to add audio delay setting to GfM?
I find it a must :).
Cheers

EDIT
But, I would be glad if I could mux my movies with Muxman all alone and in the end joining them in the same DVD with GfM.
That way I could set the audio delays directly in Muxman.
But I don't think I can load a set of VTS files in GfM... :cry: .
All help will be greatly appreciated.



borax posted 2006 Dec 09 05:09
Hi john3voltas,
welcome on board!

Ok, I will do it. For the time being, you can either edit it manually in the mxp file: Activate 'Edit xml ...' in the default project settings, after 'Create DVD' you can see (and edit) the mxp file in a simple editor. Find the section:
:

      Item=Audio Stream
      {
         Stream Number=1
         Language=en
         Language Extension=1
         Item=Audio Play

Add a line with your delay like:

:

      Item=Audio Stream
      {
         Stream Number=1
         Language=en
         Language Extension=1
         Delay=150
         Item=Audio Play

Do this for all titles.
Click on 'Save and Go'

Another possibility is using delaycut.



john3voltas posted 2006 Dec 09 06:16
Thanks Borax :P
I'll try it out ASAP.
But I'm facing another problem.
I have 2 reencoded movies with m2v, ac3 and sup.
When I load them in GfM it shows me a big green bar followed by a small yellow bar and then followed by a small red bar.
I would say that it is telling me that my project is needing more than the 4480MB by DVD specs.
But in all honesty, if I sum all the items I get below that ceiling.
Look:
:
Batman Begins
video-2.009.417KB
audio-377.687KB
sup-2.428KB
subtotal=2.389.532KB

Catwoman
video-1.831.940KB
audio-281.142KB
sup-1.352KB
subtotal=2.114.434KB

total should be=4.503.966KB=4.398MB<4.480MB

I'm using a non-advanced menu just with a text button saying play batman and another one saying play catwoman.
Even with muxing overhead I can't see how my 4398MB can go beyond the target 4480MB.

Also I found something this is a bit...shall I say frustrating if you dont mind.
That is, when I load an m2v I setup an audio track and a sup file and then I get to change the language for the audio and subs on two distinct combo boxes in a very similar way that can be found in Muxman itself.
But the languages in those combo boxes are not listed in any order.
Yesterday I know it was 3am and that I was veeeery tired but it took me maybe 5 minutes to find the "PT (PORTUGUESE)" for my subs.
I was begining to think that Portuguese was not on the list :(.
Maybe you can put this wish back on the very bottom of your list?
I mean, to put both the audio and subs country list ordered alphabetically.
It would be a must if it would actually work like Muxman :idea:.
In Muxman if I press the 'E' key on my keyboard the combo moves automatically to "English en".
Or if I press the 'P' key the combo moves automatically to "Pashto ss" and if I press again it moves to "Persian fa".
This way I keep pressing 'P' until "Portuguese pt" appears :).
Also I saw the button and background collections on GfM main page.
Could you please tell me where I could find more, especially backgrounds since I'm more than satisfied with the buttons.
Last but not least: where is that donations button? I mean, you do have one don't you?
Cheers :)



borax posted 2006 Dec 09 07:12
1. The bar graph is just a 'hint'. The 'as good as possible' calculation is in the first node of the project explorer: TotalSize(MB)=...
2. The mux overhead can be that large... A thumb rule from myself (the same calculation is used in GfD):
Totalsize_in_MB = Videosize_in_MB + Audiosize_in_MB + (VideoDuration_in_seconds * 0.011)
Assuming ~ 90 minutes for each film this adds ~120 MB

Language list...
The list is alphabetically, except for the first entries: EN, DE, FR, ES as these are the most common. The rest is alphabetically ordered, but for the languages, not the codes. You can enter 'P' 3 times on the combo to get to PT (Portuguese) in GfD too.
BTW: GfD was/is not programmed to be 'similar' as the MuxMan GUI, as the code is older than MuxMan itself...

Backgrounds: I don't have free resources. But the net is full with images, cliparts...
For private use these images are most times freely usable. But it's not allowed to 'redistribute' those images.

Last... No, there is no donations button. But you can donate here on videohelp:
http://www.videohelp.com/donate
as my project is hosted for free on their server.



john3voltas posted 2006 Dec 09 13:26
borax :
1. The bar graph is just a 'hint'. The 'as good as possible' calculation is in the first node of the project explorer: TotalSize(MB)=...

Nice! I hadn't noticed that yet :).
:
2. The mux overhead can be that large... A thumb rule from myself (the same calculation is used in GfD):
Totalsize_in_MB = Videosize_in_MB + Audiosize_in_MB + (VideoDuration_in_seconds * 0.011)
Assuming ~ 90 minutes for each film this adds ~120 MB

Damn, that much :(?
I thought it would be way lower than that, maybe around 25MB per each title...
I guess the only way is to try it out.
If it works, wonderful I got away with it :P.
If not, I'll reencode it because I just don't like transcoders.
:
Language list...
The list is alphabetically, except for the first entries: EN, DE, FR, ES as these are the most common. The rest is alphabetically ordered, but for the languages, not the codes. You can enter 'P' 3 times on the combo to get to PT (Portuguese) in GfD too.

Man! Didn't I tell you I was veeeeery tired :P.
Just how did that slipped through my fingers? :?
Cool, at least this won't be a problem in the future :).
:
BTW: GfD was/is not programmed to be 'similar' as the MuxMan GUI, as the code is older than MuxMan itself...

I see, you go way back to the times when there was only dvdauthor/dvdauthorgui/dvdstyler.
And that's why I can find some GUI differences between Muxman and GfM.
:
Backgrounds: I don't have free resources. But the net is full with images, cliparts...
For private use these images are most times freely usable. But it's not allowed to 'redistribute' those images.

Forget it, I already found a couple of images on my PC that will do just fine as mainmenu background.
But thanks anyway :).
:
Last... No, there is no donations button. But you can donate here on videohelp:
http://www.videohelp.com/donate
as my project is hosted for free on their server.

Hmmm, I'll think about it.
Though, I wouldn't hesitate pushing a paypal button if it was your's ;).
Cheers Borax



AlanHK posted 2006 Dec 09 22:19
I'd just like to say that however efficient and standards compliant Muxman is, I won't be using it again. It always messes up sound sync with my NTSC files (though PAL is okay). Whereas using DVDAuthor is fine. So please don't drop support for that.

Especially as you can't change the encoder after loading files; I have to rebuild the whole project if I accidentally start in Muxman mode.

Also, some of the typos I mentioned earlier are still in the latest builds ("Subtitels" in the file load screen).



john3voltas posted 2006 Dec 10 06:59
That's bad.
And don't take me wrong but instead of just stop using it you should advise with Borax, tell him under which circumstances that happened and have it reported to Mpucoder if needed.
Anyway this sounds silly to me because muxman is used by a huge amount of NTSCland people and I don't see them complaining at D9.
Nevertheless it could be something specific with either your system or your project and it must be reported to Borax/Mpucoder otherwise these tools won't develop in the right direction.
Just my 0.02€.



borax posted 2006 Dec 10 07:38
I won't stop support for dvdauthor - why should I? But there are some things which are quite easy to to with MuxMan (like support for wav files, playlists...) and very hard with dvdauthor. On the other hand there are several things where MuxMan 'fails' completly, like non standard resolutions, different audio bitrates in one title, text based subtitles (I will fix the typo in the next built, I promise it!)... Therefore I will probably always support both engines.
Concerning your sync problem: Either report it to mpucoder yourself, or tell me how I can reproduce this error (with freely available sources like film trailers). Without a reproducible sample, nobody can debug the problem.



john3voltas posted 2006 Dec 10 08:10
@AlanHK
Oh, and just for the record I wasn't implying that Borax should drop dvdauthor support ;).
Instead I was just expressing that he shouldn't drop Muxman support.

@all
I wouldn't say that Muxman fails on non standard resolutions or different audio bitrates in the same VTS.
As you well know Muxman is based on standards and the standards don't allow for SVCD or LaserDisc resolutions.
And standards only support CBR audio all in the same bitrate as long as it is in the same VTS.
As for subs, well it does support them but only in the well known SUP graphical format.
One can easily use Pgcdemux or Rejig to extract the subs and then apply them in Muxman or DfM.
But if one really needs to change something in the original subs then they can easily:
- use Subrip to extract the subs to text format
- run them in winword or openoffice word spell checkers
- make any needed changes in the text
- and finally load the text subs in SubtitleCreator to save them as SUP again
You know this is just like the theory of the glass of water: either half full or half empty ;).
Anyway, Borax, keep up with your amazing work :)



AlanHK posted 2006 Dec 10 11:48
borax :
I won't stop support for dvdauthor - why should I? But there are some things which are quite easy to to with MuxMan (like support for wav files, playlists...) and very hard with dvdauthor. On the other hand there are several things where MuxMan 'fails' completly, like non standard resolutions, different audio bitrates in one title, text based subtitles (I will fix the typo in the next built, I promise it!)... Therefore I will probably always support both engines.
Concerning your sync problem: Either report it to mpucoder yourself, or tell me how I can reproduce this error (with freely available sources like film trailers). Without a reproducible sample, nobody can debug the problem.


Sync problem: happens every time I use a 23.976 fps AVI file and then HCenc, whether I use internal or external pulldown to make it 29.997fps. Sound is MP3 in the AVI, converting the audio directly with BeSweet to MP2. These files work fine with GfD in DVDAuthor mode, but sync is WAY out in Muxman, several seconds, and also fails using stand-alone Muxman.

Let me know if you want me to upload some files for you to try.

Anyway, I thought you were working towards replacing DVDauthor with Muxman completely, after all it must be a pain to support two different engines. If that's not the case, I'm quite happy using the "old" engine.



AlanHK posted 2006 Dec 10 11:59
john3voltas :
I wouldn't say that Muxman fails on non standard resolutions or different audio bitrates in the same VTS


Did I say "fail"? If I did, make it ""rejects".

I'm not judging it a failure in any sense, but it doesn't work on many of my files, so I'll just use something else.



john3voltas posted 2006 Dec 10 12:51
AlanHK :
Did I say "fail"? If I did, make it ""rejects".

No you didn't, Alan.
borax :
On the other hand there are several things where MuxMan 'fails' completly, like non standard resolutions, different audio bitrates in one title,...

It was Borax himself who used the word fail but he used comas to soften its meaning.
I guess he didn't find another word in that moment to express how he thinks that Muxman is not a good contender in several aspects when compared to dvdauthor, that's all ;).
By all means, I didn't write to start a misunderstanding or anything.
I just stated that even when Muxman does not do what we want, it doesn't make it a worse muxing engine when compared with dvdauthor.
It just so happens that Muxman is very mux tight on standards when dvdauthor is much looser on standards.
Cheers guys :)



john3voltas posted 2006 Dec 10 12:58
AlanHK :
but sync is WAY out in Muxman, several seconds, and also fails using stand-alone Muxman.

Now that's intriguing :?.
I wonder...
Does that only happens with AVIs?
I mean, if you rip a dvd and if you run it through Muxman you also get an audio desync?
Maybe you should really get in touch with Mpucoder.
Cheers



borax posted 2006 Dec 10 17:34
Ok, 'fail' is probably the wrong wording... But as most players have no problems with such things, I would prefer that MuxMan would create the structure nevertheless and just warn that the DVD is 'non standard' as it already does for long GOPs. I have quite often non standard resolutions from German DVB streams (544x576) and all players tested so far have no problem to show the resulting DVDs created by dvdauthor (only 16:9 is a problem sometimes).

@AlanHK
>Sync problem: happens every time I use a 23.976 fps AVI file...
Are there any free sources for such streams? I don't want you to upload any copyright protected material...



tvholic posted 2006 Dec 10 18:12
I'm glad I found this thread, because the new "Play All" button is exactly what I wanted. One other feature that would be great would be to automatically set the active button on the title menu back to the previously-active button when a title finishes playing. I've been doing this by overriding the "button=" command in the menu's "Pre" code, which led me to discover a bug in the "Post" code generator for the menu, where GFD enters the closing tag as "<Post> instead of "</Post>".

The only other issue I have is that because I normally use a video resolution of 800x600, some of the dialogs appear somewhat off the screen and off-center. I don't expect apps to be designed with 800x600 in mind, but it would be nice if the last window coordinates were remembered, especially for the main program window.



AlanHK posted 2006 Dec 10 19:46
tvholic :
One other feature that would be great would be to automatically set the active button on the title menu back to the previously-active button when a title finishes playing.


Yes, that would be nice. I make a lot of compilations, and soon will be doing one of about 20 short cartoons. It can be frustrating to come back to the menu and not remember which one is "next". I thought that I'd have to make a separate submenu for each item to make that work, so gave up on the idea. If it could be a single default setting I'd leave it on always.



tvholic posted 2006 Dec 10 20:38
AlanHK :

It can be frustrating to come back to the menu and not remember which one is "next". I thought that I'd have to make a separate submenu for each item to make that work, so gave up on the idea.


If it would help, this is how I do it (in Advanced mode, of course):

Right-click on the menu background and select "Menu Properties", then select "Advanced Pre/Post Command Editor", and in the "Pre Commands" box enter:

if (g1 eq 0) g1=1; if (g3 eq 0) g3=1; button=g3*1024;

And press OK (twice).

Then, right-click on each menu item button and prepend "g3=#" to its "Action" field, where # is its item number. For example, change "jump titleset 1 menu;" to

g3=1; jump titleset 1 menu;

And change "jump titleset 2 menu;" to

g3=2; jump titleset 2 menu;

Etc. To make the menu advance to the next item, just set g3 to 1 higher than its item number, with the last one either pointing to itself or to 1, depending whether you want it to wrap back to the top of the menu. For example:

g3=2; jump titleset 1 menu;
g3=3; jump titleset 2 menu;
...
g3=9; jump titleset 9 menu; [--OR--] g3=1; jump titleset 9 menu;

[Edited to use register g3 instead of g2, because I realized the "Play All" button is using g2]



borax posted 2006 Dec 11 02:03
...where GFD enters the closing tag as "<Post> instead of "</Post>".
THX! Will be fixed soon. Concerning 'remember' the last button: I will think about it. But it isn't as simple if you have a multi page main menu. And even more complex if a swichted menu is used. For MuxMan it is completely 'out of scope' as only one command for a button is possible (same is true for dvdauthor, but dvdauthor has some internal code to circumvent the problem).



AlanHK posted 2006 Dec 11 02:16
tvholic :
If it would help, this is how I do it


Thanks. I'll give it a try.



borax posted 2006 Dec 12 03:22
Concerning 'remember' the last button:
I have probably another idea which would be simpler to implement...
I could create a setting to always set a register (lets say: g10/GPRM10 for MuxMan) to the actual playing title within the title's pre command. Then you can use this register to calculate the button to highlight in the main menu's pre command when the title has finished playing (and returns to the main menu). For multipage main menus it would also be your responsibility to calculate the correct button to highlight (which is possible, but depends on the overall menu structure).
With this procedure you would only need to set the main menu pre commands 'by hand' and this solution would work for dvdauthor and MuxMan.

@john3voltas
Concerning the audio delay(s)...
Is it really necessary to have a different delay for each audio stream, or would one offset be sufficient? I would like to use the possibility to specify an audio offset for both MuxMan and dvdauthor, but mplex only allows one offset (not different ones for each audio stream)



tvholic posted 2006 Dec 12 19:26
borax :
I could create a setting to always set a register (lets say: g10/GPRM10 for MuxMan) to the actual playing title within the title's pre command.

That sounds good, and maybe also add a "button" field to the menu properties that would specify the item to be activated when the menu loads. Then you take whatever value the user enters (eg, "1" or "g10" or "g10+1") and enter it in the menu "Pre" code in the expression "button=(value)*1024", to avoid the user having to edit the "Pre" code directly.

I found another "issue". I set GFD to all default values, in basic mode (no custom scripting), and made a simple titleset menu by dragging over 3 items. Then I burned it to a DVD and played it in my standalone (Panasonic) DVD player. I select any item on the menu, it starts playing, and while it's playing I press the "Menu" button on the remote control to return to the main menu, which it does. Then I press the "Menu" button again and it resumes playback where it left off, just like it should. But if I press the "Menu" button once again, it starts playing the title from the beginning, instead of going back to the menu. However, if I use the "Top Menu" button instead of the "Menu" button, it works properly every time, toggling between loading the menu and resuming playback.



AlanHK posted 2006 Dec 12 23:09
borax :
Concerning 'remember' the last button:
I have probably another idea which would be simpler to implement...
I could create a setting to always set a register


Great. If you can get this in the next revision I'd be very happy.



john3voltas posted 2006 Dec 13 16:34
borax :
@john3voltas
Concerning the audio delay(s)...
Is it really necessary to have a different delay for each audio stream, or would one offset be sufficient? I would like to use the possibility to specify an audio offset for both MuxMan and dvdauthor, but mplex only allows one offset (not different ones for each audio stream)

You mean a single delay for all the audio streams in the same vts/movie?
I think so.
I only do encodes with 1 audio track per movie so it doesn't affect me much and I may be biased here.
But on the other hand I would say that all the DVDs out there that come with a delay they may have the same delay on all audio tracks.
At least that sounds obvious to me while in the end it may be wrong.
On the other hand if by chance you were talking about a single delay for all the audio tracks in a vgm, that is a "no go" if you ask me.
Anyway I think you were referring in the same vts/movie, right?
Cheers



borax posted 2006 Dec 13 16:50
...Anyway I think you were referring in the same vts/movie, right?
Yes. So one entry within the 'Video + audio files' dialog will be there to set the delay(for all audio streams associated to the title)

...you take whatever value the user enters (eg, "1" or "g10" or "g10+1")
Ok, I can add those 'presets'. But still the user is responsible for 'strange' results, if for example a menu has buttons to start the film directly or start the associated titleset menu.

...if I use the "Top Menu" button instead of the "Menu" button, it works properly every time
If no titleset menu is specified, it depends on the pre command settings of the menus and on the player itself what happens, if just the 'Menu' button is pressed ('Menu' on the remote usually means titleset menu for a multi vts dvd).



tvholic posted 2006 Dec 14 14:23
The "TV Safe Area" seems to be showing a 16:9 area for 4:3 menus, and vice versa.


borax posted 2006 Dec 14 15:09
Could you explain a little more what disturbs you?
The TV Safe Area shows a ~91% and ~82% range of the screen for 4:3 menus on a 4:3 TV (or 16:9 TV as it doesn't matter this way). For 16:9 menus it shows the 'absolute' safe area for a 4:3 TV which is visible even if Pan&Scan mode is used.



tvholic posted 2006 Dec 14 15:24
Ah, now that I understand it more clearly, let me restate the problem. When you load an existing project with a 16:9 menu, the TV Safe Area shows the area for a 4:3 menu instead of a 16:9 menu. To fix it, you have to change the Menu settings to 4:3 and then back to 16:9.


tvholic posted 2006 Dec 14 20:04
After a little more trial and error, I discovered that by unchecking the "Use Titlesets" option in the project settings, it solved all the navigation problems I was having (ie, the active menu selection not being remembered, and the "Menu" button on the remote sometimes not loading the menu). For my simple menu of TV episodes, I should have been using titles instead of titlesets all along. Now it seems to work just like a "normal" DVD.

But of course I have to report a small glitch with that. :) If I use titles instead of titlesets, then whenever I go to the video properties for an existing item and use the dialog to replace the video file, I get a "Video properties changed" warning, even if the properties are the same, even if I re-select the exact same file.



tvholic posted 2006 Dec 14 22:42
If I pause a title and then press the "Menu" button on the remote, the menu comes up totally blank. If I press the "Play" button, the menu plays. I assume this is a bug in dvdauthor itself.


borax posted 2006 Dec 15 05:41
>To fix it, you have to change the Menu settings to 4:3 and then back to 16:9.
OK! Will be fixed in the next version.
>I get a "Video properties changed" warning
Dito.
>I assume this is a bug in dvdauthor itself.
Possible. I've never tried it myself. It may also be player dependent.



john3voltas posted 2006 Dec 16 20:56
This GfD/GfM's development thread and I don't know if I should post this here but I don't know where else to post.
So here goes.
I have already mastered the basics of this wonderful authoring tool.
I have been using it mostly for 2 x movies KDVDs.
All have main menus with 2 "pictures" (one from each movie) and 2 "Play" buttons (one for each movie).
All has been going wonderful.
Now I wanted to start adding another 2 "Chapters" buttons (one for each movie) that would lead to a 2nd menu (for each movie).
There I would have 8 chapters pictures along with 8 chapter buttons and 2 additional buttons, one "Back" button to move up to the main menu again and one "More Chapters" button to move to 3rd menu that would have another 8 chapter buttons...etc...
I guess you get my point, right?
Now my problem starts with the first Chapter button.
Shall I right click the main menu and click "insert: Text button" or shall I click the "insert: Menu"?
Then what action do I choose from the combo box?
How do I know what each one does?
I assure you I have read the fine manual that comes with GfD but this part is not thoroughly discussed in the manual.
Can someone help me with this, please?
TIA
Cheers



AlanHK posted 2006 Dec 17 00:42
tvholic :
Right-click on the menu background and select "Menu Properties", then select "Advanced Pre/Post Command Editor", and in the "Pre Commands" box enter:
if (g1 eq 0) g1=1; if (g3 eq 0) g3=1; button=g3*1024;
...
[Edited to use register g3 instead of g2, because I realized the "Play All" button is using g2]


Okay, just tried that, worked well even though I did use g2.

-- So where are all these g variables documented? Which have set or conventional meanings, which can be freely used?

-- And in GfD, in Advanced Pre/Post Command Editor, I can edit the Pre commands. I can see the Button commands, but this is read only. It would be convenient if I could edit the button commands for all the buttons together here.



borax posted 2006 Dec 17 05:02
>So where are all these g variables documented?
Within GfD g0 to g2 are used for internal purposes (g3 is used only if 'loop with jump menu' is activated). g12 to g15 are used by dvdauthor itself. At least g4 to g11 are freely available for anything you like (depending on the overal structure sometimes only g1 is used by GfD). Some doku for GfD itself can be found here:
http://download.videohelp.com/gfd/Help/Variables_concept.html

For dvdauthor see: http://nfs.shawnfumo.com/wiki/DVDAuthor/VMLanguage
For MuxMan the advanced information is 'commercial' (you have to register at mpucoder's forum).

For the Advanced Pre/Post Command Editor, I will check if it would be possible to change button commands too (will take some time, not very easy...).

@john3voltas
The doku for GfD using MuxMan is not yet finished. The necessary information will be there...

If you are using TitleSets, the chapter menus are already created.
I assume now that you are using MuxMan, use titlesets and the start action for titlesets = play movie.
The button commands which are 'created' by GfD if the titles are inserted will be:
JumpTT TitleSet1_Title1, JumpTT TitleSet2_Title1...

The titleset menus are also created and have already the back button in place. To link to these menus, load the main menu, use the 'Add button' command in GfD (text or graph button is your choise) and use the action:
JumpSS vts_1, vts_ttn_1 : RootMenu
to go to the first titleset menu (wher the first list of chapters can be added), to go to the second titleset menu insert a second button and use the action:
JumpSS vts_2, vts_ttn_1 : RootMenu

Load the first titleset menu and add the first list of chapters (as documented in the GfD help) Then use 'Add menu' to create the first submenu of the titleset1menu for the second list of chapters.
On the dialog box simply use the defaults. The created button will link to the submenu of the titleset1menu for the second list of chapters. Load the TS1SubMenu1, add the chapters...

Again to your question:
...click "insert: Text button" or shall I click the "insert: Menu"
Insert button just inserts a button on the actual menu to give you the possibility to do something. The 'something' is not predefined and has to be set by yourself.
Insert Menu does much more: 1. Inserts a button on the actual menu with the predefined action to go to the new menu. 2. Add a new menu in the project explorer list and add a 'back' button on the new menu to go back to the menu where you have inserted the new menu.



john3voltas posted 2006 Dec 17 07:09
OMG!! :shock: It's that easy? 8)
I can't thank you enough for your help, Borax.
I'm not in for professional good looking menus but I really would like to add a basic thing like chapter menus.
Not that I'm going to use them much but at least they'll be there and my family will be able to use them.
Thanks Borax :)



john3voltas posted 2006 Dec 17 10:10
EDIT:
Please disregard this post.
I have already found myself the answer.
I had already read the help 3 or 4 times but I missed the part where I can load a text file and push GO.
As said, this software looks awesome.
Cheers

Hi there,
It's me again bugging you with more stupid questions :oops:.
Are you guys sure that there is no GfD support thread somewhere?
A better thread to post general questions regarding GfD instead of this one?
Because this one is in the Programming section and it would be logical that this one would be reserved for discussing/requesting new features and point out any bugs.
Any Mod feel free to move this post to a better fitting place.
With that said, I gotta say that I am really well impressed with GfD's features.
It's just outstanding.
One thing that bothers me a bit though is adding the chapters in ChapEditGFD :(.
This is how I have been using it.
I see all my chapters (list of frames "à lá" IfoEdit previously loaded through a text file) inside a box called "File Chapters".
Then I double click one of the timings inside that box, the movie preview shows me that specific frame and then I press the "Save image+chapter" button.
And I use exactly the same procedure for all the chapters inside the "File Chapter" box.
This is a somewhat tedious procedure IMHO.
Is there a way of making this easier for people who just want to add ALL the chapters inside the "File Chapters" box WITH image AND mark?
If there is such easier way could someone please give me a hand showing me how :)?
If there isn't, could I politely ask Borax to consider such new feature and maybe put it on the bottom of his to-do list :)?
Thanks guys.
Cheers



AlanHK posted 2006 Dec 17 10:45
john3voltas :
Are you guys sure that there is no GfD support thread somewhere?
A better thread to post general questions regarding GfD instead of this one?


In the Authoring forum. Put GfD in the title.



john3voltas posted 2006 Dec 17 12:00
AlanHK :
In the Authoring forum. Put GfD in the title.

Hmmm, you mean any thread will do.
Just put GfD in the post title.
Ok, will do so from now on.
Cheers



borax posted 2006 Dec 18 07:02
:
In the Authoring forum. Put GfD in the title.

Good idea! But for MuxMan specific topics, better put 'GfD development version' in the title.

Bugfix: Check for 'Video properties changed' if Use Titlesets=off.
Bugfix: TV Safe Area for 16:9 menus using saved projects.
New: Audio Delay (1 Audio Delay for all audio streams) MuxMan + dvdauthor
Version 0.99.0026

Concerning 'remember' the last button (if Use Titlesets=on):
There is no need to set a register to the actual title, as a system register (SPRM4 or s4) already holds this value.

For a simple main menu (just one button per title) you can use the code below to set the highlighted button to the last title. Use the 'Advanced Pre/Post Command Editor' button on the menu background dialog for the main menu. Use a pre command like:

1. MuxMan engine
:

Mov GPRM0, 1
if ( GPRM0 == SPRM4 ) SetHL_BTNN HL_BTNN=1
Mov GPRM0, 2
if ( GPRM0 == SPRM4 ) SetHL_BTNN HL_BTNN=2
Mov GPRM0, 3
if ( GPRM0 == SPRM4 ) SetHL_BTNN HL_BTNN=3
...
Mov GPRM0, 1

Use the sequence:
Mov GPRM0, X
if ( GPRM0 == SPRM4 ) SetHL_BTNN HL_BTNN=X
for each title (or titleset respectively) on the menu.

1. dvdauthor engine
:

g1=1; button=g1*1024;
g0=1;
if (g0 eq s4) button=1024;
g0=2;
if (g0 eq s4) button=2048;
g0=3;
if (g0 eq s4) button=3072;
...

Use the sequence:
g0=X;
if (g0 eq s4) button=X*1024;
for each title (or titleset respectively) on the menu
(BTW: The simple command: 'if (s4 eq X) button=' is not allowed by the DVD VM specs).

You can also use another register (like g4/GPRM4) to make sure that no unwanted side effects take place, as g0 (GPRM0) is also used for PlayAll (I have not yet checked this myself).

For multipage main menus, you can also use this code, but you need to adapt the values, as the titles on the second page will probably be 10 to 20 but the buttons to start them will be 1 to 10 (button=1024 to 10240) again and additional buttons for next menu and back exist too.



tvholic posted 2006 Dec 18 22:36
:

Use the sequence:
g0=X;
if (g0 eq s4) button=X*1024;
for each title (or titleset respectively) on the menu

This works for me (on the main title menu):
:
button=s4*1024;

FYI, when you use the Calc Standard button, the code it inserts has an extra semi-colon at the beginning.



borax posted 2006 Dec 19 01:49
:) :) :)

:
FYI, when you use the Calc Standard button, the code it inserts has an extra semi-colon at the beginning.

Could you tell me exactly how I can reproduce this error?
If I test it with my standard project, there is no extra semi-colon to find...



tvholic posted 2006 Dec 19 02:04
:
If I test it with my standard project, there is no extra semi-colon to find...

It's when Use Titlesets is turned off. Then when you select the menu properties and select Calc Standard for the Pre section it inserts:

:
{ if (g1 eq 0) { button = 1024;} else  { button = g1*1024;}



AlanHK posted 2006 Dec 19 04:34
tvholic :
This works for me (on the main title menu):
:
button=s4*1024;


I tried this, put it as a Pre Command; but doesn't seem to work. Should it be a Post?

It takes half an hour to rebuild and 10 minutes to burn, so trial and error is a bit tedious...



borax posted 2006 Dec 19 05:37
:
...but doesn't seem to work...
Could you be a little bit more specific?
Like: After playing the title no button is highlighed, always the first, always the last, random...
Or does it work in a soft player, but not on a stand alone player?


:
It takes half an hour to rebuild and 10 minutes to burn

For such tests I use a saved project with 3 or 4 streams of about 20 seconds.

@tvholic
The correct pre command should be:
:
{  if (g1 eq 0) { button = 1024;} else  { button = g1*1024;} }

So the last } is missing.
I have already changed it. New version asap.



AlanHK posted 2006 Dec 19 06:40
My error was: clicking on any button which should start a feature just returns to the main menu. Nothing plays.

So looking at the code samples, I tried:

:
g1=1; button=g1*1024;
button=s4*1024;


And this appears to work.

Adding the first line makes the difference. But I don't understand it. What does it do? What is g1? Why doesn't the second line just set the button state regardless?



borax posted 2006 Dec 19 11:06
It depends on the overall structure... As described here:
http://download.videohelp.com/gfd/Help/Variables_concept.html
the register g1 is used to distinguish between direct film start and titleset menu start. If g1 isn't set to 1 and no titleset menus are designed, nothing happens, as the empty titleset menu is started, which just returns to the main menu.
:

g1=1;
button=s4*1024
should work the same.


tvholic posted 2006 Dec 19 11:07
Alan, I would suggest pressing the Calc Standard button in the menu Pre command properties, and changing the text "button=g1*1024;" to "button=s4*1024;". Leave the rest of the command as it is (ie, the "g1=1;"). g1 and s4 are both variables holding title selection values, but s4 may be more useful to use at that point. If it doesn't behave properly, try entering the lengthier code that borax suggested.


AlanHK posted 2006 Dec 19 20:44
borax :
It depends on the overall structure... As described here:
http://download.videohelp.com/gfd/Help/Variables_concept.html
the register g1 is used to distinguish between direct film start and titleset menu start. If g1 isn't set to 1 and no titleset menus are designed, nothing happens, as the empty titleset menu is started, which just returns to the main menu.
:
g1=1;
button=s4*1024
should work the same.

OK. However though I didn't set g1, I didn't have a menu (if "titleset menu" means the usual main menu listing the titles), and nothing could be started by screen or remote buttons.
But it is working now after setting g1.

Some questions arising:
Is there any other documentation for the "Edit VM commands" screen, other than the "Variables concept" page mentioned?

The "Pre Commands" section is initally blank. However, it seems that it in effect contains some necessary commands, which I must explicitly include if I write any code there -- i.e., the "g1=1".
Or is that what the "Calc standard" button does? Where is that explained?
Are there any default "Post" commands?

If that's right, would it be possible to show the commands that are there by default; at least users would be aware they had to keep or modify them.



borax posted 2006 Dec 20 01:57
:
"titleset menu" means the usual main menu
No, titleset menu means titleset menu. If 'Use titlesets' is enabled, GfD automatically creates a titleset menu for each film. Have a look at the project explorer... Each time you drop a video on the main menu (which is part of the VMGM domain in DVD 'language') a titleset menu is also created (in DVD 'language' this is a VTS domain; in GfD the naming convention is 'Titleset1Menu', 'Titleset2Menu'...). A titleset menu is something like a'top menu' for the corresponding film. It can be used for chapters or as 'root' for special other menus (audio/subtitle/chapter/angle). For MultiVTS DVDs ('Use titlesets' is enabled) titleset menus are mandatory, even if these are not used (empty).
:
Or is that what the "Calc standard" button does? Where is that explained?

That's exactly what the "Calc standard" button is supposed to do. It calculates the standard command according to the current settings (start + end actions from to the default project settings). As the default project settings may be changed, "Calc standard" can give you different results. And yes, there may also be default "Post" commands. But these may be different for the last title. "Calc standard" sets just the commands like they would be used if you click on 'Create DVD' by GfD itself as a 'snapshot'. If you change settings, or add an additional title/menu the "Calc standard" can lead to a different result. That's why there is no 'fixed' default. The other reason is, that you are complettly free to set up your personnel start/end actions which may not fit to any GfD internal 'standard' setting. The 'Advanced Pre/Post Command Editor' functionality is new and therefore not yet documentated anywhere ATM.



AlanHK posted 2006 Dec 22 12:48
New comment/req:

When selecting subtitles you can choose the style. I notice the format is now remembered; thanks.
I still recommend that CP1252 be also labelled "ANSI", but I've mentioned that before. I always have to look it up otherwsie.

When choosing the font, the name of the font file is displayed, not the name of the font. This is fairly clear if it's "Arial.ttf", but not if the filename is more cryptic: "lc______.ttf" (Letter Gothic). I believe it's a standard call to get a font name, as appears on most font menus.

Also, it only appears to allow TTF fonts. I have Type 1 fonts I would like to use here. Is that possible? And Opentype will be a future necessity.



borax posted 2006 Dec 22 13:36
That depends on spumux. I have to give spumux a filename. Of cause there is a standard call to list fonts in windows, and it is used by GfD in the select font dialog of buttons and free texts for example. But I don't know a standard call to get the font file name which is connected with such a font. Therefore, sorry no change. Same for "ANSI", I don't think that spumux will recognize it, but I will try it. Other font types (Type1, Opentype, or even TTC) are not possible. This is a limitation of spumux too.


AlanHK posted 2006 Dec 23 01:39
borax :
That depends on spumux. I have to give spumux a filename. Of cause there is a standard call to list fonts in windows, and it is used by GfD in the select font dialog of buttons and free texts for example. But I don't know a standard call to get the font file name which is connected with such a font. Therefore, sorry no change. Same for "ANSI", I don't think that spumux will recognize it, but I will try it. Other font types (Type1, Opentype, or even TTC) are not possible. This is a limitation of spumux too.


By that I suppose you mean that this dialog exactly reflects the arguments sent to spumax and you can't display a more user-friendly explanation.

OK.

Now a related question, the same dialog:

I just made a project with two features, one NTSC, one PAL. Each with subtitles as SRT files.
Video and audio sync were okay. But the PAL feature had its subtitles way off, both in position and time.

Eventually I noticed the last section of the subtitle dialog: width, height, fps.
I had never noticed these before, assuming they were set from the video properties.
However, perhaps as a side-effect of the new "make default" button for the formatting, now I saw that the PAL feature had width=720, height=480, fps = 29.97, as for the NTSC feature.
I had clicked "make default" to save the font style and encoding.
So I changed these to 720, 576, 25 and the subs were okay in both features.

I think that these last three settings should be always set initially following the video properties regardless of other defaults. I don't see a need for the user to ever change that, perhaps those settings don't even need to be exposed.



borax posted 2006 Dec 24 05:32
:
...and you can't display a more user-friendly explanation.
Or let's say it like this: The efford to manually link the fonts from a Windows font dialog to the filenames would be horrible...
The only 'hint' I could probably offer you, is a 'font preview' function: If you double-click on a font file name in this dialog, a preview opens (IIRC there is a standard function for this purpose in Windows).
For the other problem (last three settings should be always set initially following the video properties): It should be like this (that's what I indended to program...). If not, that's a bug. I will check asap.



AlanHK posted 2006 Dec 24 08:25
borax :
:
...and you can't display a more user-friendly explanation.
Or let's say it like this: The efford to manually link the fonts from a Windows font dialog to the filenames would be horrible...
The only 'hint' I could probably offer you, is a 'font preview' function: If you double-click on a font file name in this dialog, a preview opens (IIRC there is a standard function for this purpose in Windows).


A preview window showing the font, colour, size, might be helpful if it's not too much trouble. It seems odd that is easier to do than just retrieving the menu name though.... .
I guess most people leave it at the default Arial, awful as that is.
(See http://screenfont.ca/fonts/today/interim/Arial/ and http://screenfont.ca/fonts/today/interim/ for some alternatives.)
Though if I want to do anything elaborate, even just showing italics, I'll make SUP bitmaps externally.

borax :
For the other problem (last three settings should be always set initially following the video properties): It should be like this (that's what I indended to program...). If not, that's a bug. I will check asap.

Thanks. I'm pretty sure it is buggy.
I think when you get these right you can hide them; anyone who really wants to set them differently from the actual video can edit the XML.



AlanHK posted 2007 Jan 04 01:55
A new subtitle problem.

I've got an NTSC VCD and extracted MPEG1 and converted the audio to author DVD. I've done this before and generally it works.

Now I want to add subtitles to one. (VCD is in Chinese, no English subs.)
I have an SRT file and loaded that. However, during creation spumax kept crashing with "word too long" messages.

Also, in the "subtitle format dialog" the default width was shown as 704 when the actual file is 352x240. I changed that to the correct value.

So I gave up on that and used Subtitle Creator to make a SUP file.
That worked more or less.

However, the postion is too high in the screen. Is the position of a SUP subtitle defined in the SUP file, or in gfd? Or an IFO file?

The colours were also weird; black text with white outline. (I think I can fix this by referring to an IFO file.)
I thought I could use DVDsubeditor to fix the postions and colour in the VOB set, however it seems unable to work with files from MPEG1.



borax posted 2007 Jan 04 04:35
Yes, the position of a SUP subtitle is defined in the SUP file.
:
The colours were also weird; black text with white outline. (I think I can fix this by referring to an IFO file.)
You can also load the SUP file in my SupViewer to show/adjust the colors (export the palette and import it in GfD).


borax posted 2007 Jan 08 08:20
...Subtitles problem (last three settings should be always set initially following the video properties): Should be fixed in version 0.99.29 (see first post in this thread)


AlanHK posted 2007 Jan 08 09:16
Thanks.
And I see a new version of DVDAuthor is just out....



borax posted 2007 Jan 08 09:47
Yes, but there is more or less nothing 'new' as GfD uses the 0.6.12 version (ok, the beta, but nervertheless) already for quite a long time...


borax posted 2007 Jan 10 02:27
Here is the recompiled new dvdauthor package (0.6.13). It includes the GfD specific changes:
- Default for mp2 audio files is 16 bit (not 20)
- Default display mode for 16:9 material (on a 4:3 TV) is 'letterboxed'
- Win98 compatible spumux syntax
- A user defined palette may be used for subtitles with spumux (normally spumux 'insists' on using its own colors)
Download: http://www.boraxsoft.de/other/DVDA13.ZIP

So far I didn't find any errors in this new version, but no 'improvements' either (compared with the latest package: 0.6.12-alpha-2992-GfD-5)



borax posted 2007 Jan 15 05:13
Updated dvdauthor package (0.6.13). See previous post.
Updated GfD version (0.99.0030).
Bugfixes: Using a windows screen resolution of 16 Bit colors ('HighColor') caused no/wrong Highlight; ChapEditGfD crashed with path length > 128 char;
New: Show font (subtitles format dialog);
See first post in this thread.



maikoherajin posted 2007 Jan 15 06:44
A few observations I've made:

TYPO: Default settings -> Project -> Loop with jump menu -> tooltip "if activ..."

BUG?: Creating an animation, I get this error from avisynth: Error initializing audio stream decompression: The requested conversion is not possible. Check to make sure you have the required codec. (c:\temp\mmscript.avs, line 19)
Line 19 is as follows: title2=AVISource("D:\UpcomingVideos\DVDVol2\BeatmaniaIIDX-Remembrance.avi").ConvertToRGB32().Crop( 0, 0, -0, -0).bilinearresize( 160 , 128).Loop()
The codec in question is the radium mp3 codec, but it happens no matter what avi I use. Having GFD add "audio=false" to the avisource seems to fix it. I don't see any reason why an animation should need sound anyway. The same thing is true of the main background animation, since the audio is given in a separate entry on the settings, and this will mess up the script if you have to do something like asssumefps (see bug below) on the main animation.

BUG: The frame rate of the main background animation is not being corrected prior to being passed to the encoder. The end result (with QEnc, at least) is a main menu video with the same frame rate as the original clip, not 29.97 or 24 or 25FPS as it should be. Consiquentially, muxman chokes when it tries to mux the video. Also, the assumeFPS() commands should be changed to "ntsc_video", "ntsc_film", "film", or "pal_video" rather than giving the explicite framerate is it does now, due to changes in how avisynth rounds the frame rate in 2.57.

BUG?: When using this image as a background: http://herajin.psychicvinyl.com/MM1Backg.png under the old muxer, The script gets to the point where it is piping png2yuv to mpeg2enc, and the process just seems to hang. Mpeg2enc is definatly running, but it just sits there using up CPU time, never writing anything. I let it run as long as a half hour, and I don't think it should take that long for a 1 frame background to be written.

Here is what the script outputs at this point:

*creating MM1back.m2v
10 [main] ? 3016 _dll_crt0: internal error: couldn't determine location of
thread function on stack. Expect signal problems.
INFO: [png2yuv] Parsing & checking input files.
INFO: [png2yuv] Image dimensions are 720x480
INFO: [png2yuv] Movie frame rate is: 29.970030 frames/second
INFO: [png2yuv] Non-interlaced/progressive frames.
INFO: [png2yuv] Frame size: 720 x 480
INFO: [png2yuv] Now generating YUV4MPEG stream.
10 [main] ? 3168 _dll_crt0: internal error: couldn't determine location of
thread function on stack. Expect signal problems.
INFO: [mpeg2enc] Selecting DVD output profile
INFO: [mpeg2enc] Encoding MPEG-2 video to C:\temp\GFD\MM1Backg.m2v
INFO: [mpeg2enc] Horizontal size: 720 pel
INFO: [mpeg2enc] Vertical size: 480 pel
INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
INFO: [mpeg2enc] Frame rate code: 4 = 30000.0/1001.0 (NTSC VIDEO)
INFO: [mpeg2enc] Bitrate: 7000 KBit/s
INFO: [mpeg2enc] Quality factor: 1 (1=best, 31=worst)
INFO: [mpeg2enc] Field order for input: none/progressive
INFO: [mpeg2enc] Sequence unlimited length
INFO: [mpeg2enc] Search radius: 16
INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 18
INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
INFO: [mpeg2enc] Progressive format frames = 1
INFO: [mpeg2enc] Setting hi-res intra Quantisation matrix
INFO: [mpeg2enc] Setting hi-res non-intra quantiser matrix
INFO: [mpeg2enc] Buffering 45 frames
INFO: [mpeg2enc] SETTING 3DNOW and EXTENDED MMX for QUANTIZER!
INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
INFO: [mpeg2enc] SETTING MMX for TRANSFORM!
INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!


BUG: When using Qenc 0.71, the command line options have changed, and "mpeg2" is no longer a valid option. I think it needs to be changed to "-mpeg2mux noaudio" to work. Even better, add an option to change the default command line for the encoders in the options menu, to prevent this sort of thing from happening again in the future.

BUG: No matter how long the loop time is set for on the main menu, the way the avisynth script is written, the encoder always encodes the entire length of the background video. So even on a 10 second loop, it will encode a 60 minute background the whole way! Adding "trim(0, length)" to the end of the avisynth script fixes the problem. (:

REQUEST: Let the Intro movie be re-encoded just like any animation would, rather than requiring it to already be MPEG2. I can't imagine this would be too difficult, just create a separate avisynth script for it.

REQUEST: More consistancy on the tree view. You can right click on the backgrounds to get their properties, but not buttons or images, for example. It would be better to be able to get the properties of any item by right clicking.

Just noticed that there's a new beta, so I'll see if it fixes any of these. Anyway, I'm sure most of this can be fixed relativley quickly, so thank you very much for the great work you've done so far!



borax posted 2007 Jan 16 03:28
Quite a long list...
Typo: "if activ..." Will be fixed in the next version.

Concerning Avisynth and avi files:
My only intention to support avi files at all was the possibility to have transparent animations (using 32 bit avi files created by Cool3D, Blufftitler...) for motion menus. I’ve not even thought about using 'movies' in an avi format. Therefore there was no need to suppress an audio stream, as there is none in the mentioned files. But ok, adding a .KillAudio is no problem and will be ‘standard’ in the next version.

...The frame rate of the main background animation
Normally I would say that it's YOUR concern to have a correct frame rate as source for the animation.
But as Avisynth changed from 2.55 to 2.57 I will also change the code therefore (the next GfD version will then only support avisynth 2.57 or higher, as otherwise AssumeFPS("ntsc_video") or AssumeFPS("pal_video") would probably crash an older Avisynth version). I will only support/use these two ("ntsc_video" and "pal_video") depending on the project settings, as that's enough for menu creation. I've never had such problems myself, but it is much easier with PAL...

Png problem: I've just created a working menu with your background: http://herajin.psychicvinyl.com/MM1Backg.png without any problems:
:
*creating MM1back.m2v
   INFO: [png2yuv] Parsing & checking input files.
   INFO: [png2yuv] Image dimensions are 720x480
   INFO: [png2yuv] Movie frame rate is:  29.970030 frames/second
   INFO: [png2yuv] Non-interlaced/progressive frames.
   INFO: [png2yuv] Frame size:  720 x 480
   INFO: [png2yuv] Now generating YUV4MPEG stream.
   INFO: [mpeg2enc] Selecting DVD output profile
   INFO: [mpeg2enc] Encoding MPEG-2 video to M:\Volume1\Temp\MM1Backg.m2v
   INFO: [mpeg2enc] Horizontal size: 720 pel
   INFO: [mpeg2enc] Vertical size: 480 pel
   INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
   INFO: [mpeg2enc] Frame rate code:   4 = 30000.0/1001.0 (NTSC VIDEO)
   INFO: [mpeg2enc] Bitrate: 7000 KBit/s

The error in the log file:
10 [main] ? 3016 _dll_crt0: internal error: couldn't determine location of
thread function on stack. Expect signal problems.

is usually due to problems with the cygwin environment. As I'm no cygwin specialist either, I cannot really help you in this case. You can try the new 0.6.13 version of dvdauthor (see post above) which includes a new cygwin version too.

Concerning Qenc:
I've not used Qenc for more than one year now... I think for the next GfD version the same rule applies as for avisynth: The syntax will be adapted and only Qenc 0.71 (or higher if the syntax is not changed) will be supported for the time being.

BUG: No matter how long the loop time...
As written in the docu you are responsible for the correct length of a background animation. The default is a looping menu. And most people will not be pleased if some frames are lost due to a default trim function. Maybe I will include it as an option.

REQUEST1: Let the Intro movie be re-encoded...
No. My intention is not an 'all in one package'. Except menus GfD will not encode anything. If I would allow it for the intro, the next request would be to re-encode the videos too. And than people would complain about aspect ratio problems, sync problems...

REQUEST2: More consistancy on the tree view...
Ok. I will see what can be done without bigger changes in the coding.



maikoherajin posted 2007 Jan 31 09:55
Hello! (:

WISH: Using the crop settings on the animation dialog is not entirely intuitive. To wit: The dialog box says (x1,y1,-x2,-y2). Some people <whistles innocently> might be mislead into thinking they were supposed to enter "x100, y100" for example, which makes avisynth cough and die. A simple bit of code to remove any letters entered into the dialog box would make things a bit simpler.

WISH: Specificly targeted blur. This would be handy as a psudo anti-aliasing. Basically, allow blur settings to only apply to one element on a menu. (text, images, etc). I was able to manually simulate this by editing the avisyth files and adding .blur(1, 1) to the end of the StrTitle = and StrMask = lines for the text, for example. It would be handy to have a checkbox in the text/image/background settings to do this automatically, rather than blurring the entire image.

:
And most people will not be pleased if some frames are lost due to a default trim function. Maybe I will include it as an option.


Perhaps you can have the program add a .trim to the end of the clip itself IF it is longer than the menu time?

Keep up the great work, guy! (:



borax posted 2007 Jan 31 12:03
:
Using the crop settings...

Ok, I will include a check if the values are 'valid' and rise an error message if not.
:
Specifically targeted blur.
Way to complex. I've thought about something similar but as I realized the complexity I simply stopped it...
Your suggestion has the same disadvantage why I skipped this idea:
If you blur the StrTitle layer, the 'text pixels' are 'mixed' with the background, but the background is completely black! If you 'layer' this on a white (or very bright) 'real' background, you get dark pixels around the text... not very nice :(
To do something like this 'properly', it would be necessary to work with 3 temporary images:
1. 100% opaque Text on 100% transparent background (32 bit image with alpha)
2. The 'real' background (24 bit without transparency is sufficient)
3. The 'specifically' blurred target image (32 bit with alpha, starting with all pixels 100% transparent)

Then you need a blur algorithm to mix the text pixels with the background, and set the alpha values at 0% for all text pixels which have already 100% opacity. Then use the pixels from the background mixed with the pixels from the text, and set the alpha values to 0% for all 'concerned' pixels (all other pixels remain 100% transparent). Then you can add this onto the unblurred background. As you may have a video clip as background, this needs to be done for each image of the clip :-x

:
Keep up the great work

THX, I will!



borax posted 2007 Feb 01 09:23
Version 0.99.00.33 (probably the last one before Version 1.00...)

- More consistency on the tree view (at least a little bit)
- Crop settings check
- Optional 'Loop + Trim' for background animation
- Support for NeroCMD version 7
- New function in ChapEditGFD: CreateCropSUP
-- Creates a SUP subtitle file which can be used to 'hide' logos/commercials for 16:9 material which was broadcasted in 4:3 with black borders (of cause only for logos/commercials within those black borders)



lennu posted 2007 Feb 10 12:32
When i am trying to author dvd with animated menus (animated chapter clips), HC fails with: ERROR, Script error. invalid arguments to function "AssumeFPS"

I auto-created those clips with GFM



borax posted 2007 Feb 10 15:50
Which Avisynth version are you using? Five posts above I have mentioned:
...the next GfD version will then only support avisynth 2.57 or higher, as otherwise AssumeFPS... would probably crash an older Avisynth version.



lennu posted 2007 Feb 11 02:39
borax :
Which Avisynth version are you using? Five posts above I have mentioned:
...the next GfD version will then only support avisynth 2.57 or higher, as otherwise AssumeFPS... would probably crash an older Avisynth version.


:oops:
I was using 2.56.

But i have another question. When i create menu with more than one button, for example
:

Subtitle 1
Subtitle 2
None

Main menu

When i activate button (Subtitle 2 for example), then i have no highlight for other buttons eg. I can't navigate.



tin2tin posted 2007 Feb 11 04:00
Hi Borax,

Very nice work!

I've added an export all function to DVD slideshow GUI (m2v + ac3 + ssa + txt(chapters)), and would like to suggest to you to add functions for GFD to automatically look for subtitle and chapterpoint files, as GFD does when it finds ac3 files automatically. (looking for files with the same name and different extentions)

And if possible import the font, size and color from ssa files.

It's amazing how you keep improving GFD - it's really a strong piece of software now!

Have fun,
Tin2tn



borax posted 2007 Feb 11 12:02
@lennu
Avisynth... :)

:
When i create menu with more than one button, for example...

Could you send me the saved project (or attach it as zip)? It's hard to guess what's wrong from outside...
BTW: Could you solve the other problem: Wrong m2v duration (GFD/GFM)?
I would be interested in the used demux program, in order to check the problem myself.

@tin2tin
:
...to automatically look for subtitle and chapterpoint files
I will see... but i.e. for subtitles there are so many extensions, which one should I prefer?
:
import the font, size and color from ssa files.

I have no idea about ssa files, but maybe I can create some with projectx to analyze the format.



lennu posted 2007 Feb 11 12:13
borax :
@lennu
Avisynth... :)

:
When i create menu with more than one button, for example...

Could you send me the saved project (or attach it as zip)? It's hard to guess what's wrong from outside...
BTW: Could you solve the other problem: Wrong m2v duration (GFD/GFM)?
I would be interested in the used demux program, in order to check the problem myself.


I'll send you a private message with links to GFD and muxman project files.
I solved wrong m2v duration with Mpeg2Schnitt087. Initially I used DVDDecrypter to demux files from DVD.



tin2tin posted 2007 Feb 12 04:20
Here an example ssa file:
:

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 384
PlayResY: 288
Timer: 100.0000

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Times New Roman,20,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,100,100,0,0.00,1,2,0,2,20,20,20,1

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,00:00:00.00,00:00:04.00,Default,NTP,0000,0000,0000,!Effect,First subtitle
Dialogue: 0,00:00:05.01,00:00:09.01,Default,NTP,0000,0000,0000,!Effect,Second subtitle
Dialogue: 0,00:00:10.01,00:00:14.01,Default,NTP,0000,0000,0000,!Effect,Third subtitle


Some bugs?

If a submenu(with muxman) with a still background has loop and pause = 0 this error will come up:

:
PGC "TS1SubMenu4" Post command, line 1: Jump/Link/Call target "TS1SubMenu4_cell1" not found


If a submenu(with muxman) with a still background links(action: LinkPGCN TS1SubMenu4) to a menu with pause=inf then the dvd is stopped.

Maybe these problems happens with more than +3 submenus ?

The most difficult part for me is to guess(trial/error) what actions lead to what menus.

By using the screenshot function it's very easy to make transitions as 'animated menus' between menus with DVDsGUI.

Tin2tin



borax posted 2007 Feb 12 05:02
@lennu,
I got the files and had a first look...
I'm very happy, that you have tested such a project!
Because my 'predefined' button actions for MuxMan are not really good...
If you just set a system register:
SetSTN audio=1
without any 'action' (link...) the button turns to 'activated' and the menu 'hangs', as the player doesn't know what to do...
=>For buttons the SetSTN command needs to be combined with any kind of link. This could be a link to the TitleSet1Menu:
LinkPGCN TitleSet1Menu

or a simple 'reload menu' command
LinkPGCN TS1SubMenu1
(in this case the first button is highlighted again)

or a special 'reload menu' command which can automatically highlight the back button (example for your project!):
LinkPGN TS1SubMenu1_pg1, button=6

In the next version, I will update the 'predefined' button actions for MuxMan including the necessary link commands.

@Tin2tin
Same as with lennu:
Could you send me the saved project (or attach it as zip)? It's hard to guess what's wrong from outside...

EDIT:
Maybe I have the answer for this error already:
PGC "TS1SubMenu4" Post command, line 1: Jump/Link/Call target "TS1SubMenu4_cell1" not found

Is your TS1SubMenu4 menu 'empty' (no buttons except the back button)?
In this case the menu is not fully created. This error will be fixed in the next version. To check if that's the problem, just add a button to this menu, give it some action and hide the button.

Concerning the ssa format:
Style: Default, Times New Roman
There is already the first problem... For spumux I need the font file name (.ttf), and I don't know any windows function to get the font file name for a given font name and style.
For the colors: &H00FFFFFF,&H0000FFFF,&H00000000,&H00000000
Which one is what? Background, outline...
And given the value: &H00FFFFFF is this ARGB or RGBA or ABGR...?



tin2tin posted 2007 Feb 12 07:05
About the ssa format then the format line describes the values of the following line. so PrimaryColour, SecondaryColour, OutlineColour, BackColour = ,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,

I don't know too much about this format, just made DVDsGUI copy a header of this format.

:
Maybe I have the answer for this error already:
PGC "TS1SubMenu4" Post command, line 1: Jump/Link/Call target "TS1SubMenu4_cell1" not found

Is your TS1SubMenu4 menu 'empty' (no buttons except the back button)?
In this case the menu is not fully created. This error will be fixed in the next version. To check if that's the problem, just add a button to this menu, give it some action (the same as the one in the post command) and hide the button.


That's fixing that problem.

Another small ting: When adding a new menu the pause info in the pop-up window isn't added to the new menu.

After adding one video to the main menu, and then adding a button I somehow I can't get this button to acces the TitleSet1Menu - what's the correct action?

EDIT: I just found out that the JumpSS vts_1, vts_ttn_1 : RootMenu - action will link to film1 (and not acces titleset1menu) if the TitleSet1Menu doesn't have anything else than the back button.

Tin2tin



borax posted 2007 Feb 12 08:07
:
EDIT: I just found out that the JumpSS vts_1, vts_ttn_1 : RootMenu - action will link to film1 (and not acces titleset1menu) if the TitleSet1Menu doesn't have anything else than the back button.
Yes, but here it is 'intended'. Many people just activate 'use titlesets' but do nothing with the titlesetmenus. In this case GfD doesn't create them (and replaces the button action from 'JumpSS vts_1, vts_ttn_1 : RootMenu' to 'JumpTT TitleSet1_Title1'). I think you use the titleset menu as a 'transition' to something else (other menu/title), but this is of cause not the 'standard' for titleset menus.
=> For Titleset menus I will not change the default which means 'Do not create an empty menu', but I will change the criteria for 'empty': A menu is 'empty' if no buttons except the back button exist AND no post command is defined.

:
... PrimaryColour, SecondaryColour, OutlineColour, BackColour = ,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,

I don't know too much about this format, just made DVDsGUI copy a header of this format.
So what would you expect from GfD???


AlanHK posted 2007 Feb 12 08:54
borax :
Concerning the ssa format:
Style: Default, Times New Roman
There is already the first problem... For spumux I need the font file name (.ttf), and I don't know any windows function to get the font file name for a given font name and style.
For the colors: &H00FFFFFF,&H0000FFFF,&H00000000,&H00000000
Which one is what? Background, outline...
And given the value: &H00FFFFFF is this ARGB or RGBA or ABGR...?


It would be cool if you could have richer subtitle formatting. But I think the effort should go elsewhere. It would be a huge amount of work to support the full SSA formatting.

I use plain text SRTs as input for GfD, but for anything more complex than single font, single colour, I make bitmap SUP files with a subtitle editor.

If you find a plugin substitute for spumax that does it, though, that would be great.



borax posted 2007 Feb 12 09:27
Yes Alan, that's also my opinion. As long as spumux is limited to single font + single colour, it doesn't make much sense to use informations from something like ssa, which has much more formatting possibilities as spumux is capable to support. If someone with enough C knowledge extends spumux to support the ssa formatting possibilities, there is no need to 'infer' this info from GfD, as spumux could read it from the ssa file itself as well.


borax posted 2007 Feb 12 10:15
Update to version 0.99.0035
See first post in this thread



tin2tin posted 2007 Feb 12 13:59
Is there a way to make a new TitleSetMenu without adding a videofile?

I've made a demo DVD with Gui for Muxman, Paint.Net and DVD slideshow GUI.

Get it here. (37,9 MB)

Load the VIDEO_TS/VIDEO_TS.IFO into Media Player Classic to view it.

The 'view one-by-one' is done manually - it's quite tedious. I'm thinking about how to export from DVDsGUI to GUIforMUXMAN in a automatic way(including the subtitles). The grid menu designer is really clever thanks!

Tin2tin



borax posted 2007 Feb 12 15:52
:
Is there a way to make a new TitleSetMenu without adding a videofile?

No, why would you need it?

I will have a look at your demo when I have a fast connection (at work :) )

:
to GUIforMUXMAN in a automatic way(including the subtitles).

For MuxMan only SUP subtitles are supported...



tin2tin posted 2007 Feb 12 15:58
:

:
Is there a way to make a new TitleSetMenu without adding a videofile?


No, why would you need it?


On the demo DVD I use one titel set for gallerys(chapters) and one titelset for one-by-one photo sub menus(link from a button on the main menu(I guess titelsets of other submenus can't be linked from the main menu)). In order to get started a new titelset I had to add a hidden video. When "playing all" these added videos are played too, thats why both slideshows are played twice, when hitting "play all".

Is there a better way?

Do you know any commandline srt to sup or ssa to sup converters?

EDIT: When burning this demo dvd and playing it from a stand alone, I found out that moving from one button to another button in the main menu isn't done logically, and it isn't always the prefered button which is preselected, when comming to a new menu(One-by-one: the next button would be prefered to be pre-selected). Meaning that I'll have to look deeper into these things... has anyone come acrosss a free videoplayer with remote buttons simulation as an alternative to MPC?

EDIT2: It looks like DVDSupEncode.exe will convert MicroDVD subtitles to sup with a commandline.



AlanHK posted 2007 Feb 12 20:12
tin2tin :
Do you know any commandline srt to sup or ssa to sup converters?


If you use the DVDAuthor mode of GfD, rather than Muxman, you can use SRT subs.
Note that it does not support italic codes as some SRTs have.



borax posted 2007 Feb 13 03:28
Nice interesting work...

1. Commandline to sup program:
http://web.quick.cz/FKasparek/Software/DVD/DVDSupTools.htm

2. I don't understand why the moving from 'Photo Gallery Tokyo' jumps to 'View One-ByOne Oxford'... But in order to check this, I would need the project file (.gfd).
[EDIT] I've found the reason... The 'View One-ByOne Oxford' button is 'higher' (y position=365) than the 'View One-ByOne Tokyo' button (y position=367). I know this is not 'obvious', but I've tried a lot of algorithms for the button 'autorouter' and none of them worked 'perfect'. The current algorithm uses the minimum y distance (measured as distance between the bottom of button1 to top of button2) as major criterion. This ensures at least, that all buttons are connected in any way, but it leads to results like this, if the buttons are not 'properly' aligned. Sorry, maybe I find a better solution one day...

3. MPC can be configured to simulate remote buttons for DVD menus, although it is not very 'reliable'. Open the 'Options' in the 'View' menu and select 'Keys'. Scroll down to the 'DVD...' commands and set up your preferred keys + 'Modifiers' (Alt, Ctrl...)

4. Concerning the necessity of an additional titleset...
You could use the following approach:
MainMenu
Play Slideshow (JumpTT TitleSet1_Title1)
Chapters (JumpSS vts_1, vts_ttn_1 : PTT_Menu)
One-By-One (JumpSS vts_1, vts_ttn_1 : RootMenu)

Titleset1Menu
Add the first image
Add a menu (type submenu) for the next One-By-One image (TS1SubMenu1)
Add a 'real' chapter menu (add menu and set the type to Chapter(ptt) ) and hide the button (TS1SubMenu2)
Load the TS1SubMenu2 and design the chapter selection
Load the TS1SubMenu1 and go on with the One-By-One images...



tin2tin posted 2007 Feb 13 05:03
:
3. MPC can be configured to simulate remote buttons for DVD menus, although it is not very 'reliable'. Open the 'Options' in the 'View' menu and select 'Keys'. Scroll down to the 'DVD...' commands and set up your preferred keys + 'Modifiers' (Alt, Ctrl...)


I didn't know thanks!

:
4. Concerning the necessity of an additional titleset...
You could use the following approach:
MainMenu
Play Slideshow (JumpTT TitleSet1_Title1)
Chapters (JumpSS vts_1, vts_ttn_1 : PTT_Menu)
One-By-One (JumpSS vts_1, vts_ttn_1 : RootMenu)

Titleset1Menu
Add the first image
Add a menu (type submenu) for the next One-By-One image (TS1SubMenu1)
Add a 'real' chapter menu (add menu and set the type to Chapter(ptt) ) and hide the button (TS1SubMenu2)
Load the TS1SubMenu2 and design the chapter selection
Load the TS1SubMenu1 and go on with the One-By-One images...


That's a good idear - and maybe even use the Angle menu for the One-by-one(bad name...).

When doing the one-by-ones I'm using the images created at chapterpoints as menu backgrounds. Adding a new "next" button and copy the layout for the next menu... and so on. Is this the simplest way to do these One-by-ones?

I PM'ed you with the project file for the slideshow.

Tin2tin



lennu posted 2007 Feb 13 06:47
borax :

or a special 'reload menu' command which can automatically highlight the back button (example for your project!):
LinkPGN TS1SubMenu1_pg1, button=6



Thanks for the tip. But i have another problem. I have two subtitle streams. Stream nr. 1 is turned on by default (i've checked the autostart box). Now if i choose to display subtitle stream nr. 2 (SetSTN subpicture=2:ON ; LinkPGN TS1SubMenu1_pg1, button=6), yet subtitle stream nr 1 is used.
I it a bug or am i doing something wrong?

And one question more :)
:
button=6

How it starts to count those buttons... from top to bottom?



borax posted 2007 Feb 13 11:12
:
i've checked the autostart box...

'Autostart subtitles' puts a 'SetSTN subpicture=1:ON' in the pre command of the title... It is therefore always used, even if no menu is created at all. If you want to have the control for subtitles yourself, disable autostart. If you want a 'default' which may be reset by the audio/subtitles menu, you need to use a register (like GPRM5) which is set in the pre section of the audio/subtitles menu and then checked in the pre command of the title.
Example:
In the pre command of the title (start the VM command editor from the Video+Audio files dialog) use:
if ( GPRM5 == 1 ) break
SetSTN subpicture=1:ON

In the pre section of the audio/subtitles menu use:
Mov GPRM5, 1


:
How it starts to count those buttons... from top to bottom?
No, not necessarily... The number is according to the order shown in the project explorer (within the 'Buttons' node of the corresponding menu)


lennu posted 2007 Mar 09 10:07
I don't know whether this is the right place, but I think I found a bug in GFD/GFM 1.01.

When i double-click on a button what is linked to TS1SubMenu10 (LinkPGCN TS1SubMenu10), GFM redirects me to TS1SubMenu1.



borax posted 2007 Mar 09 16:34
It is the right place. THX!
Will be fixed in version 1.02.
I'm currently working on 'correct' NTSC timecodes which were ignored so far (drop frame/non drop frame and the strange dvdauthor (nondrop)² frame timing).



Ejorne posted 2007 Apr 14 03:15
Hi Borax,

Thanks for the creation and support of such a nice piece of art GUI...
I think i will use your GUI because i think it's great to make audio-only dvd's.

Therefor i use the muxman engine. i want to create the dvd out of wav files.

But when i use muxman as stand-alone, i can choose a 96/24 wav file. muxman will author that to a dvd. but your qui will not accept 96khz files... is it possible to remove that restriction? then i would be very very happy :D

muxman only will give me a lot of work and/or a dvd without chapter and also without all those beautiful things in your gui like the songnames as tiltle/chapters...

tia

Ejorne



borax posted 2007 Apr 15 05:34
Hi Ejorne,
Thanks for your nice words :D

You are right, this restriction is not necessary. I just forgot to remove it. The simple reason for this: I don't have any 96kHz material. Will be fixed in the next version.



Ejorne posted 2007 Apr 15 06:54
borax :
Hi Ejorne,
Thanks for your nice words :D

You are right, this restriction is not necessary. I just forgot to remove it. The simple reason for this: I don't have any 96kHz material. Will be fixed in the next version.


I look forward to the next version. 8)

I happend to record some (almost all) of my analog source into 24/96. (like lp's, some old tapes and lately some stereo-sacd records) So, i kept heaving problems to put that material on DVD. I was planning to down-sample all my records to 48Khz, but i thought it would be unwise to do that for the quality of those records...

So, I'll just wait for your next version. I have plenty of hdd-space left. And also burned some dvdrw's...

I have also tested to upsample CDDA tracks to 96/24. I don't know how it's possible. (or it's just my imagination) But i think it sounds better than the original cd. Therefor i used the secret rabbit plugin for Foobar. And converted into dvd with muxman.

Maybe it's the way my class-d receiver handled those cdda or 96/24 records thats bringing the different in quality that i think i hear... Because when i look it in the technical way, i can't imaging how a upsample can improve quality. That's not likely. So it shall be my receiver that's causing those difference i think...

So, thank you very much in advance for removing the 96KHz restriction...
:D



borax posted 2007 Apr 17 10:58
New development version...

- 4:3/16:9 Menu aspect ratio may be changed per VTS (Menu-background-dialog for a TitlesetMenuXX)
- 96KHz restriction for wav files removed (Audiotitlesets with MuxMan only)
- BugFix: ChapEditGFD checks if a chapter mark is already defined
- Bufix: If double click on a chapter button, no option was selected -> Crash
- In dvdauthor mode VOB files may be used directly (no rename necessary), and these are checked for the usual problems:
-- Several titles within the vob file (=SCR moves backwards)
-- No sequence header within the first 10kB of the file (=probably the file is only a part of a vobset)
-- No padding bytes at the end of the file a (=probably the file is only a part of a vobset)
-- elementary video file (like from ChapEditGFD)

Download here:
http://www.boraxsoft.de/other/GfDGfM103Test.zip

Remark: Update only! A functioning version 1.02 is necessary.
Overwrite your current GUI_DVDauthor.exe and ChapEditGFD.exe with the new ones from the zip file.



Ejorne posted 2007 Apr 18 04:03
:jump:


Thanks !!!



Ejorne posted 2007 Apr 19 16:28
borax :
New development version...

- 96KHz restriction for wav files removed (Audiotitlesets with


Hi Borax,

I've tested the new version. 96KHz restriction indeed is removed, but unfortunately it's not working properly.

Maybe in program source there still is some property set to 48Khz, or so... Because when a dvd is created, the VIDEO_TS.IFO file is empty. And when i use ifoedit to create a ifo file, it says that the source is 48Khz audio.

Maybe you can have a look at what goes wrong?

Tia,
Ejorne



Ejorne posted 2007 Apr 19 17:55
Sorry, I did not activate the option "automatically accept Video + Audio files" ...
Now it is works great !

:D



borax posted 2007 Apr 20 01:32
Nice to hear that it works... BUT the option "automatically accept Video + Audio files" has no meaning for Audiotitlesets. In fact it only pushes the OK button on the Video + Audio files dialog automatically after 0.3 seconds if you insert a video file(!). Therefore something else must be the cause that it works now (or the other way round, that it didn't work before). Could you please recheck?


Ejorne posted 2007 Apr 21 07:32
I think i know what went wrong...

When it went wrong the first time, i tested it again on a different computer. There also the same problems.

But then i changed some settings, some log files to be created, edit author.xml before dvd-creation, and automatically accept Video + Audio files.

And then it worked good. But i think i know what went wrong. Because i also renamed and moved some background pictures. First they were in a far away directory with long file-names, including caracters like ( ) and '.

I didn't remember i also did that rename and moving of those pictures. So i think the first location and file-names should have caused the problem...

I'll do some oher tests this weekend, i'll let you know when i know more...

Thanks !!!
:D



Ejorne posted 2007 May 02 08:15
Ejorne :
I think i know what went wrong...

I'll do some oher tests this weekend, i'll let you know when i know more...


Sorry, i didn't tested it jet.
Right now i'm bussy testing some cdr media icw EAC.

When i have done some testing i'll let it know.

(but i think it was those file-names that causes those problems, because the second time it worked great...)



borax posted 2007 Sep 04 05:38
New development version (1.04.1)

I'm a little bit tired of updating the docu... But there are some news for GfD:
- Transitions (menus)
- Outline text effect also for buttons (outline is not highlighted)
- Several bug fixes

The transitions functionality is based on tin2tin's suggestions, but it is no 'full automatic'. The use of transition menus should be well planned. As transitions are animations, these are only available if 'animated menus' (and advanced mode) is turned on. Basically a transition menu is just a submenu (either a mainsubmenu or titlesetsubmenu) with a background animation and (at least) a post command (buttons should be formated as 'hidden'). There are four predefined avisynth scripts (fade out/in, dissolve and fade in/out only). You may edit these scripts or use own functions as well.

Download (GUI_DVDauthor.exe only!):
http://www.boraxsoft.de/other/GUI_DVDauthor_104_1_test.zip

A simple step by step example for transitions (one main menu, two movies and a transition from the main menu to each titlesetmenu):
This example assumes a good understanding of the 'usual' working with GfD, i.e. adding and editing menus, movies, pictures...

Step 1
Default Settings (set your output directory); Start action for Titlesets = Show menu; End action for Titles and Titlesets = Titleset menu; Animated menus=on; Advanced=on; Use Titlesets=on; Default Button type=Graphic

Step 2
Add two movies and turn off the 'Animated Button' within the Video + Audio Files dialog for each movie.
Right click on each button (empty black frame) and click on 'Hide'

Step 3
Add two menus: MainSubMenu1 and MainSubMenu2. Add a picture from the movie to each (menu-)button.

Step 4
Open the Menu Background dialog, turn off 'Loop' and set Pause=inf.
That's all for the main menu. You may add additional texts, pictures... as you like

Step 5
Open the MainSubMenu1
Right click on the back button and click 'Hide'
Open the Menu Background dialog, turn off 'Loop' and set Pause=0. Select 'jump titleset 1 menu;' as Post action.
Turn on 'Transition' and click on 'Transition Script Editor'
The 'From Menu' and 'To Menu' entries should be ok already (From Menu=MainMenu and To Menu=TitleSet1Menu)
Duration (seconds)=3
Select Dissolve as Transition Function
Click on 'Calculate Script' and close this dialog with ok. Close the Menu Background dialog with ok too.

Step 6
Open the MainSubMenu2
Use the same steps as described in Step 5 for the MainSubMenu2, but use 'jump titleset 2 menu;' as Post action.
Within the 'Transition Script Editor' the 'To Menu' should be MainSubMenu2 of cause.

Step 7
Open the TitleSet1Menu and design the chapters menu. Do the same for TitleSet2Menu.

Ready!.

Remark:
If you want a preview for the transition menus, it is necessary that GfD renders all the other menus (the 'From' and 'To' menus) in advance. This can be done by running 'Create batch'. After 'Create batch' is finished, you may open the MainSubMenu1 or MainSubMenu2, activate 'AVS' and click on 'Preview'.



tin2tin posted 2007 Sep 07 03:34
Just a copuple of thoughts after trying your fine addition of transitions to GFD. :)

Maybe it's more logic if you can either use a predefined transition(with the combo boxes options) or 'Edit script'. Meaning if your are starting by using the predefined options, the script editor is dissabled until you hit Calculate script(or Edit script?), then the predefined options should be dissabled and the script editor be enabled. If you want to go back and use the predefined options maybe a 'Delete script' button could be added which will disable(and delete) the script editor and enable the predefined.

This way the coding-scared people never had to look at code and you would know if it is the predefined options or the script which should be used for the transition.

(That would of course mean that the predefined options could be saved in the .gfd file - and I could add transitions to DSG exported .gfd file :) )

Actually it is possible to preview the transition now(without the 'Create batch' route) by making a avs-preview of a menu with a transition. :) (EDIT: Oh that's only when going from/to still menus - and not between animated menus, right?)

Another minor thing: if Pause=inf then 'Loop' could be turned off automatically and disabled. I allways end up changing it the wrong way and get stuck with the warning.

Maybe a path could be added under presets for a transition folder with predefined transitions?

Anyway, again and again I'm surprised how advanced GFD really is and how well it works - it is an absolutely great gift you're giving people here. Thanks!!



peca posted 2007 Oct 11 13:51
Hi, I'm using this software, but I have problem with font and generating text. I am Czech and my codepage is windowns 1250 (cp1250). When I set font, in dialog "Edit Button" is text ok, but in work desktop and target generating is bad - some letters with diacritic are wrong - probably it using a different internal setting of font. I attach screenshot.

P.S.: Sorry for my english, but I'm not good at it :)




borax posted 2007 Oct 22 07:26
Sorry for my late answer... I'm busy at work (real life) ATM

Unfortunately I've no idea how to change this strange 'behavior'. The 'Edit' window uses the VB-control 'Text' (as it is necessary to have the possibility to 'change' it) whereas the menu uses the VB-control 'Label' (without the 'change' possibility). I don't know why Microsoft uses different fonts/codepages for this two controls, but it is obvious. Maybe you can find out which char is 'replaced' by which other and enter/edit it 'by hand' to get the correct char in the menu. I will try to create a simple test application to get something like a conversion table. Then we can have a deeper look for this problem. Maybe I can also try a different control for the edit box (a richtext control), but I cannot change the 'Label' control, as this would require to change about 15% of the whole GfD source code...



peca posted 2007 Oct 23 16:45
Hi,
unfortunately I have not Visual Basic, so I cannot try it, but why in font dialog is combobox "Skript" disabled?

Is any options in Label for setting Skript?

According to this web page - http://www.example-code.com/vb/vbUnicode1.asp - VB convert unicode do ANSI ("Use the default charset for this computer" - for me it is windows-1250) automatically, so I don't know where is problem.



borax posted 2007 Oct 24 16:32
...Is any options in Label for setting Skript?
No.

...I don't know where is problem.
I don't know it either.
But maybe we can find a workaround. As mentioned above, I'm just to busy ATM.



GeorgeRYoung posted 2007 Dec 12 13:03
Preface - this applies to an NTSC environment

ChapEditGFD from the 1.04 package seems to have a problem on a video clip extracted via Mpeg2Schnitt.

For example, I grab a 7695 frame chunk which is 4 min. 16 sec worth in NTSC (30 fps) land.

When I load it into ChapEditGFD, the duration is indicated as 5min. 5sec meaning, I think, that ChapEditGFD is assuming a PAL (25 fps) environment. The output chapter file is given in hh:mm:ss:ms format. When this file is imported into GUIforDVDAuthor set to NTSC, the chapter times are not correct.

If this is the case, it might be desirable to have a PAL/NTSC setting on ChapEditGFD. Another approach would be to have the output file in 'frame count' format, like Mpeg2Schnitt's file.kap, which imports happily into GFD.



politiken posted 2008 Jan 19 07:56
Hi - A suggestion:
As GFD makes MuxMan selectable for DVD creation - ChapEditGfd should make saving chapter marks in frames format possible, as well as currently in time format.



borax posted 2008 Mar 03 05:18
Sorry for the late answer, but I'm a little bit 'tired' of GfD ATM...

:
ChapEditGFD from the 1.04 package seems to have a problem on a video clip extracted via Mpeg2Schnitt. For example, I grab a 7695 frame chunk which is 4 min. 16 sec worth in NTSC (30 fps) land.
When I load it into ChapEditGFD, the duration is indicated as 5min. 5sec

ChapEditGFD as well as GfD itself grab the format (PAL/NTSC) from the fps setting found in the first GOP header of the mpeg file (muxed or elementary). If fps is 25 PAL is assumed, for 29.97 NTSC is assumed. According to the DVD spec, these are the only allowed fps settings. The duration is calculated from the difference between the timecodes from the first GOP header and the last GOP header. If these timecodes do not fit to the frames, I can't do anything. The only way out would be to count each frame in the mpeg file, but this would take a very long time (same or a little bit more as Mpeg2Schnitt takes to create the index file if you open a stream the first time). And for streams with pulldown flags, frames alone are not a good timing indicator, as some frames have a longer 'duration' as 'normal' frames (BTW: Mpeg2Schnitt cannot handle these streams correctly either).
That's why I use the timecodes in the GOP headers (also for the chapter marks only these timecodes are used).
So check the fps setting and the timecodes in the GOP headers. Maybe these have to be corrected.
@politiken
As GfD creates a MuxMan control file (muxman.mxp) itself, saving chapter marks in frames format would not help anything as in the control file only 'real' timecodes (format hh::mm:ss:ff) are accepted by MuxMan. Just the MuxMan GUI wants to have frames and calculates the timecodes itself.

@All
Here is the newest development version:
http://www.boraxsoft.de/other/GUI_DVDauthor_104_4_test.zip
(includes an updated version of sup2png and GUI_DVDauthor.exe)

Bugfixes/news
- You can turn of the NTSC timecode correction (drop frame/non drop frame) for dvdauthor (Settings: Intern)
- Sometimes sup2png has created subs with 'negative duration'
- For the transitions there is a 'special' variable used now for the temp directory: |TempDir| which is replaced during menu creation by the 'real' temporary directory as configured in the project settings. This makes it possible to 'reuse' transition scripts if other Out/Temp directories are used. The names for the menu files are 'predictable''.



borax posted 2008 Jun 04 06:15
I've added support for sst subtitle files created by MaestroSBT (muxman mode only).
After I found this thread: http://forum.videohelp.com/topic339258.html , I thought it could be helpful...

To use sst subtitle files from MaestroSBT, select muxman as engine in the permanent settings, add the sst file in the video + audio files dialog as usual (same as for sup) AND also use the sst file as palette for the color info (same as an ifo or rgb palette file). If you use several sst files, these must share the same colors, as only one palette is possible for a given movie.

See also: http://download.videohelp.com/gfd/Help/VideoFileDialog.html#Subtitles
(This docu is NOT YET updated for the sst support, but the general procedures have not changed. Just use the same sst file as subtitle AND palette file).


Download here:
http://www.boraxsoft.de/other/GUI_DVDauthor_104_5_test.zip



tin2tin posted 2008 Jun 04 09:44
Just tested sst. And the result is excellent looking subtitles in GFD. :)

It looks like it's only the two first colours which have an effect on the subtitles(for me). First = colour of text Sec. = outline.

(Btw. previewing the video clip(alone in GFDSView)the subtitles comes out wrong. But that's proberly allready on your to do list. :) )



borax posted 2008 Jun 05 05:34
...It looks like it's only the two first colours which have an effect on the subtitles(for me). First = colour of text Sec. = outline.
I don't really know. It is muxman's task :D
...previewing the video clip(alone in GFDSView)the subtitles comes out wrong...
I don't understand. GFDSView doesn't support subtitles at all!?
At least I haven't programmed anything for it...



tin2tin posted 2008 Jun 05 05:59
:
...previewing the video clip(alone in GFDSView)the subtitles comes out wrong...
I don't understand. GFDSView doesn't support subtitles at all!?


If I right click on the video in the listview it does show subtitles(wrong - for me), but it may be ffdshow adding subtitles - dunno - not a big problem - the most important thing is that they come out right when authoring.

(I guess I'll have to change ssa 4+ format to ssa 4 - in DSG - Maestro will not accept 4+ format - the difference is the way the colour is written.)



tin2tin posted 2008 Sep 03 03:06
Now I long forgotten how I did the ssa -> sst conversion for succesfull usage in GFM.

In MaestroSBT I change the render to "Windows BMP 4-bits" and export to sst.

When adding this file to GFM the BatchRun Log says:
:
SPU error, C:\Programmer\DVD slideshow GUI\Test\\BratNr_0001.bmp, encoded line exceeds 1440 bits.

And the the subtitles are not selectable when viewing the resulting slideshow.

If I add the same sst to Muxman directly it renders without any problems as selectable subtitles.

Any idears?

[EDIT: Right after posting this I noticed in MaestroSBT/Render/Screen and bitmap size/Minus 3 was checked - and it shouldn't be. Now it works.]



GFDuser posted 2009 Jan 19 00:20
Hi, Is there anyway to add more than 3 subtitles to each video in GfD without manually creating spu*.xml files and editing batchrun0 and author.xml? Thanks.


borax posted 2009 Jan 19 03:50
Hi GFDuser,

welcome on board!

:
...without manually creating spu*.xml files and editing batchrun0 and author.xml?

Yes, but not a 'full automatic' (the video and audio files dialog in GfD has support for 3 subtitles max - most users use just one or none). Actually there is no big difference compared with manually creating spu*.xml files and editing batchrun0...
If dvdauthor is used as authoring engine, you can use a 'two step' approach:
1. Use elementary streams and add the first 3 subtitle streams. Don't create any menus and other elements yet. Run 'Create batch' and manually run the batchrun0.
2. Use the resulting xxxx_SUB2.mpg as input file in GfD and add the next subtitle stream(s) using the 'AddStream' option (with a '3' as you already have 3 streams)

If you use MuxMan as authoring engine, just activate the 'Edit author.xml file before DVD creation process' option and edit the mxp file to include the additional subtitle streams (just copy the part: 'Item=Sub-Picture Stream' {....}), changing the Stream Number=X, Language=yy and File=zzz.sup) for each video where you need more than 3 subtitle streams.



GFDuser posted 2009 Jan 19 08:46
Thank you very much for your response, I appreciate it. I will give this a shot.


GFDuser posted 2009 Jan 19 09:55
Hi, I was thinking of using the two steps you suggested before I posted my intial question, but I have everything built off of program streams for all my projects.

As far as muxman, I am seeing that I cant use my existing project/MPEG files. I was hoping to use my existing project files in all of this as I have about 90, each of which contain a minimum of 4 and a maximum of 12 titles. I also have found that DVDAuthorGUI allows for the creation of 8 subtitle streams but their frontend is horrible and too limited. I like writing VBS, so I guess I could get started on that, which will auto edit the two files created from GfD. If I get it working OK (if it is even practical), I will post the script for those looking to add more than 3 subtitles. Thanks for your help Borax. Also I don’t fully understand how GNU works (I just know its free) but if it is appropriate, please let me know where I could donate to help support GfD, if donations arent approriate, then thank you so much anyways, GfD is great!



tvholic posted 2009 Apr 15 00:17
Revisiting a topic that was discussed here a while back, of setting the highlighted menu button back to the previously-selected item when the menu is re-displayed. I had suggested using this menu Pre command (for dvdauthor):

:
if (g1 eq 0) g1=1; button=s4*1024;


Well, what that really does is set the highlight to the title which was last playing, which isn't necessarily the same thing if there had been a jump to a different title without going through the menu. To actually set the highlight back to the previously-selected button, you can do this:

:
if (g1 eq 0) g1=1; button=s8;


For MuxMan, the Pre command to set the highlight to the last-playing title would be:

:
Mov GPRM0, SPRM4
Mul GPRM0, 1024
SetHL_BTNN HL_BTNN=GPRM0
Mov GPRM0, 1


And to set the highlight to the previously-highlighted button:

:
Mov GPRM0, SPRM8
SetHL_BTNN HL_BTNN=GPRM0
Mov GPRM0, 1


System register 4 holds the value of the last-playing title (1, 2, 3, etc), and register 8 holds the value of the last-highlighted button number multiplied by 1024 (1024, 2048, 3072, etc). Note that when using the MuxMan SetHL_BTNN command, if the specified value is an integer it is the actual button number, but if it's a register value (like GPRM0) it is the button number multiplied by 1024. Which had me pretty confused for a while.

Of course, restoring the last-selected button number isn't useful after navigating back through multiple levels of menus.




Login/Register to our forum to be able to post here.








DVDFab DVD to DVD and Blu-ray to Blu-ray offers a 20% discount until Nov 22, 2009. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics