(2018-11-21, 21:06)nashnash Wrote: Ok Let me try to clarify this:
1. Instead of the default one hour in the dummy xml tv I would like to have the option to choose the duration of program to be generated. One-hour programs will have me record 6 different files for a six hours single event. Having user option to set duration would make this even better.
Even though I can use add rule in iptv recorder...that a manual work I have to do all the times. Like I have every week to do this in order to record my weekly six hours program. If I have a guide set up, I can use the rules already set up in there for a set up and forget.
2. As far as my question about m3u8. Some m38 URL for each channel really points not to file but to a remote playlist (on the publisher server) with multiple URLs. I think this is done for adaptive streaming (or progressive http download) based on each client internet speed to avoid buffering. Though this seems great, it seems many android recording apps are not able to record these types of steam. As said, I don't really use iptv providers who are able to just serve you a ts output. So, I was just wondering if there was a way to convert those type to ts. TS are recordable easily.
Yes ffmpeg seems able to record them and thus I can do so on my windows computer or with iptv recorder on Shield TV. But I'm trying to use Live Channels with some other app and this is the limitation.
I could make the dummy channels with a configurable regular duration and start offset.
It would probably be better to add a Add Weekly Time in IPTV Recorder. That would be more accurate.
Choose one and I'll see if I can add it.
Transcoding m3u to ts depends on the stream format that the m3u contains.
In simple HLS streams you can sometimes just grab the url of the sub-stream from the m3u and use that instead.
DASH streams take a bit more work and need a recent version of ffmpeg to deal with.
There are lots of switches to ffmpeg to control which sub-stream is used.
You might want to force one with a specific bandwidth or resolution or just keep up in real-time.
If you want to transcode all your streams you might want to look into Emby or tvheadend.
If you just have one stream you always want to generate a ts stream for you should just dig into the ffmpeg documentation and make a custom ts stream exactly as you need it.
VLC might even be better in that case.
It might be best if you pm me an example stream and exactly what you want to do with it.