Vue normale

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
Hier — 3 août 2025Flux principal

Go2rtc - Le couteau suisse du streaming vidéo

Par : Korben
2 août 2025 à 23:37

Je viens de tomber sur un truc qui va changer votre vie si vous galérez avec le streaming vidéo. Vous savez, quand votre caméra de surveillance parle en RTSP mais que votre navigateur ne comprend que le WebRTC… Ou quand vous voulez utiliser une caméra HomeKit sans avoir un seul produit Apple chez vous ? Bah voilà, j’ai trouvé y’a un remède miracle et ça s’appelle go2rtc.

C’est un projet open source développé par AlexxIT, qui fait office de traducteur universel pour tous vos flux vidéo. En gros, peu importe le protocole d’entrée ou de sortie que vous voulez utiliser, go2rtc s’en occupe. En plus, c’est léger, ça tourne sur un Raspberry Pi, et ça ne demande quasi aucune config.

Car oui, le streaming vidéo dans le monde de la domotique, c’est un peu le far west. Chaque fabricant y va de son petit protocole propriétaire, et au final on se retrouve avec :

  • Des caméras qui ne discutent qu’en RTSP
  • Des navigateurs qui ne comprennent que le WebRTC
  • Des applis mobiles qui veulent du HLS
  • Et HomeKit qui fait sa princesse avec son protocole à lui

Du coup, on passe notre temps à chercher des solutions de contournement, à installer 50 logiciels différents, et au final ça marche une fois sur deux avec une latence de malade.

C’est là que go2rtc entre en scène. Cet outil fait office de proxy universel pour vos flux vidéo. Il prend n’importe quelle source (RTSP, RTMP, HTTP, USB, HomeKit…) et la convertit à la volée dans le format que vous voulez (WebRTC, HLS, MJPEG, MSE/MP4…).

Le truc vraiment cool, c’est que c’est juste un binaire, sans aucune dépendances. Vous le téléchargez, vous le lancez, et boom, ça marche. Pas besoin d’installer Java, Python ou je ne sais quelle autre usine à gaz car c’est du Go compilé, donc c’est rapide et léger.

Voici ce que go2rtc peut faire pour vous :

  • Conversion de protocoles : RTSP vers WebRTC, RTMP vers HLS, etc.
  • Latence ultra-faible : 0.5 secondes avec WebRTC (contre plusieurs secondes habituellement)
  • Support HomeKit : Utilisez vos caméras HomeKit sans produits Apple
  • Audio bidirectionnel : Sur les caméras compatibles (Tapo, certaines Dahua, etc.)
  • Transcodage à la volée : Via FFmpeg si nécessaire
  • Multi-sources : Mixez plusieurs flux en un seul

Pour l’installation de go2rtc, c’est vraiment du gâteau :

Option 1 : Le binaire tout simple

Allez sur la page des releases GitHub, téléchargez le binaire pour votre OS (Windows, Linux, macOS, ARM…), et lancez-le. C’est tout.

# Linux/Mac
chmod +x go2rtc_linux_amd64
./go2rtc_linux_amd64
# Windows
go2rtc_win64.exe

Option 2 : Docker pour les pros

Si vous êtes team Docker, c’est encore plus simple :

services:
go2rtc:
image: alexxit/go2rtc:master-hardware
network_mode: host # important pour WebRTC et HomeKit
privileged: true # seulement si vous voulez le transcodage hardware
restart: unless-stopped

Option 3 : Add-on Home Assistant

Pour les utilisateurs de Home Assistant, il y a un add-on officiel. Ajoutez le repo https://github.com/AlexxIT/hassio-addons et installez go2rtc en deux clics.

Voilà pour l’install… Ensuite, la config de go2rtc tient dans un fichier YAML tout simple dont voici un exemple basique :

streams:
# Caméra salon avec RTSP
salon:
- rtsp://admin:[email protected]/stream1
# Caméra avec rotation de 90°
entree:
- ffmpeg:rtsp://admin:[email protected]/stream1#video=h264#rotate=90
# Caméra HomeKit (sans Apple !)
homekit_cam:
- homekit://AAAA-BBBB-CCCC-DDDD

Une fois configuré, vous accéderez alors à l’interface web sur http://localhost:1984/ et vous pourrez voir tous vos flux, les tester, et même générer des liens pour les intégrer ailleurs.

Voici quelques cas d’usages que j’ai trouvé cools :

  • Vous avez une vieille caméra IP qui ne parle qu’en RTSP ? Pas de souci. go2rtc la convertit en WebRTC et hop, vous pouvez la voir directement dans votre navigateur avec une latence minimale.

  • Sinon, vous pouvez utiliser des caméras HomeKit (comme l’Aqara G3) sans avoir un seul produit Apple. go2rtc fait le pont et vous permet de voir le flux dans n’importe quel navigateur ou application.

  • Sur certaines caméras (TP-Link Tapo, certaines Dahua avec ONVIF Profile T), vous pouvez même avoir l’audio bidirectionnel. Pratique pour parler au livreur depuis votre canapé !

  • Une source, plusieurs sorties. Votre caméra peut être vue en WebRTC sur votre navigateur, en RTSP sur votre NVR, et en HLS sur votre Apple TV. Tout ça en même temps.

Ce qui rend go2rtc vraiment génial, c’est l’attention aux détails :

  • Interface web intégrée : Sur le port 1984, vous avez une interface pour tout gérer
  • API complète : Pour intégrer go2rtc dans vos propres projets
  • Support FFmpeg : Pour le transcodage quand nécessaire
  • ngrok intégré : Pour accéder à vos caméras depuis l’extérieur
  • Gestion des codecs intelligente : Négociation automatique des meilleurs codecs

Aussi, sur un Raspberry Pi 4, vous pouvez facilement gérer une dizaine de flux sans problème. La consommation CPU reste minimale tant que vous ne faites pas de transcodage.

Pour vous donner une idée :

  • Simple proxy RTSP vers WebRTC : ~5% CPU sur un Pi 4
  • Avec transcodage H265 vers H264 : ~40% CPU (mais utilisez le hardware si possible)
  • Consommation RAM : environ 50MB par flux

Et surtout, go2rtc n’est pas juste un outil isolé. Non, non, il s’intègre parfaitement avec :

  • Home Assistant : Via l’intégration WebRTC Camera
  • Frigate : Pour l’enregistrement et la détection d’objets
  • Scrypted : Comme source vidéo
  • Node-RED : Pour l’automatisation

Bref, si vous voulez creuser le sujet, voici quelques ressources :

Et si vous êtes du genre bidouilleur, sachez que go2rtc expose une API complète donc vous pouvez donc l’intégrer dans vos propres projets, créer des interfaces custom, ou même contribuer au projet.

Allez, je vous laisse tester ça.

À partir d’avant-hierFlux principal

Cette camera parle, voit à 360°, suit vos chats et appelle Mamie. Oui oui

Par : Korben
24 juin 2025 à 17:25

– Article invité, rédigé par Vincent Lautier, contient des liens affiliés Amazon –

À une époque où même votre frigo veut vous parler, il est bon de voir un gadget connecté qui sait vraiment à quoi il sert. J’ai eu l’occasion de tester la caméra de surveillance intérieure Imou Rex VT Pro, et si elle n’a peut-être pas un nom sexy, mais elle coche un nombre incroyable de cases pour prix pas déconnant.

Comment Synology bouscule le petit monde de la vidéosurveillance avec C2 Backup for Surveillance [Sponso]

Par : humanoid xp
4 juin 2025 à 14:50

Cet article a été réalisé en collaboration avec Synology

Lors du salon Computex 2025 qui se tenait à Taïwan il y a quelques jours, Synology a dévoilé une solution de surveillance, C2 Backup for Surveillance, à destination des entreprises. Ses points forts : elle est très simple à mettre en place, peu coûteuse et s’appuie sur l’expertise de Synology dans le stockage de données.

Cet article a été réalisé en collaboration avec Synology

Il s’agit d’un contenu créé par des rédacteurs indépendants au sein de l’entité Humanoid xp. L’équipe éditoriale de Numerama n’a pas participé à sa création. Nous nous engageons auprès de nos lecteurs pour que ces contenus soient intéressants, qualitatifs et correspondent à leurs intérêts.

En savoir plus

Et si cette entreprise française qui sécurise les sites sensibles sécurisait aussi votre foyer ? [Sponso]

Par : humanoid xp
3 avril 2025 à 11:41

Cet article a été réalisé en collaboration avec W3Cam

Située en Bretagne, W3Cam est spécialisée depuis 20 ans dans la vente de systèmes de vidéosurveillance et de sécurité sur IP. Partenaire de grands groupes comme La Poste, la RATP ou certains ministères, W3Cam s'engage à sécuriser les sites les plus sensibles, mais pas uniquement. Elle peut aussi s’occuper de la sécurité de votre foyer pour que vous puissiez partir sereinement en vacances.

Cet article a été réalisé en collaboration avec W3Cam

Il s’agit d’un contenu créé par des rédacteurs indépendants au sein de l’entité Humanoid xp. L’équipe éditoriale de Numerama n’a pas participé à sa création. Nous nous engageons auprès de nos lecteurs pour que ces contenus soient intéressants, qualitatifs et correspondent à leurs intérêts.

En savoir plus

How to Fix Camera Black Screen in Windows 11

19 février 2024 à 15:08

Some of our readers have complained that they get a black screen when using the Windows 11 camera. This problem may occur with the laptop’s built-in camera or even an external camera.

Inadequate camera permissions, bad hardware or connections, minor bugs, or app corruption could trigger it. We researched the problem, and in this guide, we recommend the most effective solutions.

1. Turn on Camera

Turning on your camera should be your first call. This is especially the case if you use an external camera. It may have a tiny switch that needs to be toggled on.

Also, you should look through your function keys; if any has a camera symbol, press it to switch on your camera. If the camera black screen persists on Windows 11, proceed to other fixes.

2. Remove Camera Slider

There is a chance that even though the camera is on, it is covered by a shutter guide or webcam cover slides.

While these may be perfect ways to protect yourself from unseen intrusion, if you leave them on while using the camera, all you will get is a black screen on Windows 11. Take off the slide.

3. Confirm Camera is Correctly Connected

When you are using an external camera and experiencing the camera black screen on Windows 11, you should confirm that you have correctly connected the camera. You may unplug it and plug it back. You should also clean the connection port to ensure particles or dust are not obstructing contact.

Tiu may also try connecting to a different port or using a different connection cable.

4. Restart the Computer

If none of the solutions above have helped you resolve the Windows 11 camera black screen, you should restart the computer.

A restart is an effective fix because it forces your computer to have a soft reset where all running processes are turned off. This is often strong enough to fix minor bugs.

5. Run the Camera Troubleshooter

Windows 11 comes with a bunch of troubleshooters. One of them is the camera troubleshooter.

When you run this utility, it thoroughly scans your computer for possible triggers of the camera problem. It will fix the discovered issues or recommend solutions.

1. Open the Settings app by pressing Windows + I.

2. Click System on the left pane, then Troubleshoot on the right.

3. Click Other troubleshooters.

4. Click the Run button for Camera.

Run camera: Camera Black Screen Windows 11

5. Follow the wizard to complete the process.

6. Grant Camera Permissions

You may notice a black screen if the app that needs your camera does not have proper permission. You should grant it permissions from the Settings app.

1. Open the Settings app by pressing Windows + I.

2. Click Privacy & security on the left pane, then Camera on the right.

3. Toggle on Camera access, then toggle on the switch for the specific app that needs the camera.

Access permissions: Camera Black Screen Windows 11

7. Update Camera Drivers

Drivers are an integral connection between hardware components and the operating system. When your camera driver is outdated, the computer may no longer be able to access it, causing the camera black screen on Windows 11.

You may update it automatically with a reliable driver updater or manually, as shown below.

1. Right-click the Start menu and click Device Manager.

2. Expand the Camera category, right-click your camera driver, and click Update driver.

Update driver: Camera Black Screen Windows 11

3. Click Search automatically for updates.

8. Reset Camera App

bad configurations and settings are sometimes responsible for the camera’s black screen in Windows 11. You may remove corrupted settings and fix the problem by resetting the device.

1. Press the magnifying lens on the Taskbar, type Camera, and click App Settings.

App settings: Camera Black Screen Windows 11

2. Scroll down and click the Reset button.

9. Re-registering Camera App

You should consider re-registering the camera when you encounter the black screen on Windows 11. This is because the process will resolve corrupted registry entries, reset app permissions, validate app files, and clean temporary data.

1. Click the Taskbar’s magnifying lens, type PowerShell, and click the Run as Administrator option.

Powershell: Camera Black Screen Windows 11

2. Type the command below and hit Enter.

Get-AppxPackage -allusers Microsoft.WindowsCamera | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

3. Restart the computer.

10. Reinstall Camera App

The camera black screen on Windows 11 may be a sign of serious app corruption. If so, uninstall the camera app and reinstall a fresh copy. To do so, follow the steps below.

1. Click the Taskbar’s magnifying lens, type PowerShell, and click the Run as Administrator option.

2. Type the command below and hit Enter.

get-appxpackage Microsoft.WindowsCamera | remove-appxpackage

3. Click the Taskbar’s magnifying lens, type Store, and click the Microsoft Store option.

Windows Store : Camera Black Screen Windows 11

4. Search for Camera and install the Windows Camera app.

11. Replace the Camera

If you have read this far but cannot resolve the camera’s black screen on Windows 11, you may be dealing with bad hardware, and your last option may be to replace the camera.

There are many options, and once you connect the new camera, you should no longer have the black screen.

No More Camera Worries

This will be all. Hopefully, you can use your camera without the black screen error. We have written these fixes in order of priority and recommend you start from the first walking your way down.

Have you fixed the camera’s black screen? Let us know in the comment section what solution worked.

The post How to Fix Camera Black Screen in Windows 11 appeared first on Next of Windows.

❌
❌