> [!IMPORTANT] > All of the programs are needed to make LPRT fully function! # Setup ## Installing LPRT Pretty simple just unpack the `.zip` or `.7z` file into a folder of your choice. ### First Startup Open `lprt.exe` ## Connecting LPRT to OBS 1. Installation - Download & Install OBS like you do it with any other program. Get it from the [OBS Website](https://obsproject.com/de) or use the [Steam version](https://store.steampowered.com/app/1905180/OBS_Studio/) - > OBS Version 30 or greater recommended. 2. Set your OBS Settings * Go to Settings * Go to Output & set the Output Mode to `Advanced` * [The Encoder Settings](#obs-encoding-options) * [The Recording Settings](#obs-recording-options) * [The Audio Settings](#obs-audio-settings) 3. Enable the OBS Webserver - Open OBS - Click on the `tools` dropdown - Click on `Websocket Server-Settings` - Activate `Websocket Server` - Activate `authentification`! - Generate a new password - Click on show `Connection information` - Update the OBS Settings in LPRT - You can change the settings manually by copy the `ip`, `port` & `password` into `{ROOT}/obs_settings.json`. ```json { "ip": "{your ip}", "port": "{your port}", "pw": "{your password}", "timeout": 1 } ``` 4. First Recording - Open LPRT & OBS - Go to the recording page - ![like-this](img/connect%20to%20obs.PNG) - Select a lets play(Nothings shows up? No problem.) - ![like-this](img/select_lp.PNG) - Press the connect button - ![like-this](img/obs%20connected.PNG) - Start Recording in OBS - You see your recording time & LPRT will create data for further automation. ## OBS Audio Settings |setting|value| |---|---| |Track 1 - Audio Bitrate|192| |Track 1 - Name|Mic| |Track 2 - Audio Bitrate|192| |Track 2 - Name|Desktop| |Track 3 - Audio Bitrate|64| |Track 3 - Name|Sync| > [!NOTE] > You need at least 2 Tracks for LPRT Automation otherwise some features might not work as expected! > Track 1 must be the `MIC` sound & Track 2 must be the `DESKTOP` sound! ## OBS Recording Options The are my settings for recording. Feel free to choose your own, if it works! |setting|value| |---|---| |Recording Path|**In my case it is** _C:/Users/{*username*}/Videos_| |Generate File Name without Space|False| |Recording Format|MPEG-4 (.mp4)| |Video Encoder|**In my case it is** _NVIDIA NVENC H.264_. You will record via CPU? Then select _x264_| |Audio Encoder|FFmpeg AAC| |Audio Track|At minimum _1 & 2_. If you want to have a sync track, select: _1, 2 & 3_| |Rescale Output|Disabled| |Custom Muxer Settings|Empty| |Automatic File Splitting|False| > [!NOTE] > In case of BSOD's use MKV as `Recording Format`! > You need to remux the Videos manually, only MP4(H264) is supported by LPRT! > [!NOTE] > Only AAC/AC3(AC3 is audacity export only) is supported as audio format! ## OBS Encoding Options The are my settings for recording. Feel free to choose your own, if it works! |setting|value| |---|---| |Rate Control|CBR| |Bitrate|10000kbps| |Keyframe Interval|0s| |Preset|P5:Slow| |Tuning|High Quality| |Multipass Mode|Two Passes(Quarter Resolution)| |Profile|high| |Look ahead|True| |Pycho Visual Tuning|True| |GPU|**the id of your gpu, normally 0**| |B-Frames|2| ## Connecting to Audacity 1. Installation - Audacity itself - Download & Install Audacity like you do it with any other program. (You need to remember the audacity filepath!) - Get the 3.0.0 Audacity version from [here](https://www.fosshub.com/Audacity-old.html) - > Currently only Audacity 3.0.0 is supported. > > Other versions might not work as expected! 2. First startup - On the first startup you need to enable the modpipe. - !["like-this"](img/audacity%20to%20settings.PNG) - Go to Edit > Settings - !["like-this"](img/audacity%20settings%20to%20modules.PNG) - Go to Module & enable mod-script-pipe - Restart Audacity for the next step 3. Installation - FFMPEG for Audacity - Download the 2.2.2 version from [here](https://lame.buanzo.org/) - > Currently only FFMPEG-Audacity 2.2.2 is supported. - Go to Edit > Settings - !["like-this"](img/audacity%20to%20settings.PNG) - Goto Libraries > search - !["like-this"](img/audacity%20ffmpeg.PNG) - A filedialog open up. - Select the `avformat-55.dll` normally located in `C:\Program Files\FFmpeg For Audacity\`. (Only if Audacity does this not automatically) - Restart Audacity ## FFMPEG Installation FFMPEG downloads & install automatically > [!WARNING] > The files are from a third-party website! ## Libpng Installation Libpng16-16.dll unpacks automatically on app start!