You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dont know, it just doesnt work properly. I can go through the different modes and sometimes see something changing, but it definitely isn't deinterlacing, its just varying levels of janky output. I tried deinterlacing with amarecTV and it works perfectly there, so I dont think the issue is on my end.
Field order and framerate have nothing to do with my issue to my knowledge. I think the deinterlacing options are just generally broken in multiple areas.
While I understand that it's frustrating if a piece of software doesn't yield expected results, please be more precise in what the issue is, neither "I dont know, it just doesnt work properly" or "varying levels of janky output" allow us to understand the issue, much less investigate it.
Please provide:
An example file of interlaced video with which the issue is 100% reproducible
A cross-reference of how the de-interlaced video file should look like according to your own requirements
Going even further, you could look at the code yourself and investigate the possible root cause of the issue and attempt to fix the issue. Even if you're not successful, you could describe your attempts and the insights gained during them, which would also allow other contributors to get to the bottom of the issue quicker.
While I understand that it's frustrating if a piece of software doesn't yield expected results, please be more precise in what the issue is, neither "I dont know, it just doesnt work properly" or "varying levels of janky output" allow us to understand the issue, much less investigate it.
Please provide:
An example file of interlaced video with which the issue is 100% reproducible
A cross-reference of how the de-interlaced video file should look like according to your own requirements
Going even further, you could look at the code yourself and investigate the possible root cause of the issue and attempt to fix the issue. Even if you're not successful, you could describe your attempts and the insights gained during them, which would also allow other contributors to get to the bottom of the issue quicker.
I also get the frustration of some random guy coming and just saying it doesn't work, but the truth is I did look at the .effect files a little but I remember not being able to figure anything out.
As I said, if I had to guess, I'd say that OBS is applying the deinterlace filter on the wrong lines potentially, maybe at a resolution that isnt the real resolution of the source or something, because it looks like it is actually making the deinterlacing lines worse or almost randomly scattered.
If videos help, I'll record some quick samples when I get time - one with deinterlacing off, one with it on, and one from a window capture of amarectv.
We'd actually need a source video that exhibits the wrong deinterlacing behaviour, that could be an unmodified recording of the input source (retaining full source resolution and interlaced frames), because debugging based on a recording of the UI is almost impossible if the issue is not considerably easy to pin down.
Sorry I took a while, is this good enough? I set the output/canvas to 720x480 30fps so its the same as the source. I spin the camera with no deinterlacing options at first, then I enable yadif 2x top field first and spin again after the pause. You can still see interlacing lines the second time, so something isn't working, but they are notably different in some way, so it is doing something.
As I mention before, none of the combinations of deinterlacing settings fix anything.
Your source is scaled prior to deinterlacing. Either your capture device is incorrectly configured (incorrect capture resolution) or it is not capable of properly capturing interlaced video.
Right. I don't know how I'd fix that, I'm unable to change the resolution in the OBS video capture device properties without it just giving a black screen.
And its strange that amarectv manages to deinterlace the feed just fine. Even my monitor itself can deinterlace it if I just switch the monitor input. Unfortunately, OBS is the outlier.
But if this truly isn't an issue with OBS somehow, would it be possible to maybe expose the deinterlacing effect resolution options to the user under an advanced tab to counteract issues like this?
I don't know how I'd fix that, I'm unable to change the resolution in the OBS video capture device properties without it just giving a black screen.
I would recommend going into the OBS support Discord to work out that problem. It could be a pixel format issue or something like that. If it turns out to be a bug in the video capture plugin, you can circle back here with reproduction steps. Right now it looks like the capture driver is scaling the input before it hits OBS, which is blending the interlaced fields together making it impossible to deinterlace properly. Why it would work in Amarec and not OBS is not something I can diagnose from here, so I recommend presenting your problem to a support volunteer on Discord.
I didn't have a clue that the video format could change anything other than colors, thank you. I changed to YV12, with bottom field first, and it fixed it. Genuinely no clue how that works. Ill keep all this here incase anyone googles this issue in future.
The only annoyance now is that the resolution wont update automatically, since its bundled in with FPS and color format. Could those options be separated perhaps, or an autoselect: highest/lowest resolution option be added?
The only annoyance now is that the resolution wont update automatically, since its bundled in with FPS and color format. Could those options be separated perhaps, or an autoselect: highest/lowest resolution option be added?
Going to close this issue as it seems you have resolved your problem, even if there is a minor annoyance remaining. Glad to see my hunch about pixel formats was correct!
Activity
RytoEX commentedon Sep 27, 2022
Possible duplicate of #6061 or #3402?
UsernameBillion commentedon Sep 27, 2022
Field order and framerate have nothing to do with my issue to my knowledge. I think the deinterlacing options are just generally broken in multiple areas.
PatTheMav commentedon Oct 4, 2022
While I understand that it's frustrating if a piece of software doesn't yield expected results, please be more precise in what the issue is, neither "I dont know, it just doesnt work properly" or "varying levels of janky output" allow us to understand the issue, much less investigate it.
Please provide:
Going even further, you could look at the code yourself and investigate the possible root cause of the issue and attempt to fix the issue. Even if you're not successful, you could describe your attempts and the insights gained during them, which would also allow other contributors to get to the bottom of the issue quicker.
UsernameBillion commentedon Oct 4, 2022
I also get the frustration of some random guy coming and just saying it doesn't work, but the truth is I did look at the .effect files a little but I remember not being able to figure anything out.
As I said, if I had to guess, I'd say that OBS is applying the deinterlace filter on the wrong lines potentially, maybe at a resolution that isnt the real resolution of the source or something, because it looks like it is actually making the deinterlacing lines worse or almost randomly scattered.
If videos help, I'll record some quick samples when I get time - one with deinterlacing off, one with it on, and one from a window capture of amarectv.
PatTheMav commentedon Oct 4, 2022
We'd actually need a source video that exhibits the wrong deinterlacing behaviour, that could be an unmodified recording of the input source (retaining full source resolution and interlaced frames), because debugging based on a recording of the UI is almost impossible if the issue is not considerably easy to pin down.
UsernameBillion commentedon Nov 27, 2022
Sorry I took a while, is this good enough? I set the output/canvas to 720x480 30fps so its the same as the source. I spin the camera with no deinterlacing options at first, then I enable yadif 2x top field first and spin again after the pause. You can still see interlacing lines the second time, so something isn't working, but they are notably different in some way, so it is doing something.
As I mention before, none of the combinations of deinterlacing settings fix anything.
2022-11-27 00-57-00 - Copy.zip
mufunyo commentedon Nov 27, 2022
Your source is scaled prior to deinterlacing. Either your capture device is incorrectly configured (incorrect capture resolution) or it is not capable of properly capturing interlaced video.
UsernameBillion commentedon Nov 27, 2022
Right. I don't know how I'd fix that, I'm unable to change the resolution in the OBS video capture device properties without it just giving a black screen.
And its strange that amarectv manages to deinterlace the feed just fine. Even my monitor itself can deinterlace it if I just switch the monitor input. Unfortunately, OBS is the outlier.
But if this truly isn't an issue with OBS somehow, would it be possible to maybe expose the deinterlacing effect resolution options to the user under an advanced tab to counteract issues like this?
mufunyo commentedon Nov 27, 2022
I would recommend going into the OBS support Discord to work out that problem. It could be a pixel format issue or something like that. If it turns out to be a bug in the video capture plugin, you can circle back here with reproduction steps. Right now it looks like the capture driver is scaling the input before it hits OBS, which is blending the interlaced fields together making it impossible to deinterlace properly. Why it would work in Amarec and not OBS is not something I can diagnose from here, so I recommend presenting your problem to a support volunteer on Discord.
UsernameBillion commentedon Nov 27, 2022
I didn't have a clue that the video format could change anything other than colors, thank you. I changed to YV12, with bottom field first, and it fixed it. Genuinely no clue how that works. Ill keep all this here incase anyone googles this issue in future.
The only annoyance now is that the resolution wont update automatically, since its bundled in with FPS and color format. Could those options be separated perhaps, or an autoselect: highest/lowest resolution option be added?
mufunyo commentedon Nov 27, 2022
You can submit a feature request to our ideas page: https://ideas.obsproject.com/
Going to close this issue as it seems you have resolved your problem, even if there is a minor annoyance remaining. Glad to see my hunch about pixel formats was correct!