Avisynth+ frame properties for signaling pulldown (DGMPGDec 64-bit DGDecode.dll)

Support forum for DGMPGDec
Post Reply
User avatar
Rocky
Moose Approved
Posts: 2221
Joined: Fri Sep 06, 2019 12:57 pm

Avisynth+ frame properties for signaling pulldown (DGMPGDec 64-bit DGDecode.dll)

Post by Rocky »

Some applications can potentially benefit from being able to query pulldown signaling via Avisynth+ rather than by parsing the D2V file. Another developer has prototyped a solution but I believe it implements an unnecessary option and does not provide information for all field operation modes. My proposal is simple. We signal the following things:

Field operation -- the selected field operation (honor, force film, ignore).

TFF -- the top field first setting.

RFF -- if field operation is honor or force film, RFF signals whether the frame was created using field pulldown; if field operation is ignore, the RFF signals whether the frame includes a RFF flag (which is ignored).

This avoids needing an additional option and also provides useful information for all field operation modes. I am open to packaging these things separately, or combined in a bit-mapped variable.

This can be implemented in DGDecNV also, and for all video formats that support pulldown. Vapoursynth can also be supported.

Your feedback will be appreciated. Some relevant discussion here:

https://github.com/Asd-g/MPEG2DecPlus/issues/9
User avatar
Rocky
Moose Approved
Posts: 2221
Joined: Fri Sep 06, 2019 12:57 pm

Avisynth+ frame properties for signaling pulldown

Post by Rocky »

Probably best to have separate int property variables:

_FieldOperation
_TFF
_RFF
User avatar
Rocky
Moose Approved
Posts: 2221
Joined: Fri Sep 06, 2019 12:57 pm

Avisynth+ frame properties for signaling pulldown (DGMPGDec 64-bit DGDecode.dll)

Post by Rocky »

Released in DGMPGDec 2.0.0.7. Marking resolved.

This may or may not be ported to DGMPEGDec Vapoursynth, and DGDecNV. :scratch:
Post Reply