2020-01-24, 04:34 AM
I've been poking around at other posts trying to figure out what the best option is to add my network based encoder as a device.
The network encoder currently produces an H265 stream with AC3 (stereo) audio at http://172.16.1.4/0.ts. I use a custom python script to change channels, and I've confirmed that is working in the Docker container. To change channels you do python3 /config/scripts/iguana-blaster/execute.py -c {channel}. This combination works as an IPTV device in NPVR4, and I thought about just leaving it that way. But the IPTV device in NPVR5 only imports mu3 files, not the XML file I can export from NPVR4. So that leaves me 2 options:
1- Figure out the format of the mu3 import file so I can import the channels and, ideally, the channel changer script. I think this might not quite work, as I saw a post indicating that to add channel changing to NPVR5's IPTV device I would have to modify the database directly (which I can do if I have to, but is not my first choice).
2- Figure out the Extras format. This feels like it should be easier since the encoder already provides a valid stream, but I can't figure out the format. Other posts about Extra devices seem to be based on having to do a bunch of stuff to get a file that vlc or ffmpeg can convert into a transport stream, and I'm hoping I don't have to do that here.
Thanks.
The network encoder currently produces an H265 stream with AC3 (stereo) audio at http://172.16.1.4/0.ts. I use a custom python script to change channels, and I've confirmed that is working in the Docker container. To change channels you do python3 /config/scripts/iguana-blaster/execute.py -c {channel}. This combination works as an IPTV device in NPVR4, and I thought about just leaving it that way. But the IPTV device in NPVR5 only imports mu3 files, not the XML file I can export from NPVR4. So that leaves me 2 options:
1- Figure out the format of the mu3 import file so I can import the channels and, ideally, the channel changer script. I think this might not quite work, as I saw a post indicating that to add channel changing to NPVR5's IPTV device I would have to modify the database directly (which I can do if I have to, but is not my first choice).
2- Figure out the Extras format. This feels like it should be easier since the encoder already provides a valid stream, but I can't figure out the format. Other posts about Extra devices seem to be based on having to do a bunch of stuff to get a file that vlc or ffmpeg can convert into a transport stream, and I'm hoping I don't have to do that here.
Thanks.