Hi Saen,
Before the pleasure of studying ffmpeg and experimentering to get the muxing done, there's the pleasure of breaking down the project into pieces, trying to understand if it's possible and achievable for me (I'm not an expert like you).
I'm still in the latter phase and I enjoy hearing from you experts what's your thought about this. And sure, I already looked a bit at ffmpeg before posting.
So I was asking myself:
1. is the RPI4B powerfull enough to have tvheadend make a recording, have ffmpeg mux the stream, play the muxed recording in progress on a client (and do some other small stuff)?
And what about tvheadend? TVHeadend makes a recording, I am muxing that file, I guess saving it to another file so I have to overwrite the recording database WHILE the recording is still going on (otherwise I can't see it in the current recordings menu).
2. Can I overwrite that database while recording?
3. Does tvheadend let me mux the stream while recording?
And finally:
4. Is this the right way, or is there a perhaps easier solution?
Thanks,
Wim