Question / Help Video with Alpha Channel and Performance

Zizo

New Member
Hello there,
I hope I'm not posting to the wrong place.
I'm not sure where to start.. there we go with my adventure.
I have created some motion graphics with Alpha Channel for a streamer that plays League of Legend. I also downloaded the "Video Source" plugin to be able to add a Video in the sources of a scene.

Using After Effects and/or Premiere. I tried rendering .mov files as a wrapper at 1920*1080 30fps and the video is 4sec long. Seems like using PNG inside the .mov wrapper as a codec doesn't seem to play, even VLC can't play the file no matter what quality or resolution I render out. Both VLC and OBS play back the first 5-10 frames and then the video freezes until it repeats as I have "Playlist looping" enabled.. and again it plays the first few frames.

Maybe PNG requires a lot of decoding and causes this issue? After some googling seems like the libvlc has issues with PNG as a codec. This also happens with jpg2000.

So I tried out every codec for a .mov file that let's me have alpha channel. My best chance was the "Animation" codec. It gives me no more than 200MB file size for a 4sec loopable video and seems to play smoothly.

The streamer though seems to have FPS drops while playing and streaming with my video graphic on.
So I decided to crop the video in 2 pieces, 1st at 1520*430 and 2nd at 420*160 instead of big HD video witch would mostly be transparent, this didn't change his in game FPS.

Me playing the game and having either 2 small pieces of video or a full size HD, didn't affect my fps. I have League of Legends to cap at 60fps and never saw it go bellow.
Being just on my desktop with OBS previewing my videos, my GPU Clock usage is between 20% and 40% while CPU is around 15%.

Questions:
Does actually streaming instead of just previewing eat up a lot of resources?
Is there a big difference using the 32bit vs 64bit OBS?
What's required for a situation like this? Higher CPU or GPU clock cycles?
What do you guys think? Is it so source hungry to have a transparent video on top?
Do you really need a video capture device and a second PC to feed the signal and do the streaming and OBS there?
What's the best video format and codec for a situation like this?
Do I need to export the least encoded format/codec despite the file size?
Does capping the game's FPS at 60 helps?

Maybe my PC is simply superior to his?
Or maybe his PC is not optimized correctly or has seen bad usage and needs a format.

His PC specs are
MoBo: Asus Sabetooth 990FX
CPU: AMD FX8350 4GHZ 8xCore
GPU: ASUS ROG Striker GTX660 Ti 4GB
Ram: 8GB G-Skill Sniper 1866MHz

My PC specs are
MoBo: Asus Z97-C
CPU: Intel i7-4790 3.60GHZ 8xCore
GPU: Asus GeForce GTX780 3GB
Ram: 16GB Corsair Vengeance 1600MHz

Should I post it there instead? https://obsproject.com/forum/resources/video-source-plugin.20/
My OBS is currently set up according to this link. http://help.twitch.tv/customer/portal/articles/1262922-open-broadcaster-software
I will make sure the streamer is also configured properly.

Really, thank you very much for your time. I hope to find a solution to what is wrong or even to find out that what I'm doing just needs better hardware.
 

FerretBomb

Active Member
I've had decent luck with using AVI-with-alpha on OBS Classic with the vidsource plugin, though OBS Studio seems to have severe issues with proper playback. It might be best to have the streamer post a thread about the issue, with a logfile, to let us see what's going on on the back end.

Yes, dealing with a 200MB video file in memory is probably going to cause performance problems. The largest I've used regularly without performance impact was a 46MB corner bug.
 

Zizo

New Member
Should I change to OBS Studio?
Is OBS Studio going to replace the standard version once it reaches Standard's quality? Because it says it's rewritten and what not. Does this mean better usage of resources?

I'll post a log file sometime soon.
 

FerretBomb

Active Member
In my opinion, no. Studio is still not at feature-parity with Classic. It is not more efficient.
The only two reasons to use it are if you have an SLI rig and the multi-adapter compatibility mode actually works on yours, or if you were an idiot and bought an HDPVR2. They're a POS with complete garbage software, but sold cheap so newbies tend to pick them up without knowing how bad they are. Studio added support specifically for them to take their crap software out of the equation.

Also, an update: appears the video playback issue I had with 0.13.? has been fixed with 0.14.?, so that's less a concern. Still do not believe Studio is ready for prime-time use (if nothing else, the UI is horrible).
 

Osiris

Active Member
Saying Studio is not ready for prime-time use (w/e that means) is not true at all, it might not support all of OBS Classic's use-cases but definitely most of them. And if you say the UI is horrible, I wonder what kind of term you use for the OBS classic UI coz it's worse.

@Zizo just try it out for yourself, no harm in trying.
 
Top