The Elite Forum

The Big Three Plus One => GoldenEye 007 => Topic started by: DYM on July 13, 2019, 12:01:41 pm

Title: ** The Raw Gameplay + Streaming Guide Without Using AmaRec **
Post by: DYM on July 13, 2019, 12:01:41 pm
The Raw Gameplay + Streaming Guide Without Using AmaRec



#SayNoToAmaRec (https://i.imgur.com/t2iTkUk.png)




(https://i.imgur.com/Y3KRstP.png)


(https://i.imgur.com/7tezxsx.png)


Credits to Banz for the actual guide (and his base script used at the end of this guide). I am expounding on it, and marketing the guide so that everyone uses this. This will solve every recording problem every Eliter has faced in the past 5 years (https://i.imgur.com/t2iTkUk.png).


(https://i.imgur.com/woKXhty.png)


(https://i.imgur.com/sWBYmsY.png)


You can download the latest version of OBS Studio from here:
https://obsproject.com/download


Before we begin, let me show you what the objective is here:


(https://i.imgur.com/6QH734D.png)


You see, we have 2 instances of OBS. One is the actual, raw gameplay footage (left) with nothing else on the scene, and the other is your stream layout (right). It's important to note that there is only one instance of the Video Capture Device (your GV-USB, EasyCap, AceCorp HQ Streamstick, etc.) running even though we have 2 instances of OBS. This is on the game feed (left instance of OBS), and it transfers over to the other (right) instance of OBS using some amazing Network Tech. You cannot have two instances of your Video Capture Device running, so simply running two instances of OBS and adding the Capture Device to each will not work. If it did, this guide wouldn't exist.

1. Install The Healthy Network Tech

Download this: https://github.com/Palakis/obs-ndi/releases/download/4.6.0/obs-ndi-4.6.0-Windows-Installer.exe

(https://i.imgur.com/oWuAksM.png)

https://obsproject.com/forum/resources/obs-ndi-newtek-ndi%E2%84%A2-integration-into-obs-studio.528/
The download button is on the right side of the page. Click it, scroll to the very bottom of the next page and click on 'obs-ndi-XX.XX.0-Windows-Installer.exe'. The XX.XX is 4.6 for now, since that is the latest version. I don't think this is important.

Install the program. It should take a few minutes only.

(https://i.imgur.com/R5d7gkd.png)


2. Configure Two OBS Instances (Gamefeed & Stream)

Open two instances of OBS. The second time you run it, you'll probably get a message that OBS is already running. That's fine, click "Launch Anyway":

(https://i.imgur.com/k8iYYhZ.png)




(https://i.imgur.com/SfG4ZYx.png)




On any OBS instance, click the Tools menu. You should see this:

(https://i.imgur.com/Mh4lT4u.png)

If you did, we're good. Now, click on the Profile Menu. You should see this:

(https://i.imgur.com/Wupcfrs.png)

Using the rename button, rename the current Scene Collection to Stream:

(https://i.imgur.com/Dis76It.png)

Then, on the other instance of OBS, add a new Scene Collection called Gamefeed. Make sure you don't make any typos here.

(https://i.imgur.com/EZMVoBj.png)

This is how you can identify them (notice the red boxes at the top):

(https://i.imgur.com/tT1kIh6.png)

On the Gamefeed OBS, click the Profile menu again. You should see this. Make sure 'Gamefeed' is ticked. If not, tick it.

(https://i.imgur.com/5lPmO3l.png)

Then, click on the Tools -> NDI(TM) Output Settings, and tick "Main Output". You can provide any name you want. You don't need to remember it.

(https://i.imgur.com/Pb9GyEH.png)


3. Setup The Raw Gameplay OBS

On your Gamefeed OBS, add another scene. I've called mine 'Raw Gameplay':

(https://i.imgur.com/bKKrxsq.png)

Go to the File -> Settings menu. Click the Video Tab, and change the Base & Canvas Resolution to 720x480:

(https://i.imgur.com/U0NFlEv.png)

Click OK. Then, add your Video Capture Device from the Sources area:

(https://i.imgur.com/eUdq5E0.png)

I have a GV-USB2, so I will select that option:

(https://i.imgur.com/9ruonqb.png)

Hit enter. If your game and capture card are both connected, you should see it on the Gamefeed OBS.

But we're not done yet. Right click your capture card source, click Deinterlacing and either select "Disable" or "Yadif 2x". Whatever works best for you.

(https://i.imgur.com/Z7xrHhn.png)

If you're playing NTSC and the game looks a bit dark, right click the capture card source -> Properties -> Configure Video -> Video Decoder tab -> change the feed to NTSC_M_J:

(https://i.imgur.com/ypxIvgk.png)

In the custom properties tab, change VID DEINTERFACE METHOD (top-left most property) to WEAVE.

(https://i.imgur.com/isV58WK.png)


(https://i.imgur.com/4tVLW2T.png)


(https://i.imgur.com/tC2fhxj.png)



4. Transferring the Raw Gameplay over to the stream

Head over to the Stream OBS instance. Right click your source area, and add an NDI Source. Call it whatever you want:

(https://i.imgur.com/IO1IIxQ.png)

Then, click the drop down button for Source Name. Your Gamefeed OBS output should be listed:

(https://i.imgur.com/lVqDpwn.png)

If it doesn't show, it means you did something wrong. If it does, it should load the raw gameplay feed after a couple of seconds. Your screens should look something like this:

(https://i.imgur.com/DhKGrsG.png)

Notice the red boxes at the top, showing which OBS is which. The red box in the source area of the Stream OBS shows the NDI source from the Gamefeed source. The yellow box shows the other media I use for my stream layout.


(https://i.imgur.com/FDc30Ol.png)



5. The script to run these instances for you


Everything is ready, but it'd be cumbersome to load 2 instances of OBS every time you stream. We are going to write a small script to do everything for you, including recording your raw gameplay and load a NintendoSpy Input Display in case you own one.


On your desktop, create a new text file. Fill it with the following contents:

@Echo off
cd "C:\Users\StreamTTYD\Downloads\Nintendo Spy\"
START "NintendoSpy" "C:\Users\StreamTTYD\Downloads\Nintendo Spy\NintendoSpy.exe"
timeout 1
cd "C:\Program Files\obs-studio\bin\32bit\"
START "OBS Studio" "C:\Program Files\obs-studio\bin\32bit\obs32.exe" --profile "Gamefeed" --collection "Gamefeed" -m --minimize-to-tray --startrecording
timeout 1
START "OBS Studio" "C:\Program Files\obs-studio\bin\32bit\obs32.exe" --profile "Stream" --collection "Stream" -m


You need to change a few things here. If you are using the 64-bit version of OBS, change every 32 indicated in yellow to 64. If your OBS is in another directory, change the entire path accordingly.
The green text needs to be the directory of your input display. If you do not own an input display, you can delete lines 2, 3 & 4 in the code.

If you do not want the Gamefeed OBS to start recording every time it opens, you can delete the purple text "--startrecording".

Save the file, and rename it with a .bat extension.

When you are done with this, close all instances of OBS & NintendoSpy. Then double click the .bat file to run it. If all goes well, the NintendoSpy should open first, followed by the Gamefeed OBS, and then the Stream OBS.

The Gamefeed OBS is hidden in the system tray. If you look carefully, you can see the red circle indicating that Recording Mode is on:

(https://i.imgur.com/ZuDm67q.png)

And that's it. Every time you load the .bat file, your Gamefeed will automatically start recording your raw gameplay in the background and your Stream OBS will be ready for streaming.


If you face any problems, feel free to stop by the-elite Discord (https://discordapp.com/invite/NHHzCSt) and post your question in the "hardware-and-streaming" channel.
Title: Re: *** TSAASBWOAFEECP ***
Post by: Joris on July 13, 2019, 12:08:25 pm
Why do people hate amarec so much?
Title: Re: *** TSAASBWOAFEECP ***
Post by: DYM on July 13, 2019, 12:13:22 pm
Click the very first link of the OP to find out.
Title: Re: ** The Raw Gameplay + Streaming Guide Without Using AmaRec **
Post by: Wouter Jansen on August 14, 2019, 10:03:59 am
Do you open a homepage?

Amazing tutorial, textual and visual. mate props
Title: Re: ** The Raw Gameplay + Streaming Guide Without Using AmaRec **
Post by: Cal on November 17, 2019, 04:32:53 am
If you're finding a bit of lag between your Gamefeed and Stream then try this.

Rather than sending the whole gamefeed scene via NDI you can just send one souce- which is all you're probably recording if you're capturing raw.

Do this by applying a filter to the source (right click on your capture card, then select filter).
Apply a 'Dedicated NDI Output'.

(https://i.imgur.com/WRdIRt6.png)

This is instead of sending NDI via Tools > NDI output settings