RTXVideoProcessor
RTXVideoProcessor copied to clipboard
CLI tool to apply NVIDIA RTX VSR upscale and TrueHDR tone-mapping to any video files
RTXVideoProcessor
A high-performance CLI tool that applies NVIDIA RTX Video Super Resolution (VSR) and TrueHDR processing to H.264/H.265 videos using the NVIDIA RTX Video SDK. Can be used as a drop-in FFmpeg replacement with RTX acceleration.
Features
- 🚀 RTX Acceleration: GPU-accelerated Video Super Resolution (2× upscaling) and SDR-to-HDR tone mapping
- 🎯 Drop-in FFmpeg Replacement: FFmpeg syntax support with automatic passthrough for unsupported operations
- 📺 HLS Streaming: Native HLS output with fMP4 or MPEGTS segments
- 🌐 Network Streaming: Supports HTTP/HTTPS/RTMP/RTSP/TCP/UDP input streams
- 🔄 Zero-copy Pipeline: GPU processing without CPU roundtrips for maximum performance
- 🎬 Stream Mapping: FFmpeg-style
-mapsubset for stream control (common cases) - 🎵 Audio Passthrough: All audio/subtitle streams copied verbatim or transcoded as needed
- ⚡ Fast Processing: ~2-5× real-time speed on RTX 4070 (preset-dependent)
- 🎨 HDR Metadata: Automatic BT.2020/PQ mastering data injection for TrueHDR output
- 📦 Flexible Formats: MP4, MKV, HLS input/output with pipe and fragmented MP4 support
- Multi-Audio: Per-stream audio processing; initial multi-input plumbing present (experimental)
For detailed information about RTX Video SDK capabilities, see NVIDIA RTX Video SDK Documentation.
Performance
Based on RTX 4070 testing:
- p7 preset: ~2× real-time for 1080p input
- p4 preset: ~3-5× real-time for 1080p input (note: occasional stutters reported)
Project Status: Beta - Limited Production Use
This tool is currently in beta stage and provided as-is without warranty. While functional as an MVP, further refinement is needed for production use.
I've been test driving the tool for a while now and it has generally been working well so far. Also, as I've been working on this tool, I am considering forking ffmpeg directly and adding the RTX features to it. It's getting a bit too complex for me to handle, and reinventing the wheel is not ideal either. I am open to suggestions and feedback.
FFmpeg Compatibility: This is not a full FFmpeg replacement. Only a subset of FFmpeg features have been implemented. Tested primarily with Jellyfin and Stremio; other use cases may require additional features.
Word of caution: This is my first attempt at a C++ project. I am not a professional developer and I am not a C++ developer. This project is as much of a learning experience for me as it is a tool for me. I have never touched C++, CUDA or system programming prior to this project. Majority of the code is generated by AI tools, however, I have --- to my best of knowledge and ability --- attempted to understand and refine the code, ensuring it is as close to production-ready as possible. Contributions and feedback are greatly appreciated, especially from those with FFmpeg/CUDA expertise!
Documentation
For detailed technical documentation about the complete end-to-end pipeline architecture, operating modes, and FFmpeg compatibility behavior, see docs/PIPELINE_ARCHITECTURE.md.
Note: Documentation may contain slight inaccuracies as the codebase evolves. If you notice discrepancies between documentation and actual behavior, please open an issue.
Operating Modes
RTXVideoProcessor supports three operating modes that are automatically detected based on command-line syntax:
1. Simple Mode (Default)
- Syntax:
RTXVideoProcessor.exe input.mp4 output.mp4 [options] - Use case: Quick video enhancement with RTX processing
- Auto-detected: When no
-iflag is present (positional input/output arguments) - Features: RTX VSR + TrueHDR enabled by default, simplified syntax
- Limitation: Seeking (
-ss) is not supported in Simple Mode. Use FFmpeg-compatible mode for seeking.
2. FFmpeg-Compatible Mode
- Syntax:
RTXVideoProcessor.exe -i input.mp4 [options] output.mp4 - Use case: Drop-in FFmpeg replacement with RTX processing
- Auto-detected: When
-iflag is present in arguments - Features: FFmpeg-style syntax support for common flags (
-i,-map,-codec,-ss, etc.) + RTX processing - Behavior: Strict FFmpeg compliance (no auto-corrections, reports timestamp violations)
- Limitations: Not a full FFmpeg replacement; some flags/specifiers/edge-cases are not implemented.
3. FFmpeg Passthrough Mode
- Trigger: Binary renamed to
ffmpeg.exeAND (unsupported format OR-map -0:v?video exclusion) - Use case: Automatic delegation to real FFmpeg for unsupported operations
- Features: Seamless fallback to system FFmpeg for audio-only, unsupported formats, etc.
How Passthrough Works:
- Binary is renamed to
ffmpeg.exe - Tool detects if operation is supported (MP4/MKV video processing with RTX)
- Supported: Processes with RTX acceleration
- Unsupported: Automatically delegates to real
ffmpeg.exein system PATH - Returns exit code and output from whichever process handled the request
Passthrough Triggers:
- Audio-only operations (no video stream)
- Unsupported input formats (
.avi,.mov,.wmv, etc.) - Unsupported output formats (anything other than
.mp4,.mkv,.m3u8) - Video exclusion via
-map -0:vor-map -0:v?
Note: Both Simple Mode and FFmpeg-Compatible Mode support full RTX processing (VSR + TrueHDR). The difference is only in argument syntax and strict FFmpeg behavior compliance.
Processing Paths
- GPU path (default) Requires NVDEC/NVENC. Color conversion, RTX evaluation, and packing run on the CUDA context supplied by FFmpeg.
- CPU path (
--cpu) Forces software color conversion and host-side RTX processing while NVENC still produces Main10 output from CPU-backed P010 frames.
Command-line Options
Common Options (Both Modes)
Processing Control
-v,--verbose: Enable verbose logging--cpu: Force CPU processing path (software color conversion)--no-vsr: Disable RTX VSR upscaling--vsr-quality <1-4>: VSR quality level (default 4)--no-thdr: Disable RTX TrueHDR tone mapping--thdr-contrast <int>: TrueHDR contrast (default 125)--thdr-saturation <int>: TrueHDR saturation (default 100)--thdr-middle-gray <int>: TrueHDR middle gray (default 25)--thdr-max-luminance <int>: TrueHDR peak luminance in nits (default 1000)
Encoder Settings
--nvenc-tune <string>: NVENC tune (defaulthq)--nvenc-preset <string>: NVENC preset (defaultp7)--nvenc-rc <string>: NVENC rate control mode (defaultconstqp, options:cbr,vbr,vbr_hq,constqp)--nvenc-gop <int>: GOP length in seconds asgop * fps(default 3)--nvenc-bframes <int>: Maximum B-frame count (default 2)--nvenc-qp <int>: Constant QP (default 21, only used when--nvenc-rc constqp)--nvenc-bitrate-multiplier <float>: Smart bitrate multiplier (default 2.0, fallback 25 Mbps)--nvenc-bitrate <mbps>: Target bitrate override (CBR: fixed rate, VBR: average rate)--nvenc-maxrate <mbps>: VBR max bitrate (default: 3× target, ignored for CBR)-r <fps>,-r:v <fps>: Override output framerate- Works with
-vsync cfrto produce a constant frame rate timeline - Encoder timebase is chosen to yield exact ticks-per-frame for CFR when possible; otherwise an integer timescale is used
- Works with
FFmpeg-Compatible Mode Only
Input/Output
-i <input>: Specify input file (required in FFmpeg mode)- Supports local files (
.mp4,.mkv) - Supports network streams (
http://,https://,rtmp://,rtsp://,tcp://,udp://) - Supports pipe input (
pipe:0or-) - Note: Repeating
-ifor multi-input is experimental and not fully wired through the main pipeline; current pipeline opens a single input.
- Supports local files (
- Output: Specify output file or destination
- Local files (
.mp4,.mkv,.m3u8) - Pipe output (
pipe:1,pipe:, or-)
- Local files (
-f <format>: Force input/output format-y: Overwrite output files without asking
Stream Mapping
-map <stream_spec>: Select streams to include (e.g.,-map 0:0 -map 0:1,-map 1:a:0) [subset]- Explicit mapping only includes specified streams
- Use
-map -0:sto exclude subtitle streams
-vn/-an/-sn/-dn: Disable video / audio / subtitle / data streams-map_metadata <index|-1>: Map container metadata from input index, or-1to disable-map_chapters <index|-1>: Map chapters from input index, or-1to disable-codec:a <codec>or-c:a <codec>: Audio codec (usecopyfor passthrough)-codec:aapplies to all audio streams;-codec:a:0applies only to the first audio stream
-ac <channels>: Audio channels-ab <bitrate>: Audio bitrate-ar <rate>: Audio sample rate-af <filter>: Audio filter chain- Note: Only a subset of FFmpeg's
-mapselectors and behaviors are supported. Some advanced forms (e.g., complex metadata selectors, program mappings) may not be recognized.
- Note: Only a subset of FFmpeg's
Input/Demuxer Options
-fflags <flags>: Format flags for input demuxer (e.g.,+genptsto generate missing PTS)- Must be specified before
-iin FFmpeg-compatible mode - Common flags:
+genpts(generate presentation timestamps),+igndts(ignore DTS)
- Must be specified before
Seeking & Timestamps
-ss <time>: Seek to position (before-ifor input seek, after for output seek)-t <duration>: Limit output duration-copyts: Preserve original timestamps from input-start_at_zero: Force output timestamps to start at zero-avoid_negative_ts <mode>: Handle negative timestamps (auto/make_zero/make_non_negative/disabled)-output_ts_offset <time>: Add offset to output timestamps- Note: For HLS output, this offset is intentionally not applied to the segment muxer; HLS segments start near zero for better
baseMediaDecodeTimeand player compatibility.
- Note: For HLS output, this offset is intentionally not applied to the segment muxer; HLS segments start near zero for better
-noaccurate_seek: Discard frames before seek target (default behavior when seeking with-ss)-seek2any <0|1>: Allow seeking to non-keyframes at demuxer level (may cause artifacts until next keyframe)- Enables
AVSEEK_FLAG_ANYfor faster but less accurate seeking - Can produce garbled output until the next keyframe is decoded
- Enables
-seek_timestamp <0|1>: Enable/disable seeking by timestamp with-ss- When disabled (default,
0): adds streamstart_timeto seek position (FFmpeg default behavior) - When enabled (
1): seeks to absolute timestamp without adjustment - FFmpeg compatibility option for streams with non-zero start times
- When disabled (default,
-vsync <mode>or-fps_mode <mode>: Video synchronization modecfr: Constant frame rate - generates evenly spaced timestampspassthrough/vfr: Variable frame rate (default behavior)- Useful for fixing variable frame rate issues or ensuring consistent playback timing
HLS Streaming
-format hls: Enable HLS output (output must be.m3u8)-hls_time <seconds>: Segment duration in seconds (default 2)-hls_segment_type <type>: Segment type (mpegtsorfmp4)-hls_fmp4_init_filename <file>: fMP4 initialization file name-hls_segment_filename <pattern>: Segment filename pattern (default: auto-generated with.m4sfor fMP4,.tsfor MPEGTS)-hls_playlist_type <type>: Playlist type (eventorvod)-hls_list_size <count>: Maximum number of playlist entries (0 = all)-start_number <num>: Start segment numbering from this value- Subtitle behavior:
- For HLS, only WebVTT subtitles are supported. Non-WebVTT subtitle streams are dropped automatically.
- For pipe outputs (e.g.,
-f mp4 pipe:1), subtitle streams are omitted.
- Subtitle behavior:
Muxer Options
-movflags <flags>: MP4 muxer flags (e.g.,+faststart,+frag_keyframe)- Default behavior: For ISO BMFF outputs (MP4/fMP4, including HLS with fMP4), the tool enables
+delay_moovby default alongside other flags (e.g.,+faststart,+default_base_moof,+write_colr). Delaying the moov atom improves compatibility with codecs like EAC3 that require packet analysis before header writing.
- Default behavior: For ISO BMFF outputs (MP4/fMP4, including HLS with fMP4), the tool enables
-frag_duration <microseconds>: Fragment duration for fragmented MP4-fragment_index <num>: Fragment index-use_editlist <0|1>: Use MP4 edit lists-max_muxing_queue_size <packets>: Maximum muxing queue size-max_delay <microseconds>: Maximum muxing delay
Advanced GOP/Keyframe Control
-g <frames>: Set GOP size in frames (takes precedence over--nvenc-gopseconds)-sc_threshold <int>: Scene change threshold (primarily for x264/x265; NVENC may ignore)-keyint_min <frames>: Minimum GOP length in frames-no-scenecut: Disable adaptive I-frame insertion-forced-idr: Force IDR frames at GOP boundaries
Notes:
- For HLS,
strict_gop=1,forced-idr=1, andno-scenecut=1are applied to align segments to GOP boundaries. If-gis not provided, GOP size defaults to--nvenc-gopconverted to frames and may align to-hls_time.
Notes on Default Configuration
-
VSR / scaling
- Enabled by default with 2× scaling and quality level 4
- Auto-disables for inputs ≥1440p
- Can be manually disabled with
--no-vsr
-
TrueHDR
- Enabled by default with
{contrast=125, saturation=100, middleGray=25, maxLuminance=1000} - Auto-disables for HDR inputs (PQ/HDR10 or HLG) to preserve original HDR metadata
- Disabling TrueHDR switches the pipeline to BT.709 SDR signaling
- Can be manually disabled with
--no-thdr
- Enabled by default with
-
NVENC
- Uses Main10 profile, preset
p7, tunehq - Rate control: Default
constqpwith QP 21 (options:cbr,vbr,vbr_hq,constqp) - Smart bitrate calculation (CBR/VBR modes):
- Codec-aware: H.265 ~30% lower bitrate than H.264 for same quality
- Feature-aware: Scales based on upscale + THDR combinations
- HDR input: 0.8× adjustment to preserve quality
- Example: H.264 input with upscale+THDR → 2.0× base multiplier
- Example: H.265 input with upscale only → 1.2× base multiplier
- Fallback: 25 Mbps if input bitrate unknown
- VBR max bitrate: Auto-calculated as 3× target (quality-focused), adjustable via
--nvenc-maxrate - GOP length:
3 × fpsframes - B-frames: 2 (default)
- Hardware pool: 64-frame surfaces
- Uses Main10 profile, preset
-
Color metadata
- TrueHDR active: BT.2020/PQ mastering data in stream and container
- SDR output: BT.709 primaries and transfer characteristics
-
Audio/subtitles
- Default: All non-video streams copied verbatim without transcoding
- In FFmpeg-compatible mode with
-map: Only explicitly mapped streams included - Use
-codec:a copyfor audio passthrough, or specify codec for transcoding
-
Supported formats
- Input: MP4, MKV, HLS (
.m3u8), network streams (HTTP/HTTPS/RTMP/RTSP/TCP/UDP), pipe - Output: MP4, MKV, HLS (
.m3u8), fragmented MP4, pipe - Unsupported operations: Automatically passed through to system FFmpeg when binary is named
ffmpeg.exe
- Input: MP4, MKV, HLS (
Usage
Simple Mode
RTXVideoProcessor.exe <input> <output> [options]
FFmpeg-Compatible Mode
RTXVideoProcessor.exe -i <input> [options] <output>
Examples
Simple Mode Examples
# Basic: Apply RTX VSR + TrueHDR with defaults
RTXVideoProcessor.exe input.mp4 output_hdr.mp4
# Disable VSR, keep TrueHDR only
RTXVideoProcessor.exe input.mp4 output.mp4 --no-vsr
# SDR output (disable both RTX features)
RTXVideoProcessor.exe input.mp4 output_sdr.mp4 --no-vsr --no-thdr
# CBR encoding at fixed 10 Mbps
RTXVideoProcessor.exe input.mp4 output.mp4 --nvenc-rc cbr --nvenc-bitrate 10
# VBR encoding: 8 Mbps average, 24 Mbps peak (default 3x)
RTXVideoProcessor.exe input.mp4 output.mp4 --nvenc-rc vbr --nvenc-bitrate 8
# VBR with custom max rate for streaming (tight ceiling)
RTXVideoProcessor.exe input.mp4 output.mp4 --nvenc-rc vbr --nvenc-bitrate 8 --nvenc-maxrate 12
# Smart bitrate with higher multiplier
RTXVideoProcessor.exe input.mp4 output.mp4 --nvenc-rc vbr --nvenc-bitrate-multiplier 2.5
# CPU processing path (no GPU)
RTXVideoProcessor.exe input.mp4 output.mp4 --cpu --no-vsr
FFmpeg-Compatible Mode Examples
# Basic FFmpeg syntax with RTX processing
RTXVideoProcessor.exe -i input.mp4 output.mp4
# Stream mapping: video + audio only, exclude subtitles
RTXVideoProcessor.exe -i input.mkv -map 0:0 -map 0:1 -map -0:s output.mp4
# Audio passthrough (copy without re-encoding)
RTXVideoProcessor.exe -i input.mp4 -codec:a copy output.mp4
# Audio transcoding with specific codec
RTXVideoProcessor.exe -i input.mp4 -codec:a aac -ab 192000 -ac 2 output.mp4
# Apply codec to all vs first audio only
RTXVideoProcessor.exe -i input.mkv -map 0:v -map 0:a -codec:a aac -ab 128k output.mp4 # applies to all audio
RTXVideoProcessor.exe -i input.mkv -map 0:v -map 0:a -codec:a:0 aac -ab 128k output.mp4 # applies to first audio only
# Seeking: Extract 30 seconds starting from 1 minute
RTXVideoProcessor.exe -i input.mp4 -ss 00:01:00 -t 30 output.mp4
# Preserve original timestamps
RTXVideoProcessor.exe -i input.mp4 -copyts -avoid_negative_ts disabled output.mp4
# Force constant frame rate (fix VFR issues)
RTXVideoProcessor.exe -i input.mp4 -vsync cfr output.mp4
# HLS streaming output (fMP4 segments)
RTXVideoProcessor.exe -i input.mp4 -format hls -hls_time 6 \
-hls_segment_type fmp4 -hls_fmp4_init_filename init.mp4 output.m3u8
# HLS with stream mapping and audio copy
RTXVideoProcessor.exe -i input.mkv -map 0:0 -map 0:1 -codec:a copy \
-format hls -hls_segment_type fmp4 -hls_fmp4_init_filename init.mp4 output.m3u8
# Multi-input with external audio (experimental)
# Current pipeline opens a single input; this usage is not fully supported end-to-end yet
RTXVideoProcessor.exe -i video.mp4 -i audio.ac3 -map 0:v -map 1:a -map_metadata 0 -map_chapters 0 output.mp4
# Advanced GOP control for HLS (force segment-aligned IDR)
RTXVideoProcessor.exe -i input.mp4 -format hls -hls_time 2 -g 48 -no-scenecut -forced-idr output.m3u8
# Network stream input to local file
RTXVideoProcessor.exe -i http://example.com/stream.m3u8 output.mp4
# Pipe output to another process
RTXVideoProcessor.exe -i input.mp4 -f mp4 pipe:1 | ffmpeg -i pipe:0 -c copy final.mp4
# Fragmented MP4 for streaming
RTXVideoProcessor.exe -i input.mp4 -movflags +frag_keyframe+empty_moov+default_base_moof output.mp4
# Disable RTX in FFmpeg mode
RTXVideoProcessor.exe -i input.mp4 --no-vsr --no-thdr output.mp4
Drop-in FFmpeg Replacement
# Rename binary to ffmpeg.exe
copy RTXVideoProcessor.exe ffmpeg.exe
# Now use as drop-in replacement - supported operations get RTX processing
ffmpeg.exe -i input.mp4 -codec:a copy output.mp4 # RTX processing + audio copy
# Unsupported operations automatically pass through to real FFmpeg
ffmpeg.exe -i input.wav -codec:a libmp3lame output.mp3 # Passthrough (audio-only)
ffmpeg.exe -i input.avi output.mov # Passthrough (unsupported formats)
Prerequisites
For Building from Source
- Windows 11 x64 with an NVIDIA RTX 4070 (or newer recommended)
- CUDA Toolkit 12.8 installed and on the PATH
- NVIDIA RTX Video SDK headers and libraries, with
NV_RTX_VIDEO_SDKenvironment variable pointing to the SDK root - NVIDIA Video Codec SDK (NVENC/NVDEC) with
NV_VIDEO_CODEC_SDKenvironment variable pointing to the SDK root - FFmpeg (for dynamic builds): prebuilts at
C:\ffmpegprovidinginclude/,lib/, andbin/ - vcpkg (for static builds): integrated with Visual Studio or standalone
- NVIDIA driver 546.01 or newer (required for RTX Video SDK features and HDR support)
For Running Pre-built Binaries
- Windows 11 x64
- NVIDIA RTX 40-series GPU (or newer) with driver 546.01+
- NVIDIA RTX Video SDK runtime DLLs (see Runtime Dependencies below)
Runtime Dependencies
RTXVideoProcessor requires the following NVIDIA proprietary DLLs to run:
nvngx_vsr.dll- RTX Video Super Resolution runtimenvngx_truehdr.dll- RTX TrueHDR runtime
How to Obtain NVIDIA DLLs
⚠️ These DLLs are proprietary NVIDIA software and cannot be redistributed with this project.
To obtain the required DLLs:
-
Download the NVIDIA RTX Video SDK from the official NVIDIA Developer portal:
- Visit: https://developer.nvidia.com/rtx-video-sdk
- Register/sign in with an NVIDIA Developer account (free)
- Download the SDK package for Windows
-
Extract the DLLs from the SDK package:
- After extraction, navigate to:
RTX_Video_SDK/bin/Windows/x64/rel/ - Locate
nvngx_vsr.dllandnvngx_truehdr.dll
- After extraction, navigate to:
-
Place the DLLs in the same directory as
RTXVideoProcessor.exe:RTXVideoProcessor.exe nvngx_vsr.dll ← Copy from SDK nvngx_truehdr.dll ← Copy from SDK
Note: Pre-built releases include the main executable but NOT the NVIDIA DLLs. You must obtain these separately from NVIDIA as described above.
Build
Dynamic Build (Requires FFmpeg DLLs at Runtime)
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DFFMPEG_ROOT=C:/ffmpeg
cmake --build build --config Release -j
The resulting binary will be at build/Release/RTXVideoProcessor.exe. You'll need to ensure FFmpeg DLLs are accessible:
# Option 1: Copy FFmpeg DLLs to the executable directory
copy C:\ffmpeg\bin\*.dll build\Release\
# Option 2: Add C:\ffmpeg\bin to your system PATH
Static Build (Standalone Executable, No FFmpeg DLLs Required)
# Configure with vcpkg for static FFmpeg libraries
cmake -B build-static ^
-DUSE_STATIC_FFMPEG=ON ^
-DCMAKE_TOOLCHAIN_FILE="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" ^
-DVCPKG_TARGET_TRIPLET=x64-windows-static
# Build
cmake --build build-static --config Release -j
The resulting binary will be at build-static/Release/RTXVideoProcessor.exe (~21 MB).
Static builds are self-contained and don't require FFmpeg DLLs, but still need the NVIDIA RTX Video SDK DLLs (nvngx_vsr.dll and nvngx_truehdr.dll) as described in Runtime Dependencies.
Troubleshooting
- CUDA negotiation If CUDA initialization fails, verify the GPU driver, confirm the Video Codec SDK DLLs are present, and try
--cputo validate the rest of the pipeline. - HDR validation When TrueHDR is enabled, ensure your playback tool honors the inserted mastering metadata; fall back to
--no-thdrfor SDR deliveries. - Bitrate control
- CQP mode (default): Use
--nvenc-qpto control quality (lower = higher quality) - CBR mode: Use
--nvenc-bitratefor fixed bitrate streaming - VBR mode: Use
--nvenc-bitratefor target and--nvenc-maxrateto limit peaks - Smart calculation: Adjust
--nvenc-bitrate-multiplierfor auto-scaling based on codec and features
- CQP mode (default): Use
TODO
- Resolve stutters at specific presets
- Add support for 1440p inputs
- Refine code quality
- Add support for more input/output formats
- Add tests, so as to not break functionality
- Work on documentation
- Prepare for release
- Investigate Stremio seek desync bug
Contributing
I welcome any contributions to this project. Any feedback, bug reports, or feature requests are greatly appreciated. Please open an issue or submit a pull request.
License & Redistribution
Project License
This project's source code is released under the MIT License (see LICENSE file).
You are free to use, modify, and distribute the source code according to the terms of the MIT License.
Third-Party Components & Redistribution Notice
⚠️ Important: This project uses proprietary NVIDIA components that have separate licensing terms.
NVIDIA RTX Video SDK Components
This project uses the NVIDIA RTX Video SDK (NGX runtime) for RTX Video Super Resolution and TrueHDR features. The following NVIDIA components are proprietary software owned by NVIDIA Corporation:
nvngx_vsr.dll- NVIDIA RTX Video Super Resolutionnvngx_truehdr.dll- NVIDIA RTX TrueHDR
Redistribution Restrictions:
- These DLLs are NOT included in this repository or in binary releases
- These DLLs CANNOT be redistributed without NVIDIA's explicit permission
- Users must obtain these components directly from NVIDIA via the RTX Video SDK
- These components are subject to the NVIDIA RTX Video SDK End User License Agreement
For Commercial Use: If you plan to distribute this software commercially with the NVIDIA RTX Video SDK components, you must:
- Contact NVIDIA via their SW-notification process
- Obtain appropriate licensing/permission from NVIDIA
- Comply with NVIDIA's redistribution requirements
Other Dependencies
-
FFmpeg: This project uses FFmpeg libraries (LGPL 2.1+ or GPL 2+ depending on build configuration)
- Static builds include FFmpeg code statically linked (LGPL 2.1 compliance requires providing source code and build instructions)
- Dynamic builds link to FFmpeg DLLs at runtime (no redistribution concerns)
- FFmpeg source code and licensing: https://ffmpeg.org/legal.html
-
NVIDIA Video Codec SDK: Hardware video encode/decode interface (subject to NVIDIA Video Codec SDK license)
-
CUDA: CUDA runtime libraries (subject to NVIDIA CUDA EULA)
Summary
What you can do:
- Use this project's source code under the MIT License
- Build and use the software for personal or commercial purposes
- Modify and distribute the source code
What you cannot do (without NVIDIA's permission):
- Redistribute NVIDIA's proprietary DLLs (
nvngx_vsr.dll,nvngx_truehdr.dll) - Include NVIDIA SDK binaries in derivative works or binary releases
- Distribute commercial products with embedded NVIDIA RTX components without NVIDIA approval
Disclaimer: This project is provided "as-is" without warranty of any kind. The author is not responsible for any third-party licensing requirements. Users are responsible for ensuring compliance with all applicable licenses, including NVIDIA's SDK licenses.