OBS Streaming with FFMPEG Encoder

PeterTheLeaker

New Member
Hey there,
i want to use ffmpeg as my streaming encoder but can't choose it :(

I am running obs 28.1.2 with StreamFX on Ubuntu 20.04 on a virtual machine.

I first tested to stream a video file (.mkv) directly from command line to twitch and it worked perfect - no lags, good quality, 60 fps and no cpu workload...
But when try to load the video file via "media source" into obs, play it and start the stream - the output stream is very laggy, reaching only 20 fps, the quality is low and the cpu load is very high...

I also can only choose the "x264" as encoder in the output settings of OBS...
When i choose "FFMPEG VAAPI H.264" encoder i dont have a VAAPI device to select. i think that's because of the virtual machine i am using.

So why is streaming over ffmpeg directly so smooth and over obs so laggy and ressource intense?
Is it possible to add more encoders when i just want to use CPU streaming? (because gpu seems not possible because of VM)

Thanks!
 

Tuna

Member
OBS requires a GPU for composing. With OpenGL 3.3 at a minimum. In a VM you are probably using software emulation for the GPU. That is very slow and unsupported.
 
Top