I am a beginner and I am trying to stream a local file to YouTube Live.

I noted that when I start streaming on OBS using the below settings, the CPU usage is at 35-40%. stream screen settings obs output screen settings obs audio screen settings obs video screen settings obs Since, I am using a local file which then OBS encodes (converts my local .mp4 (H.264) file to a data stream) using the settings given above and streams the data to the YouTube server, is there a way of capturing the data that OBS has streamed to YouTube, saving it as a file and then sending that data directly to YouTube without going through the conversion/encoding the next time I want to stream the same file?

I am sorry if this is a stupid question.

1 Answer 1


If you're streaming, OBS will re-encode the output each time.

You can stream and record to disk at the same time,

However, there's no way to "replay" that data directly to YouTube, it must be re-encoded.

I notice that you have your stream encoder set to Software x264 which is CPU based. I also noticed that your recording encoder is set to NVENC which is GPU based.

If you use NVENC as your stream encoder, it can offload encoding from the CPU to the GPU, which could drastically reduce your CPU load.

However, the CPU load maybe coming from the decoding of the video file your trying to playback so you may not be able to reduce it massively but NVENC will definitely help.

  • Thank you. Is the "replay" possible with ffmpeg or some other alternative to OBS?
    – abel
    Commented Sep 13, 2020 at 13:23
  • 1
    Theoretically yes, YouTube Live uses RTMP Protocol for streaming, there is lots of software out there that can generate an RTMP stream and ffmpeg is one of them, technically all your doing with OBS is decoding an MP4, re-encoding it at a lower bitrate then sending it over RTMP, if you want to do this with FFMpeg you can just re-encode all your videos before hand to a stream acceptable rate, then use a playlist to play them back over RTMP to YouTube. Commented Sep 14, 2020 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.