PDA

View Full Version : VIDChanger and menus


2COOL
6th September 2004, 04:51
@jsoto

Though VIDChanger was first concieved and discussed in the Development (http://forum.doom9.org/showthread.php?s=&threadid=72309&highlight=vidchanger) forum, I feel that is should be talked about it here in the IFO/VOB Editors now. VIDChanger is a small and powerful tool when used specifically for it's purpose. That is to change the VOB and Cell IDs in the VOBs and IFOs. So far, VIDChanger can only work with movie VOBs and not menu VOBs. :( I have ran into tight spots where I needed to change my menu IDs so that each menu has it's own unique VOB ID. This is in cases that a single Menu PGC containing different menus but one VOB ID.

I know that you have put more priority with VOBBlanker but using VIDChanger would be faster because I was only working on a VTS instead of the whole DVD.

We have discussed this in a PM but I really want to see if other people here would add more support to my request that VIDChanger work with menus also. It would make it true to its name. In addition, I have a small request for a "create new folder" button in destination folder dialog.

Thanks for your consideration.

jsoto
6th September 2004, 20:11
Yes, I'm working on VobBlanker, but seems it will take a minimum of a couple of weeks to finish something with menus.

The VIDChanger improvement you are asking for seems to be easier and shorter to code. IŽll look into it, and if it is really easier, IŽll put it before in my TODO list.

I have a small request for a "create new folder" button in destination folder dialog. OK. To be done.

jsoto

2COOL
6th September 2004, 20:45
Thanks for the positive reply! :) And to answer your PM here, this is what I removed in your VOBBlanker thread. I thought it was going off topic in that thread so I wanted to emphasize it more in its own thread. ;)

r0lZ
6th September 2004, 22:48
Verry good suggestion, 2COOL!
Thanks in advance, jsoto, for implementing it!

jsoto
7th September 2004, 22:15
Please check if the features of this exe are enough. (I'm sure you will ask for more improvements). This is the maximum I can do in one day, please excuse me because it is practically untested, but to see how it works, I hope it's OK.

EDIT:
Deleted the link, because the last version is available on my sites (see signature)

jsoto

2COOL
8th September 2004, 05:23
It works like a charm! You did good jsoto! :D Thank you!

I'm sure you will ask for more improvements Do you really need more? OK, just a few. :p

1. What I do is select input IFO first and it gives me the last folder I browsed too. Can you get the output folder to be at the same browsed folder at least my C:/ directory? I always get my Desktop as my root folder.

2. It's great now that I have a "New folder" button. Since I have been using the same temp output folder, would it be possible for you to prompt the user that the destination folder is not empty and that if we have an option to cancel or delete/overwrite files?

EDIT: Hmmm...maybe a bad idea. I might have more than one Titleset in the folder. :(

3. [Optional]Maybe an option to change the IDs in both the menus and Titles in one whole process?

EDIT: Bug? When I abort, the Process button is still disabled afterwards. I have to exit and run VIDChanger again.

jsoto
8th September 2004, 09:58
1. What I do is select input IFO first and it gives me the last folder I browsed too. Can you get the output folder to be at the same browsed folder at least my C:/ directory? I always get my Desktop as my root folder.
Yeah. It's something I have in mind every time I've use the browse folder procedure. I have to learn how to do it, but seems easy.

2. It's great now that I have a "New folder" button. Since I have been using the same temp output folder, would it be possible for you to prompt the user that the destination folder is not empty and that if we have an option to cancel or delete/overwrite files?
Seems easy.
EDIT: May be I can check only the VTS specific files.

3. [Optional]Maybe an option to change the IDs in both the menus and Titles in one whole process?Not sure...

BTW, I forgot to update the CLI mode description. Simply add "-menu" to the command line in both modes described in Readme. (I still have to test it).

jsoto

jsoto
9th September 2004, 00:12
1. What I do is select input IFO first and it gives me the last folder I browsed too. Can you get the output folder to be at the same browsed folder at least my C:/ directory? I always get my Desktop as my root folder.Done. To avoid a ini file, the first time C:\ is selected. Next times the selected folder is the starting point.

2. It's great now that I have a "New folder" button. Since I have been using the same temp output folder, would it be possible for you to prompt the user that the destination folder is not empty and that if we have an option to cancel or delete/overwrite files?Done. Checks the specific IFO and VOB files, so you can have other VTSs in the same folder

EDIT: Bug? When I abort, the Process button is still disabled afterwards. I have to exit and run VIDChanger again. Changed in full processing mode, but not in Single Cell mode (Aborting on single cell mode will produce a corrupted VOB...)

Released 1201 (exe and src) on my sites.

jsoto

2COOL
10th September 2004, 00:17
@jsoto

Well done again! Testing went well so far. Thanks! :D

DMagic1
10th September 2004, 04:31
Wow, another great tool.:D
What happened to the link?

2COOL
10th September 2004, 04:43
@DMagic1

Click on the links in jsoto's signature block. ;)

2COOL
24th September 2004, 04:37
@jsoto

How about an option to have a log of changes?

jsoto
24th September 2004, 09:26
It's already supported. Well, may be I should put a checkbox in the GUI.... In the meantime you can activate the log executing

"VIDchanger -log"

This is the output file name

csOutputLOG=m_csOutputPath+'\\\'+"VIDChanger_log.txt";

and , for each cell, one row will be written

fprintf (m_Fout," Old %02d/%02d ---> New %02d/%02d \n",


Do you need something more in the log?

jsoto

r0lZ
24th September 2004, 10:17
Good thing, the CLI support. However, the app is running in the background, even if launched from a DOS prompt, or a batch file. This behavior prohibits using VIDChanger as a part of an automatic procedure...

BTW, the required VOBBlanker's INI argument 'nIFOs' is also annoying. Is it possible to look yourself in the directory or in VIDEO_TS.IFO to find this value?

It would be great if one can configure your programs in the tool menu of PgcEdit... ;)

jsoto
24th September 2004, 16:59
the app is running in the background This is intentional! :confused: Do you really want to see the dialog popping up?
the required VOBBlanker's INI argument 'nIFOs' is also annoying. Is it possible to look yourself in the directory or in VIDEO_TS.IFO to find this value? Yes, I can. I'm currently using this value only to check with the one I read..

if (nIFOs != m_nIFOs )
{
MyErrorBox("Number of IFOs does not match. Aborting.");
return false;
}


jsoto

r0lZ
24th September 2004, 17:07
the app is running in the background I mean it detach itself from the DOS Prompt or batch. The next batch command is therefore executed before VIDChanger has finished his job.


I'm currently using this value only to check with the one I read..Why?

jsoto
24th September 2004, 17:29
I mean it detach itself from the DOS Prompt or batch I see... But I do not know how to avoid it. Only in a console app ...

Why? No specific reason. At the beginning I was checking a lot of parameters and this one still remains. I'll delete the check if the parameter is not there, so it will not be mandatory anymore.

jsoto

2COOL
31st October 2004, 23:49
I came across a minor discrepancy. I was in Fix Cell Id mode and noticed that my Number of Vobs (should be renamed as last VOB Id) has increased by 1 afterwards. In my VTS_C_ADT table below, I should've gotten 6.

http://img66.exs.cx/img66/8358/Image_006.png

jsoto
1st November 2004, 00:44
I'll fix this. Seems I've stored the already incremented counter.
jsoto

jsoto
1st November 2004, 19:09
Fixed in 1.2.0.2. Available in my sites

jsoto
PS:I'm having problems to upload files to iespana.es. In the meantime, please use posunplugged.com
EDIT: Uploaded. /EDIT

2COOL
2nd November 2004, 02:42
Thanks!

Originally posted by jsoto
It's already supported. Well, may be I should put a checkbox in the GUI.... I just briefly tried it out and I didn't see it.

jsoto
2nd November 2004, 10:36
@2COOL
I didn't do anything about this, because I had forgotten it. I'll do something in a couple of days...
jsoto

jsoto
2nd November 2004, 23:47
Vers 1.2.0.3 (02-11-2004)
Added: Popup log window at the end of Full VOB processing
Improved: Input and output folder coincidence check

There is no checkbox in the GUI, the window pops up just at the end of the process.

jsoto

PS: If you want more or different info in the log, let me know.

2COOL
3rd November 2004, 19:01
CC

2COOL
13th January 2005, 20:31
I was just reading my first very post and VidChanger came into mind. I posted exactly on my 5th day after registering. I was a newbie then and I'm still one now. :p

Where was jsoto back then?

http://forum.doom9.org/showthread.php?s=&postid=204130#post204130

jsoto
13th January 2005, 21:53
I waited more than one month before decide posting...
http://forum.doom9.org/showthread.php?s=&postid=233637#post233637

jsoto

blutach
13th January 2005, 22:30
Originally posted by 2COOL
I was just reading my first very post and VidChanger came into mind. I posted exactly after the 5th day after registering. I was a newbie then and I'm still one now. :p You sure post a lot for a newbie :p :p (so do I)

Regards