AV:Open Broadcast Software (OBS) Lossless Captures: Difference between revisions

From ConsoleMods Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page shows you how to use a custom-configured "portable" build of the Open Broadcast Software to get excellent quality, lossless game captures. You won't be able to dial in the exact fps of the console, but some people might prefer this software over others, as it's free and open-source. If you find OBS useful, please consider supporting their team: [https://www.patreon.com/obsproject https://www.patreon.com/obsproject]
This page shows you how to use a custom-configured "portable" build of the Open Broadcast Software to get excellent quality, lossless game captures. You won't be able to dial in the exact fps of the console, but some people might prefer this software over others, as it's free and open-source. If you find OBS useful, please consider supporting their team: [https://www.patreon.com/obsproject https://www.patreon.com/obsproject]
 
See [https://www.retrorgb.com/videocapture.html RetroRGB's write-up] comparing this video capture method to others.


== Required Software ==
== Required Software ==


This capture method uses mostly free software. Download and install [https://www.retrorgb.com/assets/OBS_Datapath_Capture_2022-01-27.zip RetroRGB's OBS pack]. There are no code changes to OBS. This isn't a fork, just a custom-configured, "portable" build of OBS. This is hosted here for free, in accordance with the OBS team's license.  
This capture method uses mostly free software. Download and install [https://www.retrorgb.com/assets/OBS_Datapath_Capture_2022-01-27.zip RetroRGB's OBS pack]. There are no code changes to OBS. This isn't a fork, just a custom-configured, "portable" build of OBS. This is hosted here for free, in accordance with the OBS team's license.  


No codecs are needed for recording, but if you have trouble playing [https://www.videohelp.com/software/Ut-Video-Codec-Suite the UTVideo] files back, use [https://portableapps.com/apps/music_video/mpc-hc-portable MPC-HC], no installation needed.
No codecs are needed for recording, but if you have trouble playing [https://www.videohelp.com/software/Ut-Video-Codec-Suite the UTVideo] files back, use [https://portableapps.com/apps/music_video/mpc-hc-portable MPC-HC], no installation needed.
Line 11: Line 13:
# Extract the zip file to a permanent location on your PC. The main exe is "OBS Capture\\bin\\64bit\\obs64.exe".
# Extract the zip file to a permanent location on your PC. The main exe is "OBS Capture\\bin\\64bit\\obs64.exe".
# Right click on "obs64.exe" and hit "create shortcut". Drag that shortcut to your desktop. It's recommended to rename it something like "OBS Uncompressed" so you don't confuse it with other OBS installations.
# Right click on "obs64.exe" and hit "create shortcut". Drag that shortcut to your desktop. It's recommended to rename it something like "OBS Uncompressed" so you don't confuse it with other OBS installations.
# Open the software and you'll be at the main window. If you're using a Datapath Vision capture card, you'll need to use [https://github.com/beeanyew/datapath-RGBeasy beeanyew's "RGBEasy" plugin] to capture video, not "Video Capture Device" - which is pre-installed. <br> [[File:OBSUncompressedJan22-Main.png|400px]].
# Open the software and you'll be at the main window. If you're using a Datapath Vision capture card, you'll need to use [https://github.com/beeanyew/datapath-RGBeasy beeanyew's "RGBEasy" plugin] to capture video, not "Video Capture Device" - which is pre-installed. <br> [[File:OBSUncompressedJan22-Main.png|400px]].
# Click "Settings" in the lower right, then "Output" on the left and set your recording path. Also, make sure "Lossless" is selected for uncompressed captures: <br> [[File:OBSUncompressedJan22-Output.png|400px]]
# Click "Settings" in the lower right, then "Output" on the left and set your recording path. Also, make sure "Lossless" is selected for uncompressed captures: <br> [[File:OBSUncompressedJan22-Output.png|400px]]
# Click "Audio" on the left and set your settings. You might want to set it to "mono" for non-stereo consoles: <br> [[File:OBSUncompressedJan22-Audio.png|400px]]
# Click "Audio" on the left and set your settings. You might want to set it to "mono" for non-stereo consoles: <br> [[File:OBSUncompressedJan22-Audio.png|400px]]
# Now click the "Video" option on the left and set the resolution to match _exactly_ what your source is. Then set your framerate: <br> [[File:OBSUncompressedJan22-Video.png|400px]]
# Now click the "Video" option on the left and set the resolution to match _exactly_ what your source is. Then set your framerate: <br> [[File:OBSUncompressedJan22-Video.png|400px]]
# Click on the "Advanced" tab on the left and set the Color Format to RGB, Color Space to 709 and Color Range to Full. You may need to adjust space and range based on your source, but its s recommended to set them as seen below. <br> [[File:OBSUncompressedJan22-Advanced.png|400px]]
# Click on the "Advanced" tab on the left and set the Color Format to RGB, Color Space to 709 and Color Range to Full. You may need to adjust space and range based on your source, but its s recommended to set them as seen below. <br> [[File:OBSUncompressedJan22-Advanced.png|400px]]


== Capture Card Direct-Capture Method ==
== Capture Card Direct-Capture Method ==
Line 22: Line 24:


There are three changes to make, each time you capture via this method:
There are three changes to make, each time you capture via this method:
# Add a video source by pressing the + button and selecting "Video Capture Device" (unless you're using a Datapath card, then choose RGBEasy as shown in the first picture on this page): [[[File:OBS_AddVideoSource.jpg)](https://cdn.retrorgb.com/wp-content/uploads/2019/03/OBS_AddVideoSource.jpg]]
# Add a video source by pressing the + button and selecting "Video Capture Device" (unless you're using a Datapath card, then choose RGBEasy as shown in the first picture on this page):
# You can name this anything you'd like, or leave it as default [[[File:OBS_AddVideoSource2.jpg)](https://cdn.retrorgb.com/wp-content/uploads/2019/03/OBS_AddVideoSource2.jpg]]
#: [[File:OBS_AddVideoSource.jpg]]
# You can name this anything you'd like, or leave it as default
#: [[File:OBS_AddVideoSource2.jpg]]
# Now here's the very important capture settings that you need to get exactly right! - Set the "Device" to the capture card you're using.  
# Now here's the very important capture settings that you need to get exactly right! - Set the "Device" to the capture card you're using.  
#* `Resolution/FPS Type = Custom` - Enter the _exact_ resolution that's being sent to your capture card. If you're doing analog capture via a Datapath card, make _sure_ the resolution matches what's listed on the Input tab of the Vision window!
#* `Resolution/FPS Type = Custom` - Enter the _exact_ resolution that's being sent to your capture card. If you're doing analog capture via a Datapath card, make _sure_ the resolution matches what's listed on the Input tab of the Vision window!
#* `FPS = Highest FPS` - Video Format should be set to what you're capturing. In most cases it will be XRGB.  
#* `FPS = Highest FPS` - Video Format should be set to what you're capturing. In most cases it will be XRGB.  
#* `YUV Color Space` - Should be set to match the source device
#* `YUV Color Space` - Should be set to match the source device
#* `YUV Color Range = Full`
#* `YUV Color Range = Full`
Line 32: Line 36:
#: [[File:OBS_VideoCaptureDeviceConfig.jpg|400px]]
#: [[File:OBS_VideoCaptureDeviceConfig.jpg|400px]]
# Click OK.
# Click OK.
# Right click on the video inside the OBS window and set your preview scaling. If you just need to view the window, I recommend leaving it at "Scale to Window" so the entire image will fit. If you need to use the screen for calibration, you can set it to "Canvas" and get a 100% "zoom" of the image. <br> [[File:OBS_ScaleToWindow.jpg|400px]]
# Right click on the video inside the OBS window and set your preview scaling. If you just need to view the window, leave it at "Scale to Window" so the entire image will fit. If you need to use the screen for calibration, you can set it to "Canvas" and get a 100% "zoom" of the image. <br> [[File:OBS_ScaleToWindow.jpg|400px]]
# Make sure your audio device is listed and working. You might need to add another source and configure your Audio Input Device.
# Make sure your audio device is listed and working. You might need to add another source and configure your Audio Input Device.
# Click "Start Recording" and your uncompressed video will save to the target directory.
# Click "Start Recording" and your uncompressed video will save to the target directory.
#* Here's a quick example of the results of this 720p capture, uploaded directly to YouTube with no other post-processing: <br> <youtube>https://youtu.be/f75Z3AIV6PY</youtube></ol>
#* Here's a quick example of the results of this 720p capture, uploaded directly to YouTube with no other post-processing: <br> <youtube>https://youtu.be/f75Z3AIV6PY</youtube></ol>
Line 39: Line 43:
== Window Capture Method ==
== Window Capture Method ==


Another method of video capture that's often used is recording the preview window of your capture card. This logic is that you can properly calibrate all of the settings directly via the capture card and not have any calibration via the recording software.
Another method of video capture that's often used is recording the preview window of your capture card. This logic is that you can properly calibrate all of the settings directly via the capture card and not have any calibration via the recording software.


# Fully configure your capture card and leave the preview window open.
# Fully configure your capture card and leave the preview window open.
Line 47: Line 51:
# Make sure the Base (Canvas) and Output (Scaled) Resolutions are both set to exactly the same as what your video capture device shows! <br> [[File:OBS_VideoOutputLowRez.jpg|400px]]
# Make sure the Base (Canvas) and Output (Scaled) Resolutions are both set to exactly the same as what your video capture device shows! <br> [[File:OBS_VideoOutputLowRez.jpg|400px]]
# Click OK to go back to the main OBS screen.
# Click OK to go back to the main OBS screen.
# Right click on the video inside the OBS window and set your preview scaling. For low-resolution sources, you should leave it set to "Canvas" to get the sharpest image. If you'd like a bigger preview window, you can set it to "Scale to Window", then adjust the size of the program: <br> [[File:OBS_ScaleToWindowLowRez.jpg|400px]]
# Right click on the video inside the OBS window and set your preview scaling. For low-resolution sources, you should leave it set to "Canvas" to get the sharpest image. If you'd like a bigger preview window, you can set it to "Scale to Window", then adjust the size of the program: <br> [[File:OBS_ScaleToWindowLowRez.jpg|400px]]
# Make sure your audio device is listed and working. You might need to add another source and configure your Audio Input Device.
# Make sure your audio device is listed and working. You might need to add another source and configure your Audio Input Device.
# Click "Start Recording" to begin capturing. Here's an example of a Sega Genesis game captured with this method, then scaled.
# Click "Start Recording" to begin capturing. Here's an example of a Sega Genesis game captured with this method, then scaled.
#: <youtube>https://youtu.be/Uol04xcHyDM</youtube>
#: <youtube>https://youtu.be/Uol04xcHyDM</youtube>

Latest revision as of 13:58, 14 July 2023

This page shows you how to use a custom-configured "portable" build of the Open Broadcast Software to get excellent quality, lossless game captures. You won't be able to dial in the exact fps of the console, but some people might prefer this software over others, as it's free and open-source. If you find OBS useful, please consider supporting their team: https://www.patreon.com/obsproject

See RetroRGB's write-up comparing this video capture method to others.

Required Software

This capture method uses mostly free software. Download and install RetroRGB's OBS pack. There are no code changes to OBS. This isn't a fork, just a custom-configured, "portable" build of OBS. This is hosted here for free, in accordance with the OBS team's license.

No codecs are needed for recording, but if you have trouble playing the UTVideo files back, use MPC-HC, no installation needed.

Installation and Configuration

  1. Extract the zip file to a permanent location on your PC. The main exe is "OBS Capture\\bin\\64bit\\obs64.exe".
  2. Right click on "obs64.exe" and hit "create shortcut". Drag that shortcut to your desktop. It's recommended to rename it something like "OBS Uncompressed" so you don't confuse it with other OBS installations.
  3. Open the software and you'll be at the main window. If you're using a Datapath Vision capture card, you'll need to use beeanyew's "RGBEasy" plugin to capture video, not "Video Capture Device" - which is pre-installed.
    OBSUncompressedJan22-Main.png.
  4. Click "Settings" in the lower right, then "Output" on the left and set your recording path. Also, make sure "Lossless" is selected for uncompressed captures:
    OBSUncompressedJan22-Output.png
  5. Click "Audio" on the left and set your settings. You might want to set it to "mono" for non-stereo consoles:
    OBSUncompressedJan22-Audio.png
  6. Now click the "Video" option on the left and set the resolution to match _exactly_ what your source is. Then set your framerate:
    OBSUncompressedJan22-Video.png
  7. Click on the "Advanced" tab on the left and set the Color Format to RGB, Color Space to 709 and Color Range to Full. You may need to adjust space and range based on your source, but its s recommended to set them as seen below.
    OBSUncompressedJan22-Advanced.png

Capture Card Direct-Capture Method

Exclamation-circle-fill.svgIf you're using the Datapath direct capture method, make SURE you're using beeanyew's "RGBEasy" plugin (included in the above zip) and you've completed this page and your Vision window is loaded and configured before starting!


There are three changes to make, each time you capture via this method:

  1. Add a video source by pressing the + button and selecting "Video Capture Device" (unless you're using a Datapath card, then choose RGBEasy as shown in the first picture on this page):
    OBS AddVideoSource.jpg
  2. You can name this anything you'd like, or leave it as default
    OBS AddVideoSource2.jpg
  3. Now here's the very important capture settings that you need to get exactly right! - Set the "Device" to the capture card you're using.
    • Resolution/FPS Type = Custom - Enter the _exact_ resolution that's being sent to your capture card. If you're doing analog capture via a Datapath card, make _sure_ the resolution matches what's listed on the Input tab of the Vision window!
    • FPS = Highest FPS - Video Format should be set to what you're capturing. In most cases it will be XRGB.
    • YUV Color Space - Should be set to match the source device
    • YUV Color Range = Full
    • Buffering = Auto-Detect
    OBS VideoCaptureDeviceConfig.jpg
  4. Click OK.
  5. Right click on the video inside the OBS window and set your preview scaling. If you just need to view the window, leave it at "Scale to Window" so the entire image will fit. If you need to use the screen for calibration, you can set it to "Canvas" and get a 100% "zoom" of the image.
    OBS ScaleToWindow.jpg
  6. Make sure your audio device is listed and working. You might need to add another source and configure your Audio Input Device.
  7. Click "Start Recording" and your uncompressed video will save to the target directory.
    • Here's a quick example of the results of this 720p capture, uploaded directly to YouTube with no other post-processing:

Window Capture Method

Another method of video capture that's often used is recording the preview window of your capture card. This logic is that you can properly calibrate all of the settings directly via the capture card and not have any calibration via the recording software.

  1. Fully configure your capture card and leave the preview window open.
  2. In OBS, add a new source and select Window Capture, then name it whatever you'd like.
    OBS AddWindowCapture.jpg
  3. Next, select your capture card's window from the drop-down menu. Uncheck "Capture Cursor", so you won't accidentally get an arrow in your recording.
    OBS AddWindowCapture2.jpg
  4. Click OK and then go into the Settings menu and select Video.
  5. Make sure the Base (Canvas) and Output (Scaled) Resolutions are both set to exactly the same as what your video capture device shows!
    OBS VideoOutputLowRez.jpg
  6. Click OK to go back to the main OBS screen.
  7. Right click on the video inside the OBS window and set your preview scaling. For low-resolution sources, you should leave it set to "Canvas" to get the sharpest image. If you'd like a bigger preview window, you can set it to "Scale to Window", then adjust the size of the program:
    OBS ScaleToWindowLowRez.jpg
  8. Make sure your audio device is listed and working. You might need to add another source and configure your Audio Input Device.
  9. Click "Start Recording" to begin capturing. Here's an example of a Sega Genesis game captured with this method, then scaled.