PDA

View Full Version : DGMPGDec 1.1.0 Final


neuron2
18th January 2005, 04:16
http://neuron2.net/fixd2v/decodefix.html

EDIT: 1.1.0 is now final.

Cyberia
18th January 2005, 04:39
Don, this is just a cosmetic issue:

A number of the popup message boxes DGIndex produces have the default icon in the upper left corner.

A few of the message boxes have no icon. Try loading an avi and look at the message box that appears. Now try loading a JPG file and look at that message box.

Originally I though they should all have the DGIndex icon, but now I believe they should have no icon. That is consistent with most message boxes I think. Do what you want, but they should all be consistent.

You should check all the messagebox API calls, cause they all appear to be affected, not just the file open messages. (eg: Project Successful is also affected)

Besides this, it looks good.

EDIT: Originally I said it was DGDecode message boxes, I meant DGIndex messages. I fixed the post.

neuron2
18th January 2005, 05:19
You know, I just spent 45 minutes trying to find a way to control those title bar icons for MessageBox dialogs! I failed miserably. If anyone knows a way...

Cyberia
18th January 2005, 05:29
Well, whats different about the two calls I mentioned? One has the icon and one doesn't.

neuron2
18th January 2005, 06:10
Originally posted by Cyberia
Well, whats different about the two calls I mentioned? One has the icon and one doesn't. Well, now that is a very good question. And I am glad you asked! :devil:

After I got over the shock of being asked to load JPEGs, etc., I did in fact notice that one did not have the icon. I compared the calls and it is totally undocumented, but it seems that if you apply the property MB_SYSTEMMODAL, the icon shows up. So I deleted them all. There should be no icons on any popups in RC2.

Thanks for persisting in this.

Cyberia
18th January 2005, 07:22
I'm gonna figure out the scrollbar enabling issue too...

But don't hold up the release for that.

neuron2
18th January 2005, 07:28
I know how to do it, but I'd rather spend my time coding useful things.

Wilbert
18th January 2005, 09:56
Please beat up on this. After this gets released, I'm going to look at trackbar handling, multiple selections, cutting, etc. That would seem like the biggest bang for the buck as far as new features is concerned.
Don't forget aac demuxing :)

neuron2
18th January 2005, 15:07
Originally posted by Wilbert
Don't forget aac demuxing :) Can you supply me with a file containing AAC for testing?

len0x
18th January 2005, 16:56
I tested that CLI behaviour - works ok, but when -Exit is not specified the error message is rather puzzling: "Couldn't write D2V file. Is it read only?" :) Second part of the error message can be omitted IMHO.

Wilbert
18th January 2005, 20:50
Can you supply me with a file containing AAC for testing?
http://bbsrv.imp.leidenuniv.nl/~wilbert/JB_aac.ts

neuron2
18th January 2005, 23:42
Originally posted by Wilbert
http://bbsrv.imp.leidenuniv.nl/~wilbert/JB_aac.ts Thanks, Wibert.

Umm, any idea how to demux this stuff? Any specs? Any sample code?

Wilbert
18th January 2005, 23:54
dvd2avi_aac by timecop: http://pbx.mine.nu/dvd2avi/

should contain enough sample code :)

neuron2
19th January 2005, 00:00
Originally posted by Wilbert
dvd2avi_aac by timecop: http://pbx.mine.nu/dvd2avi/

should contain enough sample code :) Ideal! :D

Cyberia
20th January 2005, 19:14
Could change the default location of the Windows File Save dialog to open to the same folder as where we loaded the VOBs?

In other words, if I open a vob, then when it comes time to save a project, point the Save dialog to that directory first. I can't think of an easy way to say this.

EDIT: Dang, and I speak English natively. OK, pretend I didn't type all that, and instead suggested this: I propose changing the default directory for the Windows Save File dialog (seen when saving a project) to refer to the location of the last VOB opened.

suspiciousBob
20th January 2005, 20:30
Like Cyberia, I would also like DGIndex to default to save the .d2v file in the dir that the vobs came from.

neuron2
21st January 2005, 02:53
I thought it already works that way. It does for me.

Cyberia
21st January 2005, 03:40
hmmmmmm. I tried this at work and it did not work. At home, it works like it should.

Perhaps I was not using RC1 at work. I'll let you know.

neuron2
21st January 2005, 04:45
Here is RC2:

http://neuron2.net/fixd2v/dgmpgdec110rc2.zip

* Message popups now have no icon in the title bar.
* The audio delay calculation for transport files is now correct and reliable.
* Added even more bullet-proofing for loading silly files (with sarcastic error message).

I'd like to make a full release of this as long as no big problems are found.

Cyberia
21st January 2005, 06:05
Don, if you drag and drop a vob, the default save location for the project is the last save directory, not the vob directory.

If you use File Open... then it works right.

TEB
21st January 2005, 12:33
@Neuron.. It works like a charm.. Very stable..

I have some small requests tho.. prolly stupid but nevertheless.

1. If one load a TS and by mistake one hit F5, the app bombs.. Works fine if u define the pids tho. Could u pop up a message tell us : Stop u idiot.. select the pids or something :) Or even better just use the first Videopid from what u find in the PMT and the first Audiopid as default.. and let the user reselect if he wants something else..

2. During preview, could one add a line in the infobox displaying:
*Framesize eg. 1280x720.. 720x576 eg..
*Mpeg Profile, mp@ml, hl@hp and so on.
*Frametype: regardles of it being interlaced or progressive (field or framebased encoded content)

keep up the splendid work :=)

neuron2
21st January 2005, 14:05
@TEB

Regarding 1: It doesn't bomb for me, it pops up the "no data" warning telling you to check your PIDs. Isn't that happening for you?

TEB
21st January 2005, 14:33
Neuron. on my pc (p4 2,8ghz, 1gb ram winxpsp2eng) it just hangs and i have to kill it.. try with the sw.mpg file u got..

neuron2
21st January 2005, 14:54
Oh, if you hit F5 *before* the "no data" warning pops up, it hangs. OK, I'll address it.

neuron2
21st January 2005, 15:13
Originally posted by TEB
2. During preview, could one add a line in the infobox displaying:
*Framesize eg. 1280x720.. 720x576 eg..
*Mpeg Profile, mp@ml, hl@hp and so on.
*Frametype: regardles of it being interlaced or progressive (field or framebased encoded content) Done.

Will fix the hanging issue for 1.1.0 release. Thank you for your feedback.

Cyberia
21st January 2005, 15:45
More info in the Information panel is also a list item. I have been thinking about this some, and I think the Information panel should mirror Info() as much as possible. IMHO, the panel need rearranged and rebuilt.

Certainly not worth holding up this release for that tho...

@neuron2 - Did you see my save location thingy?

neuron2
25th January 2005, 04:08
Version 1.1.0 released while Doom9 was offline. You can find it at my web site.

Also, there is a 1.2.0b2 here:

http://neuron2.net/misc/dgmpgdec120b2.zip

It adds AAC audio demultiplexing from transport streams and PVA support. There is a separate thread for the PVA feedback. Please use that.

@Cyberia

Yes, I saw your thingie. :eek: It's fixed in 1.1.0.

neuron2
26th January 2005, 08:13
OMG, I can't believe how hard it was to fix the trackbar. :eek:

In the process I stomped a bushelbasket full of bugs. In my beta which I will put up shortly, the slider does not jump around with a mind of its own like before, the granularity has been improved by a factor of 15 (giving much better freedom for selection, and the right end wrap-around problem has been fixed. I made a lot of changes so I want to beat on it a little bit privately before I put it out there.

Cyberia
26th January 2005, 17:51
Can't wait. :D

Let us know when you've exhausted yourself and can no longer "beat on it a little bit privately" :devil:

GZZ
26th January 2005, 18:18
Is it possible to make an option for the CLI part, so DGindex can be round in the back ground, not just minimized, but total gone...Just like Delaycut, it don't even show up, when using CLI...Its pretty nice, if you use it in an automatic script and don't want it to 'popup' all the time...


GZZ

Cyberia
26th January 2005, 18:19
Originally posted by GZZ
Is it possible to make an option for the CLI part, so DGindex can be round in the back ground, not just minimized, but total gone...Just like Delaycut, it don't even show up, when using CLI...Its pretty nice, if you use it in an automatic script and don't want it to 'popup' all the time...


GZZ

It was already on the list. But thanks for the suggestion.

hippoth
26th January 2005, 19:21
I miss the "Autoincrement Open" function...why did you remove it?

Cyberia
26th January 2005, 19:48
It's not necessary anymore. You can multi-select from the open dialog, or.... you can drag-and-drop a whole pile of files directly into the GUI.

hippoth
26th January 2005, 20:09
Originally posted by Cyberia
It's not necessary anymore. You can multi-select from the open dialog, or.... you can drag-and-drop a whole pile of files directly into the GUI.
I have noticed this...but itīs also a question of consuetude ;)

Cyberia
26th January 2005, 21:14
Originally posted by hippoth
I have noticed this...but itīs also a question of consuetude ;)
Consuetude (http://www.bartleby.com/61/25/C0592500.html)

Well, there you have it, I learned a new word today.

That said, nothing is constant but change.

b0b0b0b
27th January 2005, 05:13
neuron2, thanks for your continued work on this program.

Also, consuetude.. nice word

hippoth
27th January 2005, 09:24
Originally posted by Cyberia
Consuetude (http://www.bartleby.com/61/25/C0592500.html)

Well, there you have it, I learned a new word today.
Iīve just looked into my dictionary :D

len0x
28th January 2005, 11:42
That CLI fix that I requested (to respect -Exit option) came back to bite me :) DGIndex used to behave like this: if you start it from CLI then you restore it from the taskbar and press Esc - it used to stop and you were able to do misc operations (like selecting subset of video). Now it exits straight away :( Is there a possibility of not quitting when user aborts saving process in GUI (even if -Exit was specified)?

neuron2
28th January 2005, 14:22
Due to the situation with adware/spyware, I am no longer considering specific requests in support of AutoGK.

len0x
28th January 2005, 15:26
I totally understand.