fieldop in MPEG2Source?

Support forum for DGMPGDec
Post Reply
User avatar
Selur
Posts: 136
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

fieldop in MPEG2Source?

Post by Selur »

If it's not much hassle, would it be possible to add 'fieldop' in MPEG2Source as it is used in DGDecNV/DGSource ?

Cu Selur
User avatar
Rocky
Posts: 3754
Joined: Fri Sep 06, 2019 12:57 pm

fieldop in MPEG2Source?

Post by Rocky »

You can control that using the Field_Operation in the D2V file (just edit the D2V file). The reason it is that way is that in DGIndex the field operation is implemented for display, so it is controlled by a DGIndex setting and passed to the DLL via the D2V file. Could add that option to the DLL and have that override the D2V file. Seems reasonable.
User avatar
Selur
Posts: 136
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

fieldop in MPEG2Source?

Post by Selur »

You can control that using the Field_Operation in the D2V file (just edit the D2V file). The reason it is that way is that in DGIndex the field operation is implemented for display, so it is controlled by a DGIndex setting and passed to the DLL via the D2V file.
I would prefer not to have to edit the .d2v file, since I would have to copy it, since it might be open by another encoder instance. But thanks for letting me know.
Could add that option to the DLL and have that override the D2V file. Seems reasonable.
Would editing the d2v even be needed if the dll would be adjusted? I mean, why change the d2v file through the dll if the dll is the only one opening the d2v file?

Cu Selur
User avatar
Rocky
Posts: 3754
Joined: Fri Sep 06, 2019 12:57 pm

fieldop in MPEG2Source?

Post by Rocky »

I never said it would edit the D2V, just that it would override (ignore) what is in the D2V. I'll go ahead and do that for you.
User avatar
Selur
Posts: 136
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

fieldop in MPEG2Source?

Post by Selur »

Ah, okay, I misunderstood that then.
Thanks a lot! :)

Cu Selur
User avatar
Rocky
Posts: 3754
Joined: Fri Sep 06, 2019 12:57 pm

fieldop in MPEG2Source?

Post by Rocky »

Give a try to this:

https://rationalqm.us/dgmpgdec/dgmpgdec2008.zip

If you confirm it is working I will make a release announcement. Thank you.
User avatar
Selur
Posts: 136
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

fieldop in MPEG2Source?

Post by Selur »

Did some tests with different sources and it worked without any issues.
Thanks! :hat:

Cu Selur
User avatar
Rocky
Posts: 3754
Joined: Fri Sep 06, 2019 12:57 pm

fieldop in MPEG2Source?

Post by Rocky »

Thank you. I have released it.
Post Reply