Skip to content

About

Free AI frame generation (RIFE) for capture card feeds: 30 fps console games at 60-90 fps, 60 fps at 120 fps, low latency. CUDA and DirectML.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capture Smooth

Capture Smooth

Your 30 fps console game, shown at up to 120 fps on your PC. Capture Smooth reads your capture card, generates the missing frames on your graphics card with AI, and shows the result full screen. No mod, nothing to install on the console. Free and open source (MIT).

▶ See the videos and compare yourself · Download for Windows (one-click installer) · Version française plus bas.

Capture Smooth at 120 fps, next to the console's 30 fps

Left: the console's own 30 fps. Right: Capture Smooth at 120 fps. Watch it move.

The app The settings
Capture Smooth, the Play page Capture Smooth, the Picture page

Not affiliated with Sony, Microsoft, Nintendo, Elgato, Rockstar Games or NVIDIA. Product names are only used to describe compatibility. Gameplay footage: Grand Theft Auto VI © Rockstar Games, shown only to demonstrate the software.

What it does

  • AI frame generation, from the video alone. NVIDIA Frame Generation on RTX cards (optional download, under NVIDIA's licence), or RIFE 4.6, built in. It needs no game engine data, so any console game works.
  • Closer to the real frames. On GTA 6, NVIDIA Frame Generation rebuilt real frames more faithfully than RIFE on 71 of 89 test frames, and about 3 ms faster per frame.
  • Low latency. About 33 ms added for 30 → 120 fps. The frames go from the AI to the screen on the graphics card, evenly paced. Late frames are dropped, so nothing waits in a queue. If the card cannot hold ×4, it uses fewer, evenly spaced frames by itself.
  • A cleaner picture, still true to the game.
    • Picture effects (E key): debanding for skies and fog, a little local contrast for textures, vibrance that spares skin tones. About 0.1 ms per frame at 1440p.
    • Scene cuts are shown directly, not blended.
    • HUD elements that stay still (minimap, text) are kept from the real frame.
    • Sharpening is adjustable.
  • Sharp scaling to the screen: a Catmull-Rom shader instead of bilinear.
  • True HD colours (BT.709), read straight from the card (raw capture in the NVIDIA edition).
  • PS Remote Play too, without a capture card. Its picture is enlarged to your screen by AI (NVIDIA module), and repeated frames are recognised despite the compression.
  • Compare in one key. B shows the console's own picture, untouched. E turns the picture effects off.
  • Sound in sync. The capture card's sound is delayed automatically to match the picture; F2 / F3 move it.
  • A modern app that runs offline, finds your capture card and graphics card, and remembers your choices.

Measured (RTX 4070 SUPER, 1440p)

Game Mode Displayed AI per frame Added latency
30 fps ×4, NVIDIA Frame Generation 120 fps ~4 ms ~33 ms
30 fps ×3, NVIDIA Frame Generation 90 fps ~4 ms ~30 ms
30 fps ×2, NVIDIA Frame Generation 60 fps ~4 ms ~25 ms
60 fps ×2, NVIDIA Frame Generation 120 fps ~4 ms ~15 ms
30 fps ×4, RIFE (built in, NVIDIA) 120 fps ~7 ms ~35 ms
30 fps ×2, DirectML (AMD, Intel) 60 fps ~16 ms ~37 ms

The added latency is mostly unavoidable: an in-between frame needs the next real frame. Press D in game for the measured time of each stage.

Download

⬇ CaptureSmooth-Setup.exe (2 MB)

  1. Open the file. It recognises your graphics card.
  2. Click Install. It downloads the right version, checks it, installs it and opens the app.

It needs no administrator rights, adds Start menu and desktop shortcuts, and uninstalls from Windows settings. The two versions it can install:

  • NVIDIA (fastest, 2.8 GB): GeForce RTX 20, 30, 40 and 50 and GTX 16 series, with a recent driver. CUDA is included. It also contains the DirectML engine and switches to it by itself on any other card.
  • DirectML (115 MB): any DirectX 12 graphics card (AMD Radeon, Intel Arc, older NVIDIA such as the GTX 10 series).

Without Internet on the gaming PC, take the full installers from the release: DirectML is a single Setup.exe; NVIDIA is a Setup.exe and two .bin files to put in the same folder (GitHub limits files to 2 GB). Unattended: CaptureSmooth-Setup.exe /VERYSILENT (/EDITION=nvidia or /EDITION=directml to choose).

"Windows protected your PC"? The exe is not code-signed (a certificate costs money), so Windows SmartScreen warns about it the first time. Click More info → Run anyway. The full source code is in this repository.

Then open Capture Smooth from the Start menu or the desktop. The settings window opens. It works offline: only the optional NVIDIA download uses the Internet.

  • Jouer:
    • shows the capture card and graphics card it found and the AI engine;
    • choose the source (capture card or PS Remote Play), the console's output resolution, the game's frame rate and smoothness or latency;
    • shows the expected frame rate and added delay.
  • Image: sharpening, the picture effects, HUD protection, sound, counter.
  • Moteur IA: NVIDIA Frame Generation (optional download) or RIFE, and the PS Remote Play options.
  • Raccourcis: the keys in game.

Then press Lancer le jeu. Your choices are remembered. Options passed on the command line (below) skip the window.

Console output Game Smoothness first Latency first
1440p or 4K 30 fps 120 fps* 60 fps
1440p or 4K 60 fps 120 fps 120 fps
1080p 30 fps 120 fps* 60 fps
1080p 60 fps 120 fps 120 fps

* ×4 with the NVIDIA version on a screen of 120 Hz or more (best on 120 or 240 Hz, or with G-Sync / FreeSync); otherwise ×3, 90 fps. A card that cannot hold it uses fewer frames by itself. Keys 2, 3 and 4 change it in game.

Keys: Esc quit · B original picture (every improvement off, to compare) · E picture effects on/off · Space interpolation on/off · 2 / 3 / 4 multiplier · S sharpening · H HUD protection · F1 or I counter · M sound · F sharp/bilinear scaling · C BT.709/BT.601 colours · D time of each stage · U AI upscaling · N compression clean-up · F2 / F3 sound earlier / later

Without a capture card: PS Remote Play

Capture Smooth can also take the picture from the official PS Remote Play app instead of a capture card: choose PS Remote Play (sans boîtier) in the settings window, or start with --source remoteplay.

  • More latency. Remote Play compresses the picture on the PS5, sends it over the network and decompresses it on the PC: usually 50 to 100 ms more than a capture card, on top of Capture Smooth's own delay.

  • Lower picture quality: the stream is compressed and at most 1080p, and compression blocks can show more in AI frames.

  • Start PS Remote Play and show your game first, and keep its window open (not minimized). Capture Smooth shows on top of it without taking the focus, so the controller keeps working in Remote Play. The sound comes from Remote Play.

  • With the optional NVIDIA module (RTX cards, see below) and a screen above 1080p, each real frame is enlarged by AI (NVIDIA Video Super Resolution) to your screen's size, sharper than the usual scaling. For that, keep the Remote Play window at 1920x1080 (not full screen), so Capture Smooth gets the stream at its own size.

A capture card stays the recommended way.

Picture effects (E key)

Three light effects are applied by the display shader to every frame shown, real and generated, after the scaling and the colour fix. All three are on by default at light strengths, and E turns them off or on together. B (original picture) turns them off too.

  • Debanding removes the bands in smooth gradients (sky, fog, soft shadows), which are most visible with PS Remote Play. It leaves edges and HUD text alone, then adds a fine dither before the 8-bit output.
  • Local contrast brings out texture relief on brightness only, without burning the highlights or crushing the shadows.
  • Vibrance livens up dull colours more than vivid ones and leaves skin tones alone.

The strengths can be set in the settings window or with --debanding, --contraste-local and --vibrance (0 to 1, 0 = off). All three together cost about 0.13 ms per frame at 1440p on an RTX 4070 SUPER. tools/check_present.py checks them off-screen.

Optional: NVIDIA Frame Generation (RTX cards)

On a GeForce RTX card, the settings window of the NVIDIA build offers NVIDIA Frame Generation (the Video Frame Generation feature of NVIDIA's Video Effects SDK) instead of RIFE. On GTA 6 at 1440p it was closer to the real frames than RIFE 4.6 (26.9 dB against 26.2 dB in moving areas, better on 71 of 89 frames) and about 3 ms faster per frame.

It is not shipped with Capture Smooth: it is NVIDIA's software under NVIDIA's proprietary licence. The Télécharger… button shows that licence and, once you accept it, downloads the module from NVIDIA's package index (pypi.nvidia.com, 416 MB). The file is checked against its published SHA-256 and kept in %LOCALAPPDATA%\CaptureSmooth\nvidia-vfx. Delete that folder to remove it. When running from source, pip install --index-url https://pypi.nvidia.com nvidia-vfx works too.

Setup tips

  1. Close OBS and your capture card's software before starting, because they lock the device.
  2. The capture card cannot upscale. If you ask for 1440p while the console sends 1080p, you get a black screen or the card's "invalid resolution" picture. Pick the resolution the console really outputs. A 4K output works with the "1440p or 4K" choice, because the card downscales it.
  3. The console only offers resolutions supported by the screen on the card's HDMI passthrough. If 1440p is refused, set the card's EDID to internal in its software, or plug a 1440p/4K screen into the passthrough.
  4. HDR off on the console.
  5. G-Sync / FreeSync: enable it for windowed mode too (NVIDIA Control Panel → Set up G-SYNC → windowed and full screen mode). Capture Smooth paces its frames itself, without V-Sync, so a VRR screen follows them.
  6. Sound (capture card): it is delayed automatically to match the picture's measured delay. F2 / F3 move it 5 ms earlier or later (--audio-delay sets that correction at start, --son-auto non turns the automatic part off). On a PC whose sound path is slower than the picture (typically 50+ ms through WASAPI shared mode), the sound already comes a little after the picture and is not delayed further. The D key shows which case you are in.
  7. Sound (PS Remote Play): played by the Remote Play app itself, so it does not get the 20–40 ms Capture Smooth adds to the picture and can come slightly early. Capturing Remote Play's sound to delay it (Windows 11 per-process audio capture) is not done yet.
  8. Optional, not measured yet: NVIDIA Control Panel → Manage 3D settings → Vulkan/OpenGL present method → Prefer layered on DXGI Swapchain (drivers 526.47+). It can lower display latency of OpenGL windows like Capture Smooth's and allow VRR in a window, but some users report uneven pacing with it. Capture Smooth's own counters cannot see the gain (it happens in Windows' compositor), so it is neither recommended nor discouraged until it is measured with an external tool.

Options

--res 1080p|1440p|4k     capture resolution (4K is reduced to 1440p before the AI)
--fps 30|60              capture frame rate
--x 2|3|4                frame multiplier (x3 is the useful maximum for 30 fps games)
--source capture|remoteplay   capture card (default) or the PS Remote Play window
--window "title"         window to capture with --source remoteplay (default "PS Remote Play")
--device auto|"name"|N   capture device (--list shows them)
--moteur auto|vfg|rife|cuda|directml   vfg = NVIDIA Frame Generation (optional download, RTX)
--vfg-qualite basse|moyenne|haute   NVIDIA Frame Generation quality (haute: ~15 ms per frame, x2 only)
--quality rapide|normal  normal = flow at full resolution (sharper, twice slower; 1080p only)
--mode sans-bordure|plein-ecran|fenetre
--vsync                  no tearing without G-Sync (adds latency)
--nettete 0-100           sharpening strength (default 30, S toggles it)
--no-hud                 no HUD protection (H toggles it)
--no-cut                 interpolate across scene cuts too
--bilineaire             old, softer scaling to the screen (F toggles it)
--couleurs auto|709|601  capture colour matrix (C toggles it)
--capture auto|brute|opencv   brute = the card read raw (NV12/YUY2) by FFmpeg, colours converted on the GPU:
                         about one CPU core less (NVIDIA build; auto = brute when possible, else opencv)
--plage auto|limitee|pleine   colour range for raw capture (auto = what the card reports, else limited)
--original               start on the original picture (B toggles it)
--debanding 0-1          gradient debanding (default 0.4, 0 = off; E toggles all effects)
--contraste-local 0-1    local contrast (default 0.25)
--vibrance 0-1           vibrance (default 0.25)
--mesures                time of each stage in the counter and the log (D toggles it)
--agrandissement auto|shader   Remote Play on a screen above 1080p: auto = AI upscaling of real frames (NVIDIA module, RTX; U toggles it)
--nettoyage auto|oui|non  compression clean-up of real frames (NVIDIA module, RTX); off unless oui (N toggles it in Remote Play)
--doublons auto|strict|tolerant   repeated-frame test: strict for a capture card, tolerant (helped by the
                         frame cadence) for a compressed picture such as Remote Play; auto = by source
--audio-delay MS        sound correction on top of the automatic sync (F2 / F3), --son-auto non for a fixed delay
--no-audio
--test                   animated test picture instead of the capture card
--show-taskbar           shows the taskbar again if the app was killed

Run from source

Windows 10/11 and Python 3.11+.

pip install numpy opencv-python-headless glfw PyOpenGL sounddevice comtypes av windows-capture pyside6-essentials qtpy
pip install torch --index-url https://download.pytorch.org/whl/cu128     # CUDA engine (RTX 20 to RTX 50)
pip install onnxruntime-directml                                         # or the DirectML engine
python smooth.py --res 1440p --x 3
  • tools/export_onnx.py rebuilds the ONNX models from models/flownet_v4.6.pkl.
  • tools/cadence_check.py recording.mp4 runs a recording (e.g. PS Remote Play captured at 60 fps) through the app's repeated-frame and scene-cut decisions and reports the real frame rate it finds.
  • build.ps1 builds both releases with PyInstaller.

Français

Ton jeu console à 30 fps, affiché jusqu'à 120 fps sur ton PC. Capture Smooth lit ton boîtier de capture, génère les images manquantes sur ta carte graphique avec l'IA et affiche le résultat en plein écran. Aucun mod, rien à installer sur la console. Gratuit et open source (MIT).

▶ Voir les vidéos et comparer

Ce qu'elle apporte :

  • Images générées par IA : NVIDIA Frame Generation sur les cartes RTX (téléchargement facultatif, sous licence NVIDIA), ou RIFE, intégré. Sur GTA 6, NVIDIA était plus proche de la vraie image sur 71 images de test sur 89, et environ 3 ms plus rapide par image.
  • Faible latence : environ 33 ms ajoutées pour passer de 30 à 120 fps (×4, RTX 4070 SUPER). Un jeu 60 fps passe à 120 fps avec environ 15 ms.
  • Effets d'image légers (touche E) : moins de bandes dans les ciels, plus de relief, couleurs ravivées, tons chair gardés.
  • Couleurs HD justes et mise à l'échelle plus nette.
  • PS Remote Play possible sans boîtier, avec agrandissement par IA.
  • Comparaison en une touche : B montre l'image d'origine de la console, E coupe les effets.
  • Fenêtre moderne, hors ligne, qui trouve ton boîtier et ta carte graphique.

Installation en un clic : ⬇ CaptureSmooth-Setup.exe (2 Mo)

  1. Ouvre le fichier : il reconnaît ta carte graphique.
  2. Clique sur Installer : il télécharge la bonne version, la vérifie, l'installe et ouvre l'appli.

Aucun droit administrateur nécessaire. Les deux versions qu'il peut installer :

  • NVIDIA (la plus rapide, 2,8 Go) : GeForce RTX 20, 30, 40 et 50 et GTX 16. Sur une autre carte, elle passe toute seule au moteur DirectML.
  • DirectML (115 Mo) : toutes les cartes graphiques (AMD Radeon, Intel Arc, anciennes NVIDIA comme les GTX 10).

Sans Internet sur le PC de jeu, prends les installateurs complets dans la release (pour NVIDIA : le Setup.exe et ses deux .bin dans le même dossier).

Fluidité maximale affiche un jeu 30 fps en 120 fps (×4) avec la version NVIDIA et un écran de 120 Hz ou plus (idéal en 120 ou 240 Hz, ou avec G-Sync / FreeSync), sinon en 90 fps (×3). Les touches 2, 3 et 4 changent le multiplicateur en jeu.

« Windows a protégé votre ordinateur » ? L'exe n'est pas signé (un certificat est payant), donc Windows SmartScreen prévient au premier lancement. Clique sur Informations complémentaires → Exécuter quand même. Tout le code source est dans ce dépôt.

Ensuite, ouvre Capture Smooth depuis le menu Démarrer ou le Bureau. La fenêtre de réglages s'ouvre ; elle fonctionne hors ligne, seul le téléchargement facultatif du module NVIDIA utilise Internet.

  • Jouer :
    • le boîtier, la carte graphique et le moteur détectés ;
    • le choix de la source, de la sortie de la console, des fps du jeu et de la priorité ;
    • les fps et le retard attendus.
  • Image : la netteté, les effets, le HUD, le son et le compteur.
  • Moteur IA : NVIDIA Frame Generation ou RIFE, et les options PS Remote Play.
  • Raccourcis : les touches en jeu.

Clique sur Lancer le jeu : tes choix sont mémorisés.

Touches : Échap quitter · B image originale (toutes les améliorations coupées, pour comparer) · E effets d'image on/off · Espace interpolation on/off · 2/3/4 multiplicateur · S netteté · H protection du HUD · F1 ou I compteur · M son · F mise à l'échelle fine/bilinéaire · C couleurs BT.709/BT.601 · D temps de chaque étape · U agrandissement IA · N nettoyage de la compression · F2 / F3 son plus tôt / plus tard

Sans boîtier de capture : choisis PS Remote Play (sans boîtier) dans la fenêtre de réglages. Attention : plus de latence (50 à 100 ms de plus qu'avec un boîtier, à cause de la compression et du réseau) et image compressée, en 1080p au maximum. Lance PS Remote Play et affiche ton jeu avant, et garde sa fenêtre ouverte (pas réduite). La manette reste active dans Remote Play, et le son vient de Remote Play. Comme l'image est compressée, les images répétées par la console ne reviennent pas tout à fait identiques : Capture Smooth les repère en s'aidant de la cadence du jeu (option --doublons). Avec le module NVIDIA (cartes RTX) et un écran plus grand que 1080p, chaque vraie image est agrandie par IA à la taille de ton écran, plus nette qu'avec l'agrandissement habituel (touche U) : laisse pour cela la fenêtre Remote Play en 1920x1080 (pas en plein écran).

À savoir :

  • Ferme OBS et le logiciel du boîtier avant de lancer.

  • Le boîtier ne peut pas agrandir l'image. Choisis la résolution que la console envoie vraiment. En 4K, choisis « 1440p ou 4K » : le boîtier réduit l'image.

  • Si la console refuse le 1440p (« ton écran ne le prend pas en charge ») : dans le logiciel du boîtier, mets l'EDID sur interne, puis débranche et rebranche la console.

  • HDR désactivé sur la console.

  • G-Sync : active-le aussi pour le mode fenêtré.

  • Son du boîtier : calé automatiquement sur le retard mesuré de l'image ; F2 / F3 le décalent de 5 ms. Si le son de ton PC est déjà plus lent que l'image (souvent plus de 50 ms en WASAPI partagé), il arrive un peu après l'image et n'est pas retardé davantage (la touche D l'indique).

  • Son en Remote Play : joué par l'appli Remote Play, il n'a pas les 20 à 40 ms ajoutés à l'image et peut arriver un peu en avance (pas encore corrigé).

  • Réglage NVIDIA facultatif, pas encore mesuré : Panneau de configuration NVIDIA → Gérer les paramètres 3D → Méthode de présentation Vulkan/OpenGL → Préférer superposé sur la chaîne d'échange DXGI (pilotes 526.47 et suivants). Il peut réduire la latence d'affichage et autoriser le VRR en fenêtre, mais certains signalent une cadence irrégulière : ni conseillé ni déconseillé tant qu'il n'est pas mesuré avec un outil externe.

  • Effets d'image (touche E) : trois effets légers sont appliqués à toutes les images affichées, actifs par défaut. Les réglages se font dans la fenêtre de réglages ou avec --debanding, --contraste-local et --vibrance (de 0 à 1, 0 = coupé). B les coupe aussi.

    • Debanding : enlève les bandes dans les dégradés (ciel, brouillard), surtout en PS Remote Play.
    • Contraste local : plus de relief dans les textures, sans brûler les clairs ni boucher les ombres.
    • Vibrance : ravive les couleurs ternes et garde les tons chair.

    Les trois coûtent environ 0,13 ms par image.

  • NVIDIA Frame Generation (cartes RTX, version NVIDIA) : dans la fenêtre de réglages, le bouton Télécharger… propose la génération d'images de NVIDIA, plus fidèle que RIFE et environ 3 ms plus rapide par image. Ce module appartient à NVIDIA et n'est pas fourni avec Capture Smooth : il est téléchargé depuis le site de NVIDIA (416 Mo) après acceptation de la licence NVIDIA, et rangé dans %LOCALAPPDATA%\CaptureSmooth\nvidia-vfx (supprime ce dossier pour l'enlever).

  • Capture brute (version NVIDIA) : le boîtier est lu sans conversion par le processeur, et les couleurs sont converties sur la carte graphique (environ un cœur de processeur libéré). Si ça ne marche pas avec ton boîtier, l'app revient toute seule à l'ancienne méthode ; tu peux aussi la forcer avec --capture opencv.

  • Barre des tâches : l'appli la cache pendant qu'elle tourne. Si elle reste cachée après un plantage, lance Reafficher la barre des taches.cmd.

Credits and licences

About

Free AI frame generation (RIFE) for capture card feeds: 30 fps console games at 60-90 fps, 60 fps at 120 fps, low latency. CUDA and DirectML.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages