-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Deinterlacer in Decklink-Sources optional #154
Comments
@a-tze I tend to accept that there are reasons to not deinterlace in the sources (although FrOSCon and parts of SHA already were produced by this Code), but… CPU is not a valid argument, because we have to deinterlace each source anyway for Tear-Free viewing in the GUI, so actually all Sources and the Mix are deinterlaced anyway, the Mix actually twice (once for the GUI and once for the Stream). So the only real reason is flexibility. In order to maximize flexibility (voctomix is already kind of a lego kit) I'd suggest to
|
@MaZderMind I like those proposals, but what about merging these two, e.g. having a fourth option like I think interpret-as-progressive is not independet from deinterlace, so it should be combined to avoid meaningless combinations. The flag setting would introduce the capssetter while the other 3 values add and configure a yadif filter. |
The mapping would then be, if I'm not mistaken, like
|
How would you implement the |
@Florob this is an option of yadif: interlace only if it looks like it is required (== auto) or force deinterlacing (==yes). But I dont know if this option can be used in gstreamer. If its possible to force yadif in gstreamer to work I'd agree with the last comment from @MaZderMind with those 4 options. They should solve the problem for our use case and make it generally more usable for everyone. |
@a-tze @Florob that's not what I intended to do with auto. Let me explain: For tcp-sources no automatic deinterlacer is currently added (the interlace flag after the mkv-demuxer can't be trusted anyway, see bug above); it just assumes the input to be progressive. auto-mode would also keep this behavior. |
Thanks for clarification, this also makes sense. So "auto" should not use the word "detect", as it basically just makes an educated guess and would miss e.g. treating pSF-in-i50 as progressive input - which is one of the reasons to introduce such an option. So I'm totally fine with this. |
Actually it seems decklinkavsource.py does always add the yadif. Also, there is no documentation on the gstreamer yadif element and reading tough its source does not give me confidence that it actually does not work when the input is marked as progressive. For this reason I would ditch the |
@Florob do you remember the Reason you added a |
@MaZderMind They go from the mode configured for the deckink card to the resolution/rate we work with internally. E.g. without the |
fixed in #168 |
Moved from #137, originally reported by @a-tze
The text was updated successfully, but these errors were encountered: