obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
59.76k stars 7.92k forks source link

Matte stinger transition blinks to 'from' scene #4564

Closed ColdFire21 closed 3 years ago

ColdFire21 commented 3 years ago

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.0.0-rc2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/C4AggB5lluA_Lw19

OBS Studio Crash Log URL

No response

Expected Behavior

When the matte stinger transition ends it should only display the second scene.

Current Behavior

When the transition ends the first scene (the one that i came from) blinks and is shown for less then a second and then my new scene is displayed

https://user-images.githubusercontent.com/4633446/115887549-537e6d00-a452-11eb-9f6a-5627f2c4c3b3.mp4

Steps to Reproduce

  1. display a first scene 2.switch scene
  2. wait for transition to end ...

Anything else we should know?

This behavior doesn't happen all the time, it's quite random

WizardCM commented 3 years ago

As you are using a separate file for the matte, I believe this is potentially expected behaviour. Does the issue also occur if you combine the matte into the original video (either side by side or stacked)?

WizardCM commented 3 years ago

Additionally, please provide example stinger/matte files to test with.

ColdFire21 commented 3 years ago

I'm using a separate file, and this behavior is quite random even when i'm the exact same transition between the same scenes. (i'll try ti test it with a combined file)

you'll find attached the files i use

fire-swipe-track-matte.zip

WizardCM commented 3 years ago

I cannot reproduce the issue with the files provided. Tested 20 times switching between two scenes.

DaveKap commented 3 years ago

I'm also seeing this issue with the latest OBS beta. I'm using "Same file, side-by-side" for the track matte option (although I'm just using a basic matte) and as soon as the stinger is done playing using the transition preview, it shows scene A for one frame and then jumps to scene B. If I add a fade effect, I can actually see that the transition stays on scene A the entire time, despite my transition point being as early as possible.

It would appear some bug is causing transition point to be completely ignored during transition stingers. Here's a gif of what I'm seeing: https://i.imgur.com/TXUHsPE.gifv Note the transition point number is at 5 milliseconds and yet it still waits until the stinger is done to do the transition. Here's what happens when using an mp4 that doesn't have proper transparencies, which essentially shows you the bug being reported here: https://i.imgur.com/W60wNH9.gifv You can see how it "pops" the previous scene before showing the scene being transitioned to.

WizardCM commented 3 years ago

@DaveKap Please provide the file you're having issues with. It looks to me like the matte is incorrectly built.

Additionally, in Track Matte mode, the Transition Point is completely ignored for the video. This is correct behaviour, it's only used for the audio.

DaveKap commented 3 years ago

Unfortunately, in order to get the alpha exported with the video using DaVinci Resolve, I have to use a format that explodes the file size up to 200MB (According to guides found via Google, I went with the Quicktime format using the GoPro CineForm Codec with Type RGB 16-Bit.) Do you happen to have an alternative file format I should be using or do you not mind a google drive link to a 200MB video file? (This is what's used in the first example I linked.)

Alternatively, should creating a version of the video with a plain black screen as the right half be enough for the Matte transition to work? That's what I used in the second gif I posted and as you could see, the matte didn't work at all. I could send that file easily as it's a heavily compressed format.

WizardCM commented 3 years ago

No, a plain black on the matte will not work. Black represents the previous scene, white represents the next scene.

DaveKap commented 3 years ago

Ah! So inverting matte colors should fix it. I just tried that, and it seems to have worked, completely removing the pop and transitioning when it's supposed to. Now (unrelated to this issue) I have to figure out why the audio is not being delayed properly. ;-)

WizardCM commented 3 years ago

Additionally, apparently this can happen with FPS mismatches. So you need to make sure OBS, your stinger, and your matte all have the same FPS.

lindenkron commented 3 years ago

I thought this was confirmed a bug (was told it was). I'm getting similar issue about 10% of the time I change transition.

https://user-images.githubusercontent.com/6466136/120092815-584fd400-c116-11eb-9f1d-505ad8c4822d.mp4

WizardCM commented 3 years ago

I thought this was confirmed a bug (was told it was). I'm getting similar issue about 10% of the time I change transition.

Please provide your stinger/matte file.

BchWut commented 3 years ago

EDIT: SOLVED. This was a video render issue. I was using DaVinci Resolve v17. Make sure that in your video export settings you change Data Levels to "Full" in "Advanced Settings". This will make sure this ghosting doesn't happen. I'll leave this comment on here in case someone else with the same issue wonders to this page.

Hello, please find my issue attached. There appears to be a 'ghosting' artifact between scenes A and B when I use the side-by-side track matte stinger. I've double-checked that my video has completely black matte color on the right. Could it be an OBS issue? v27.0.0 Win10

https://user-images.githubusercontent.com/85324123/120732778-3779eb00-c529-11eb-9e90-eaad8b26503e.mp4

ThePieroCV commented 3 years ago

I have the same issue. I'm also using Resolve for design and Export on Quicktime RGB 16 bits (.mov) and converted to webm via ffmpeg.

Maybe is an issue from Resolve or ffmpeg.

BchWut commented 3 years ago

I have the same issue. I'm also using Resolve for design and Export on Quicktime RGB 16 bits (.mov) and converted to webm via ffmpeg.

Maybe is an issue from Resolve or ffmpeg.

Check the quote in my first post, you need to change Data Levels checkbox to "Full" in the advanced render settings.

CaptainSkiddow commented 3 years ago

Hi! I have the same blinking issue, but i use After Effects for my renders. Does anyone know how to fix this in After Effects?

Much regards,

Rens

treierxyz commented 3 years ago

Same issue, using Blender and ffmpeg for rendering. I don't believe that four different pieces of software are at fault for this bug, it's still an issue within OBS. The random nature of the bug as shown by @lindenkron is an indication of that, at least that is my theory.

lindenkron commented 3 years ago

If you believe you have my glitch, please continue the conversation over at https://github.com/obsproject/obs-studio/issues/4886 @treier57lol

Think this is a different variation of issue.

treierxyz commented 3 years ago

Thank you! I'll look into it.

flaeri commented 3 years ago

Pretty sure this is the same as https://github.com/obsproject/obs-studio/issues/4886, correct? If so, its already been fixed and merged here https://github.com/obsproject/obs-studio/commit/f48795439504acdfcd985e0d43f3f49ed08d3f85. Available in the beta/rc atm.

treierxyz commented 3 years ago

Yes, f48795439504acdfcd985e0d43f3f49ed08d3f85 should have fixed this.

Fenrirthviti commented 3 years ago

Closing per above comments.

ItZmirks commented 3 years ago

can some one help me i am having the same problem that the transition doesnt finish completely and it changes to the next scene although i rendered it through after effects, moreover i checked and my stream matte and transition are all 60 fps. some1 pls help

flaeri commented 3 years ago

can some one help me i am having the same problem that the transition doesnt finish completely and it changes to the next scene although i rendered it through after effects, moreover i checked and my stream matte and transition are all 60 fps. some1 pls help

@ItZmirks this is fixed in the latest update. https://github.com/obsproject/obs-studio/issues/4886 If you have issues with the source, you could seek help in the Discord. https://obsproject.com/discord