Page 1 of 1

Revise DGDecode to add properties for Avisynth and Vapoursynth

Posted: Fri Jan 15, 2021 10:25 am
by Rocky
Request from ChaosKing at Doom9. Creating thread here for tracking:
It would be nice if DGDecode could also set clip props like PictType (I, P, B Frame).
Seems like a reasonable request. Will do.

Revise DGDecode to add properties for Avisynth and Vapoursynth

Posted: Tue Jan 19, 2021 11:45 am
by Rocky
OK, looking for details...

Do you mean Avisynth+ or Vapoursynth? Please specify for each the specific properties you need to be set.

Revise DGDecode to add properties for Avisynth and Vapoursynth

Posted: Tue Jan 19, 2021 12:55 pm
by thechaoscoder
I just saw that I tested in Vapoursynth with avs compat mode :oops:
avs.MPEG2Source().text.ClipInfo() instead of
dgdecode.MPEG2Source()
(With avs compat mode no clip props are set)

Clip props are already set. Range (Limited/Full) and Chroma Location are missing so if it's not much work it would be nice to add them. Idk about Primaries and Transfer
Image

Here's how lsmash "sees" the file
Image

Revise DGDecode to add properties for Avisynth and Vapoursynth

Posted: Tue Jan 19, 2021 3:03 pm
by Rocky
Yeah, I knew I had set some Vapoursynth properties in the 64-bit DLL. I'll add the missing ones but don't plan on doing anything for Avisynth.