2023-09-18, 05:22 PM
Thanks hopefully other users in Italy will benefit too. Yes extras are great, and I am so glad sub added this important feature they open NextPVR to so much content.
Martin
Martin
2023-09-18, 05:22 PM
Thanks hopefully other users in Italy will benefit too. Yes extras are great, and I am so glad sub added this important feature they open NextPVR to so much content.
Martin
2023-10-13, 04:34 PM
(2023-09-18, 05:22 PM)mvallevand Wrote: Thanks hopefully other users in Italy will benefit too. Yes extras are great, and I am so glad sub added this important feature they open NextPVR to so much content. Hi Martin, this starts to sound like the neverending story... I've got an update regarding this issue that may help others in similar situations. The streams of the channels that were configured with the extra component were working for a few minutes (between three and five minutes), then they always interrupted. The solution is to add the argument -http_seekable 0 to the FFmpeg command for each channel, for example: <extras> <channel name="Rai News 24"> <command>ffmpeg</command> <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i https://mediapolis.rai.it/relinker/relin...;output=16 -codec copy -f mpegts - </args> </channel> </extras> I've tested the stream for more than one hour and it looks like we finally got it! I'm editing the other post in which I pasted my extra conf so that others should not incur in the same problem. I found the solution to this issue in a very old ticket about FFmpeg, and the reasoning behind this is: Add http_seekable option for HTTP partial requests, when the EXT-X-BYTERANGE tag indicates that a Media Segment is a sub-range of the resource identified by its URI, we can use HTTP partial requests to get the Media Segment. This is where I found it: http://trac.ffmpeg.org/ticket/9240
2023-10-13, 04:57 PM
Ok, looking at the other thread you may want the -re option too so it doesn't stop if data isn't delivered.
Martin |
|