Overlays for a prerecorded viedo

luxmarketinginc

New Member
I have a prerecorded video that i want to add layovers too on OBS is that possible? I tried to play the video and record while I put the layovers but the video starts to lag when I record
 

Tangential

Member
I do this all of the time. I normally play videos from a VLC source. I think I get better performance than from a media source.

One thing I also do is to re-encode the video to exactly match my canvas and stream geometry and frame rate to reduce the overhead at run time.
 

luxmarketinginc

New Member
I do this all of the time. I normally play videos from a VLC source. I think I get better performance than from a media source.

One thing I also do is to re-encode the video to exactly match my canvas and stream geometry and frame rate to reduce the overhead at run time.
I recorded the video on my cell phone so it is already in an mp4 format. Suggestions on how to re-encode? the video is in 4kmi believe
 

Tangential

Member
I recorded the video on my cell phone so it is already in an mp4 format. Suggestions on how to re-encode? the video is in 4kmi believe
MP4 is a format/container, not a geometry or a speed. The goal of rencoding is to match the geometry to your canvas size. If your canvas is 1920x1080/30 and your video is 4K/60 then you are adding a lot of extra work to the process and that work must be done at runtime. To avoid that encode your video to match that Canvas size and your frame rate. Use a tool like handbrake or ffmpeg to do that. As an aside, if you canvas size also matches your stream size it will also reduce encoding overhead at run time.
 

Lawrence_SoCal

Active Member
I have a prerecorded video that i want to add layovers too on OBS is that possible? I tried to play the video and record while I put the layovers but the video starts to lag when I record

What you are trying to do is very much what OBS can do, and is a decent tool for the job (the more complex and dynamic the overlays, the more appropriate. There may be simpler tools for simply placing a static overlay on top of existing video, including simple video editors on mobile devices or Windows Movie editor (in Photos app?).
The video lagging most likely indicates
- your PC has insufficient compute (CPU and/or GPU) capability for what you are asking it to do
- or your source video format is one that you PC can't handle well (and re-encoding or changing format first may be required)
 
Top