How encode video before stream?

BaGRoS

New Member
Hi

I think to myself how best to prepare the video and audio so that the live broadcast to YouTube uses as few resources as possible. I understand that the resolution has to be the same as the one I want to broadcast at, but what about the codecs for the video and audio? If I want to transmit at 6000 kbps, does it make sense to convert the video to that bit rate? Can OBS then just send, without transcoding? Which codec? x264, VP9, container webm, mkv?

Many thanks,
BaGRoS
 

koala

Active Member
OBS will always do all encoding itself. There is no way to passthrough pre-encoded video. If you feed encoded video to OBS, OBS will decode it, then do composting, then encoding the composited video. Compositing is the core functionality of OBS and cannot be circumvented. If you don't want or don't need this, use a different streaming client that optionally doesn't do compositing, for example the command line ffmpeg.
To optimize resource usage, make sure any encoded source is easy to decode, i. e. with an encoder where OBS uses a hardware decoder to decode, or that has a lightweight software decoder. And the source should be the same color format and color range as OBS uses.
 

BaGRoS

New Member
Your answer was like a signpost, it didn't give me a direct answer, but I think it led to the goal.
 
Top