2023-01-24, 18:59
I've put myself together a little Python script for my Windows PC which launches ffmpeg to create a live audio/video stream off my desktop, controls my Kodi device through its JSON RPC interface remotely and mutes my PC's local audio output while streaming.
After fiddeling around with ffmpeg for a while I now have a HEVC (H.265) [email protected] video signal with a 32 Bit AAC audio signal which is broadcast to my LAN using RTP for transport, and when looking at the screen connected to my Kodi device (Raspberry Pi 4, but any Kodi device capable of decoding H.265/AAC should do) I can't really tell the difference to my PC monitor (I'm using NIVDIA's GPU-accelerated video encoder "hevc_nvenc", but it also works with ffmpeg's software encoder). There is a constant delay of about 4 seconds between PC an Kodi, but that doesn't matter once I focus my attention to Kodi (as long as the PC's speakers are muted).
I could generalize the Python script a little and upload it to github, I'm just wondering: is anybody besides me interested in this? Are there any free and open solutions to this (I mean without involving special hardare or any software licences)?
After fiddeling around with ffmpeg for a while I now have a HEVC (H.265) [email protected] video signal with a 32 Bit AAC audio signal which is broadcast to my LAN using RTP for transport, and when looking at the screen connected to my Kodi device (Raspberry Pi 4, but any Kodi device capable of decoding H.265/AAC should do) I can't really tell the difference to my PC monitor (I'm using NIVDIA's GPU-accelerated video encoder "hevc_nvenc", but it also works with ffmpeg's software encoder). There is a constant delay of about 4 seconds between PC an Kodi, but that doesn't matter once I focus my attention to Kodi (as long as the PC's speakers are muted).
I could generalize the Python script a little and upload it to github, I'm just wondering: is anybody besides me interested in this? Are there any free and open solutions to this (I mean without involving special hardare or any software licences)?