Advanced
Performance Optimization
Tips and best practices for optimizing Segra's recording performance and minimizing impact on your games
Segra is designed to have minimal performance impact on your games, but optimal settings depend on your hardware. This guide will help you get the best recording quality while maintaining smooth gameplay.
Understanding Performance Impact
Well-configured Segra typically causes 1-5% FPS reduction in games when using hardware encoding.
Performance Factors
The main factors affecting performance are:
- Encoder Type (CPU vs GPU) - Biggest impact
- Recording Resolution - Moderate impact
- Frame Rate - Moderate impact
- Bitrate and Rate Control - Minor impact
- Audio Sources - Minimal impact
Choosing the Right Encoder
Your encoder choice is the most important performance decision.
Best for: NVIDIA RTX/GTX users
Pros:
- Dedicated hardware encoder (minimal game performance impact)
- Excellent quality at high bitrates
- Support for H.264 and HEVC
- Very low CPU usage
Cons:
- Requires NVIDIA GPU (GTX 600+)
- Consumer GPUs limited to 3 concurrent sessions
- Slightly larger file sizes than x264 at same quality
Recommended Settings:
- Rate Control: VBR (Variable Bitrate)
- Preset: Quality
- Min Bitrate: 70 Mbps (1080p) / 100 Mbps (1440p)
- Max Bitrate: 100 Mbps (1080p) / 150 Mbps (1440p)
Best for: AMD Radeon users
Pros:
- Dedicated hardware encoder
- No game performance impact
- Good quality with recent drivers
- Lower CPU usage
Cons:
- Requires AMD GPU (GCN or newer)
- Quality slightly below NVENC
- Requires updated AMD drivers
Recommended Settings:
- Rate Control: VBR
- Preset: Quality
- Min Bitrate: 80 Mbps (1080p) / 110 Mbps (1440p)
- Max Bitrate: 110 Mbps (1080p) / 160 Mbps (1440p)
Best for: Intel CPU with integrated graphics
Pros:
- Uses Intel Quick Sync Video
- Low CPU usage
- Good quality on modern processors (8th gen+)
- Works even with dedicated GPU
Cons:
- Requires Intel integrated graphics enabled
- Quality below NVENC
- May not work on laptops with disabled iGPU
Recommended Settings:
- Rate Control: VBR
- Min Bitrate: 80 Mbps (1080p) / 110 Mbps (1440p)
- Max Bitrate: 110 Mbps (1080p) / 160 Mbps (1440p)
Best for: Systems without hardware encoder support
Pros:
- Works on any system
- Best quality per bitrate
- Highly configurable
- No GPU requirements
Cons:
- High CPU usage (can impact game FPS)
- Not recommended for CPU-intensive games
- Requires powerful CPU for 1080p60
Recommended Settings:
- Rate Control: CRF (Constant Rate Factor)
- CRF Value: 18-23 (lower = better quality)
- Preset: veryfast or faster
- Only use if you have a high-end CPU (8+ cores)
Avoid x264 encoder if:
- You have a hardware encoder available (NVENC/AMF/QSV)
- Your game is CPU-intensive (strategy games, simulations)
- Your CPU has fewer than 6 cores
Resolution and Frame Rate
Recording Resolution
Recording resolution is independent of your game resolution. You can play at 4K and record at 1080p.
Segra automatically scales your game capture to the configured recording resolution:
Recommendations:
- 1080p: Ideal for most users, good quality, small file sizes
- 1440p: Sweet spot for modern gaming monitors
- 4K: Only if you have powerful hardware and storage
Frame Rate
Segra exposes preset frame rates of 24, 30, 60, 120, and 144 FPS. The two most common choices are:
Pros:
- Smooth gameplay footage
- Better for fast-paced games
- Modern standard
Cons:
- 2x encoding load vs 30 FPS
- Larger file sizes
Pros:
- 50% less encoding load
- Smaller file sizes
- Still acceptable quality
Cons:
- Choppy for fast motion
- Not ideal for competitive games
Recommendation: Use 60 FPS with hardware encoding. Only drop to 30 FPS if experiencing performance issues.
Bitrate and Quality Settings
Understanding Rate Control
Segra supports multiple rate control methods:
Variable Bitrate - Quality adapts to scene complexity
How it works:
- Simple scenes use lower bitrate
- Complex/fast scenes use higher bitrate
- Specified as min and max range
Best for:
- Hardware encoders (NVENC/AMF/QSV)
- Most efficient quality/size ratio
- Recording varied content
Recommended Values (1080p60):
Min Bitrate: 70 Mbps
Max Bitrate: 100 MbpsConstant Bitrate - Fixed bitrate throughout
How it works:
- Always uses target bitrate
- Predictable file sizes
- May waste bits in simple scenes
Best for:
- Streaming workflows
- Predictable file sizes
- Network recording
Recommended Values (1080p60):
Bitrate: 80 MbpsConstant Rate Factor - Fixed quality level
How it works:
- Maintains visual quality target
- Bitrate varies significantly
- Used by x264 software encoder
Best for:
- x264 (CPU) encoding only
- Archival quality recordings
Recommended Values:
CRF: 18-23 (lower = better)Constant Quantization Parameter - Hardware CRF equivalent
How it works:
- Fixed quality per frame
- Similar to CRF for hardware encoders
- Lower values = better quality
Best for:
- Hardware encoders preferring quality over size
- High-end systems
Recommended Values:
CQP Level: 18-23Bitrate Recommendations by Resolution
Higher bitrate = better quality but larger files. These values balance quality and file size.
Audio Optimization
Audio Source Configuration
More audio sources = minimal performance impact, but larger file sizes and more complex mixing.
Best Practices:
- Use only needed sources: Don't add unused microphones/devices
- Force Mono for microphones: Reduces file size with no quality loss (click the Mono toggle next to each input device in Settings → Audio)
- Disable unused tracks: Don't enable separate audio tracks unless you need them for editing
Audio Output Modes
Choose the right mode for your workflow:
All Audio (Default)
Records all desktop audio sources.
Performance: Minimal impact
Best for: Simple recording, no editing needed
Game Only
Records only game audio (mutes desktop audio when hooked).
Performance: Same as All Audio
Best for: Isolating game sounds, removing desktop notifications
Note: Requires game capture to hook successfully
Game + Discord
Records game and Discord voice chat on separate tracks.
Performance: Slightly higher (additional audio source)
Best for: Team games, collaborative content
Note: Creates separate track for Discord audio in recordings
Separate Audio Tracks
Enabling separate audio tracks increases file size by ~5-10% per additional track.
When to use:
- Advanced video editing workflows
- Need independent volume control in post-production
- Recording podcasts or collaborative content
When to skip:
- Simple clipping and sharing
- Storage space is limited
- Don't edit recordings
Capture Method Selection
Segra picks the capture backend automatically — there's no user-facing switch. The three sources it uses in order are:
- Game Capture (OBS graphics hook) — used whenever the hook attaches. Lowest overhead.
- Window Capture via Windows Graphics Capture (WGC) — used as the first fallback, targeted at the game window. Works with variable refresh rate and multi-monitor setups. Can't capture exclusive fullscreen or minimized windows.
- Display Capture via DXGI Desktop Duplication — used when the window fallback can't deliver frames (exclusive fullscreen, minimized) and for manual recordings.
If you're seeing black screens or high overhead during fallback capture, check whether the game is running in exclusive fullscreen (which forces Display Capture); switching to borderless windowed lets Window Capture take over and typically lowers CPU/GPU cost.
Replay Buffer Optimization
Memory Management
Replay buffer keeps recent footage in memory before writing to disk:
Formula: Memory Usage ≈ Duration × Bitrate ÷ 8
Example: 30s @ 80 Mbps = ~300 MB RAM
Settings to adjust:
-
Buffer Duration (Settings → Video → Replay Buffer Duration)
- Default: 30 seconds
- Longer = more memory usage
- Recommendation: 30-60 seconds
-
Max File Size (Settings → Video → Replay Buffer Max Size)
- Default: 1000 MB (1 GB)
- Prevents buffer from growing too large
- Increase if you have RAM to spare
Hybrid Mode Considerations
Hybrid mode runs session recording AND replay buffer simultaneously, doubling the encoding load.
Performance impact of Hybrid mode:
- 2x encoder usage
- 2x write operations to disk
- Higher memory usage
Recommendations:
- Only use with hardware encoders (NVENC/AMF/QSV)
- Ensure SSD for content folder (reduces disk bottleneck)
- Monitor system performance during recording
System-Specific Optimizations
High-End Systems (RTX 3080+, Ryzen 7+)
Recommended Settings:
Encoder: NVENC/AMF
Resolution: 1440p or 4K
Frame Rate: 60 FPS
Rate Control: VBR (100-150 Mbps)
Recording Mode: Hybrid
Audio Tracks: Separate tracks enabledMid-Range Systems (RTX 3060, Ryzen 5)
Recommended Settings:
Encoder: NVENC/AMF/QSV
Resolution: 1080p
Frame Rate: 60 FPS
Rate Control: VBR (70-100 Mbps)
Recording Mode: Hybrid or Session
Audio Tracks: Single trackBudget Systems (GTX 1660, Intel i5)
Recommended Settings:
Encoder: NVENC/QSV (avoid x264)
Resolution: 1080p
Frame Rate: 60 FPS (or 30 FPS if struggling)
Rate Control: VBR (50-70 Mbps)
Recording Mode: Buffer only
Audio Tracks: Single trackLaptops
Laptops may throttle during extended recording sessions due to thermal limits.
Laptop-Specific Tips:
- Use laptop cooling pad
- Set power plan to "High Performance" when recording
- Lower bitrate to reduce heat generation
- Ensure dedicated GPU is being used (not integrated graphics)
- Record to external SSD if possible (reduces internal drive heat)
Storage Performance
Drive Types
Quick Math: At 100 Mbps bitrate, you need 12.5 MB/s sustained write speed. Most SSDs can handle this easily.
Content Folder Location
Optimal content folder locations:
- Best: Dedicated NVMe SSD (separate from OS drive)
- Good: Secondary SATA SSD
- Acceptable: Same SSD as OS (may impact system responsiveness)
- Avoid: Mechanical HDD (may cause dropped frames)
Monitoring Performance
During Recording
Monitor CPU, GPU, RAM, and Disk usage:
- Open Task Manager (Ctrl+Shift+Esc)
- Performance tab
- Watch for maxed-out resources
Use game's built-in FPS counter or tools like:
- NVIDIA GeForce Experience overlay
- MSI Afterburner
- Steam FPS counter
Look for warnings about:
- Encoding lag
- Dropped frames
- Disk write errors
Location: %AppData%/Segra/logs.log
Signs of Performance Issues
Watch for these symptoms:
- Stuttering gameplay
- Dropped frames in recording
- Audio desync
- Disk usage at 100%
- CPU/GPU maxed out
If you see these issues, reduce recording settings incrementally:
- Lower bitrate by 20%
- Reduce resolution one step (4K → 1440p → 1080p)
- Drop frame rate to 30 FPS
- Disable separate audio tracks
- Switch recording mode (Hybrid → Session or Buffer)
Advanced Tips
Process Priority
Segra automatically sets itself to High priority during recording to ensure smooth encoding.
This is handled automatically in OBSService.cs (search for SetProcessPriority):
GeneralUtils.SetProcessPriority(ProcessPriorityClass.High);Multi-GPU Systems
If you have multiple GPUs (e.g., laptop with iGPU + dGPU):
-
Ensure Segra runs on dedicated GPU:
- Windows Settings → System → Display → Graphics
- Add Segra.exe → High Performance
-
Use matching encoder:
- NVIDIA dGPU → NVENC
- Intel iGPU → QSV (only if game isn't GPU-intensive)
4:3 Aspect Ratio Games
Segra automatically detects and stretches 4:3 content to 16:9 (configurable in Settings).
This adds minimal performance overhead and prevents black bars in recordings.
Benchmarking Your Settings
Measure game FPS without recording (5-minute session)
Record 5 minutes with your desired settings
Measure average FPS during recording
FPS Impact % = ((Baseline - Recording) / Baseline) × 100
Target: < 5% impact
If impact > 5%, reduce settings incrementally
Retest until acceptable