Page 1 of 1

fieldop in MPEG2Source?

Posted: Mon Dec 26, 2022 1:56 pm
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

fieldop in MPEG2Source?

Posted: Mon Dec 26, 2022 2:23 pm
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.

fieldop in MPEG2Source?

Posted: Tue Dec 27, 2022 4:43 am
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

fieldop in MPEG2Source?

Posted: Tue Dec 27, 2022 7:10 am
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.

fieldop in MPEG2Source?

Posted: Tue Dec 27, 2022 2:31 pm
by Selur
Ah, okay, I misunderstood that then.
Thanks a lot! :)

Cu Selur

fieldop in MPEG2Source?

Posted: Tue Dec 27, 2022 2:43 pm
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.

fieldop in MPEG2Source?

Posted: Tue Dec 27, 2022 11:37 pm
by Selur
Did some tests with different sources and it worked without any issues.
Thanks! :hat:

Cu Selur

fieldop in MPEG2Source?

Posted: Wed Dec 28, 2022 7:35 am
by Rocky
Thank you. I have released it.