Log in

View Full Version : DGMPGDec 1.5.7


Pages : 1 [2]

Guest
30th January 2010, 18:06
Would it be possible to put the source on your webpage? I'll try to do it this weekend. Was there something specific you wanted to add or test?

Wilbert
30th January 2010, 18:15
I'll try to do it this weekend. Was there something specific you wanted to add or test?
Nope, i don't have any specifics. I'm going to send a new package to WarpEnterprises one of these days.

The Scientist
18th February 2010, 21:35
I wonder, and am hoping, if you could help with a behavioural problem that I've noticed with DGIndex when run via the CLI. When DGIndex is called to do an operation, it takes focus away (from currently active window or application), and keeps it until indexing is complete, then it returns (or sooner if you click back in your window/application).

Normally this doesn’t appear to be that much of a problem but becomes very evident if you’re doing a few indexing jobs, maybe a batch script, especially smaller ones, like some DVD ‘extras’. What happens is the calling application, or in fact, any application that currently has focus will appear to ‘flash’ because of the starting and ending of the indexing.

This example I used shows a perfect example:
DGIndex.exe -ai "C:\[SAMPLES-EXTRAS]\VTS_06_1.VOB" -o "C:\[SAMPLES-EXTRAS]\VTS_06_1" -fo 0 -om 2 -at -hide -exit
DGIndex.exe -ai "C:\[SAMPLES-EXTRAS]\VTS_07_1.VOB" -o "C:\[SAMPLES-EXTRAS]\VTS_07_1" -fo 0 -om 2 -at -hide -exit
DGIndex.exe -ai "C:\[SAMPLES-EXTRAS]\VTS_09_1.VOB" -o "C:\[SAMPLES-EXTRAS]\VTS_09_1" -fo 0 -om 2 -at -hide -exit
DGIndex.exe -ai "C:\[SAMPLES-EXTRAS]\VTS_10_1.VOB" -o "C:\[SAMPLES-EXTRAS]\VTS_10_1" -fo 0 -om 2 -at -hide -exit

If you were to put the above in a ‘bat’ file with the paths|names changed to your VOBs (the examples above that I used are quite small VOBs (<100MB) to show what I am referring to easier) and open a command prompt and run the ‘bat’ file you’ll see the focus OFF|ON that I am referring too and it will pull focus away from whatever application you currently have active, then return it after indexing, so above example will do each focus OFF|ON four times.

I went to your website (neuron2), downloaded the sources for the one from last version, but although I can grasp some of it, I don’t know C/C++, don’t know what I was trying to do, maybe to see if I could alter any window refresh or anything to do with something that display then hides your main window, I don’t know, was maybe just trying to find something that inspired me, anyway, was at a loss and couldn’t compile it.

So as a last resort I’m hoping you could bring yourself to take a look when you have time or have any ideas on this, I hope I’ve explained myself enough and you understand what I am referring to.

Thanks

Guest
18th February 2010, 21:54
If it's purely cosmetic, it will have a problem getting very high on my priority list.

The Scientist
18th February 2010, 22:30
Thanks Donald for acknowledging my post. Unfortunately, it is more than cosmetic. The flashing is not the problem as such, that I can live with, it’s the fact of losing the topmost active window that’s the problem.

Example:

I’m CLI indexing 5 separate VOB files, each will take let’s say 20 seconds each to index. So I start that and I begin to write an email, or do some programming, or whatever. I start to write then 20 seconds in my cursor/pointer disappears (because my active window that I was writing on has shifted to DGIndex), so I get the mouse and click back in my previous email window to carry on writing, 20 seconds later............. this will happen every time a new file/index starts/stops.

I hope you can see that this is more than cosmetic; it’s actually affecting the use of other programs whilst DGIndex CLI is running (starting|stopping).
Thanks again for your time.

jpsdr
20th February 2010, 13:34
DGIndex 1.5.7 crash.
I have DGIndex wich crash almost all the time when i do the following :
Open several VOB from a DVD.
Browse the video with the cursor.
Close with File -> Close. Nothing more is done.
Open others several VOB from another DVD.
=> Crash.

Wilbert
23rd February 2010, 22:14
Would it be possible to put the source on your webpage? I'll try to do it this weekend. Was there something specific you wanted to add or test?
Please don't forget about it ;) Thanks.

LigH
14th April 2010, 07:15
We have a (semi-) professional video restorer who complains that DGMPGDec outputs YUV with full range (PC scale), although he needs limited range (TV scale) to reencode, and he believes that applying Levels or ColorYUV afterwards are not optimal.

We are not yet certain where the exact cause of the problem is - if there are really TV-scale encoded and PC-scale encoded MPEG2 videos out there; if there is a difference between BT.601 and BT.709 MPEG videos in the ranges; etc. - A sample will be provided soon if possible.

Just one thing seems to be obvious: The option YUVRGB_Scale does not belong to the YUV output scale.
__

P.S.: see attachment (http://forum.gleitz.info/showthread.php?p=406578#post406578); I hope you are able to guess from the german explanations how the user made certain that the content was encoded with TV scale...

Wilbert
14th April 2010, 13:11
P.S.: see attachment; I hope you are able to guess from the german explanations how the user made certain that the content was encoded with TV scale...
My german is not good, but i'm pretty sure that the mpeg2 in the zip-file is YCbCr [0,255]. When using the script

mpeg2source("F:\Temp\Color-bars\color_bars.d2v")
ConvertToRGB(matrix="PC.601")

the colorbars look correct in VDub.

MPEG2Source doesn't do anything with the lumarange (unless you request RGB from it and use those scale settings).

So that means he did something wrong in Vegas/ProCoder (i suspect that testimage is imported "incorrectly" in ProCoder; hwo did he create the testimage and in what format?).

LigH
14th April 2010, 16:29
It is quite probable that the reason is in the other tools, indeed -- as possibly already mentioned in Thread #126905 (http://forum.doom9.org/showthread.php?t=126905)...

To be investigated further.