Having some trouble with getting my channel to start the stream. The channel is a live feed channel that has to go thru ffmpeg to convert the stream to hls. I have this part. My problem comes in on the xml file. The stream url is setup to
http://192.168.xx.xx:8000/playfile.m3u8 where the ip represents my server. I can manually launch a batch file to start the conversion of the stream, go to the roku select the channel and all works. My problem is how do I get my ffmpeg batch file to start on the channel selection. I was told go create a cgi script to start the batch file. Well if I change the url stream to point to the cgi and the cgi starts the batch file how does the roku know what stream to play, the url stream doesn't point to a m3u8 in this case but the cgi. There has to be a way when the channel is selected, the conversion process can start and the roku will know to stream the m3u8 that is created. Any help would be really appreciated.