Missing deinterlace options
Hi, what a nice plugin! I only noticed that OBS is unfortunately not able to add deinterlace options to the right click menu by default. I was eventually able to find something in the source code that says this is only possible if the video source output_flags has the OBS_SOURCE_ASYNC flag set. I don't know exactly what the best / prettiest way is to add this functionality to the plugin, but I have at least created something myself that seems to work. It adds two additional lists from which you can set the deinterlace mode and field order. I haven't made a pull request because I'm not yet sure of the best approach. For now I'll have to keep using my own fork because I really need this functionality.
Sorry for the late reply. I wasn't really aware that such feature existed in OBS. I think the proper way is to convert the video feeding mechanism into async (and changing the output flag to OBS_SOURCE_ASYNC), and I'll look into that. Thanks for investigating this. I couldn't find info on deinterlacing mode being available only with such output flag, but it makes sense as async lets obs handle the frames ahead of time (basically buffered vs on-demand). This solution would make it so the deinterlacing modes will be available to this source (since both Media Source and VLC Source did too). You are correct tho that your solution will be simpler in the short-term.
Thanks for the response. You are right that async video is the best solution, that indeed gives OBS the ideal conditions to enable various things such as deinterlacing. If I knew more about the OBS API I would have wanted to do some work, but I have virtually no time at the moment, so that is unfortunately not an option. It's probably a good idea to keep the issue open until the OBS video source can be delivered async, sometime in the future.
PS The code that disables the deinterlacing menu if no async video flag is set, can be found in the gui folder as part of the C++ code. It's right here ;)