The plan is to pipe a video source from ATCS/DVB-T directly to WebRTC to allow for browser based streaming of live video from an Antenna.
Does it work? A bit - We have hacked a proof of concept, but need a developer with knowledge of FFMPEG/VLC/WebRTC to make it reliable
How we hacked it together:
1. Open Chromium to a website that allows for WebRTC video streaming
2. Open VLC Media Player in Full Screen reading from the ATSC Input
3. Start FFPMEG to capture X11, and sink it to a v4l2 source (using v4l2loopback)
(ffmpeg -f x11grab -r 30 -s 1280x720 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video10)
4. Pipe the audio from VLC to the microphone of the browser using pulseaudio
(pacmd move-source-output 3 [url removed, login to view])
How we want to make it stable:
1. Single conversion from ATSC/DVB-T to a WebRTC compatible format that the browser can accept.
2. A method to detect if the ATSC/DVB feed loses audio and try to restart...