DGMPGDec Artefacts [Vapoursynth]

Support forum for DGMPGDec
Post Reply
DAE avatar
banana
Posts: 3
Joined: Wed Jan 18, 2023 11:29 am

DGMPGDec Artefacts [Vapoursynth]

Post by banana »

Hello!

Thanks for your hard work. I hope you are doing well. I have updated to the latest version https://www.rationalqm.us/dgmpgdec/dgmpgdec2008.zip and encountered a bug in VS. I've made an image comparison and provided a sample for testing.

Kind Regards

Image Comparison:
https://slow.pics/c/EXKo2BnS
Frame #190

AVS:
MPEG2Source("drs.d2v")

VS:
import vapoursynth as vs
core = vs.core

src = core.dgdecode.MPEG2Source(r"drs.d2v")
src.set_output()

Sample:
https://www.dropbox.com/s/65wkqiwl4dh29oj/drs.rar?dl=0
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

DGMPGDec Artefacts [Vapoursynth]

Post by Rocky »

Please state in words what the bug is. Those circles don't tell me anything. I don't see any difference.
DAE avatar
banana
Posts: 3
Joined: Wed Jan 18, 2023 11:29 am

DGMPGDec Artefacts [Vapoursynth]

Post by banana »

The red color is being displaced, lines are being aliased (look at the kid's trousers), and sharpened blocks (look at the red color under the star) [Frame #190].

Here's another example from frame #130.

AVS:
Image

VS:
Image
Look at the kid's shoes.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

DGMPGDec Artefacts [Vapoursynth]

Post by Rocky »

#130

Those can't be the same as one of them has a faint logo saying "rectangular snip" and the other doesn't.

I'll download and investigate but honestly I don't see anything you mention.

Are you using 32-bit or 64-bit DGDecode? I can't start until you answer that.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

DGMPGDec Artefacts [Vapoursynth]

Post by Rocky »

Please note the question at the end of the previous post.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

DGMPGDec Artefacts [Vapoursynth]

Post by Rocky »

Using 64-bit...

AVS:

loadplugin("D:\Don\Programming\C++\DGMPGDec_VS2019\DGDecode64\x64\Release\DGDecode.dll")
mpeg2source("D:\tmp\banana\drs.d2v")

VS:

import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin("D:/Don/Programming/C++/DGMPGDec_VS2019/DGDecode64/x64/Release/DGDecode.dll")
src = core.dgdecode.MPEG2Source(r"drs.d2v")
src.set_output()

For each one, I open the script in VirtualDub2, go to frame 130, and copy source frame to clipboard. Then paste into irfanview64 and save as PNG. When I compare the two PNGs they are binary identical.

Whatever you are doing with the "rectangular snip" thing must be the cause.
DAE avatar
banana
Posts: 3
Joined: Wed Jan 18, 2023 11:29 am

DGMPGDec Artefacts [Vapoursynth]

Post by banana »

I just had an old version of the script editor. There is no problem now.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

DGMPGDec Artefacts [Vapoursynth]

Post by Rocky »

Thank you for the update. Marking resolved.
Post Reply