Trying to create my own time shifted channels

I am after some assistance on a little project i have been working on.
I want to record a hand full of channels, at a certain time of day, and then use ffmpeg to stream the recordings, again at a certain time of day to pipe back into channels with offset EPG data.

I have managed to use ffmpeg to convert the mpg recording into a m3u8 file, but am unsure of the best route to take to then have ffmpeg play that file, pipe it into a hls server and then pipe that stream back into channels.

Google, chatgpt etc are throwing up many options, and i am unsure of the best way to proceed.

Any help would be appreciated.

@tmm1 @maddox any suggestions?

Sorry, this isn't the sort of thing our team has the resources to assist with. Virtual Channels are what we provide to do similar sorts of things with the DVR.

I appreciate that, im just after a pointer in running a command with ffmpeg to serve a stream to a hls server

The other thing that i have previously suggested, would be the ability to play a particular recording at a set time of day, within virtual channels

So if anybody is interested, i did manage to get this to work.
Using the ADB server, i select a channel with offset EPG data, which runs a python script, searches my recordings and finds the most recent title. It runs a curl command with the updated ID to play the content, seeks back a mile to make sure its at the start, and then seeks forward the time in seconds since X oclock.

Sounds clunky, but works well and channel tuning is within a second

1 Like