NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
1 2 3 4 5 … 34 Next »
NextPVR can't open RAI (Italian main TV channels) links

 
  • 0 Vote(s) - 0 Average
NextPVR can't open RAI (Italian main TV channels) links
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,083
Threads: 957
Joined: May 2006
#11
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
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#12
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.

Martin

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
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,083
Threads: 957
Joined: May 2006
#13
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
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#14
2024-05-06, 07:54 AM (This post was last modified: 2024-05-06, 07:56 AM by f2fg.)
Many Italian channels underwent changes and stopped working, this is an updated version of my extras.xml file that currently work for RAI and Mediaset channels:

Code:
<extras>
  <channel name="Rai 1">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 2">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 3">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308709&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 4">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746966&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 5">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=395276&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Movie">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747002&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Premium">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746992&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai News 24">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Storia">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746990&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
   <channel name="Rai Scuola">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747011&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Sport">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rete 4">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -re -i https://live03-col.msf.cdn.mediaset.net/live/ch-r4/r4-clr.isml/manifest.mpd -codec copy -f mpegts - </args>
  </channel>
  <channel name="Canale 5">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -re -i https://live03-col.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/manifest.mpd -codec copy -f mpegts - </args>
  </channel>
  <channel name="Italia 1">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -re -i https://live03-col.msf.cdn.mediaset.net/live/ch-i1/i1-clr.isml/manifest.mpd -codec copy -f mpegts - </args>
  </channel>
</extras>
alice_anto
Offline

Junior Member

Italy
Posts: 3
Threads: 0
Joined: Mar 2025
#15
2025-03-28, 06:46 PM
(2024-05-06, 07:54 AM)f2fg Wrote: Many Italian channels underwent changes and stopped working, this is an updated version of my extras.xml file that currently work for RAI and Mediaset channels:

Code:
<extras>
  <channel name="Rai 1">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 2">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 3">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308709&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 4">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746966&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 5">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=395276&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Movie">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747002&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Premium">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746992&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai News 24">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Storia">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746990&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
   <channel name="Rai Scuola">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747011&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Sport">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -http_seekable 0 -i  http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&amp;output=7&amp;forceUserAgent=raiplayappletv -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rete 4">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -re -i https://live03-col.msf.cdn.mediaset.net/live/ch-r4/r4-clr.isml/manifest.mpd -codec copy -f mpegts - </args>
  </channel>
  <channel name="Canale 5">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -re -i https://live03-col.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/manifest.mpd -codec copy -f mpegts - </args>
  </channel>
  <channel name="Italia 1">
    <command>ffmpeg</command>
    <args>-user_agent "HbbTV/1.6.1" -re -i https://live03-col.msf.cdn.mediaset.net/live/ch-i1/i1-clr.isml/manifest.mpd -codec copy -f mpegts - </args>
  </channel>
</extras>


hello,

i have just installed NextPVR on windows 10 and i have the same issue with RAi channel and some Mediaset channel (i havent test all).
I have try to create a file extras.xml in the folder E:\NextPVR\data and copy your code, then restarted the pc but nothing is changed, same error (Failed to start requested stream and then Streaming Failed (transcoder exited) after few second).

Is this solution still valid ? must i do something other then create the extras.xml ?

the same list with software SFVIP-Player works fine with all channel both live and recording (but the software is not so advanced as record cheduling as NextPVR.

Thanks for any help
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,083
Threads: 957
Joined: May 2006
#16
2025-03-28, 06:52 PM
(2025-03-28, 06:46 PM)alice_anto Wrote: I have try to create a file extras.xml in the folder E:\NextPVR\data and copy your code, then restarted the pc but nothing is changed, same error (Failed to start requested stream and then Streaming Failed (transcoder exited) after few second).

The solution is valid but I have no idea how you got an extra to load from  E:\NextPVR\data.  The default data folder for NextPVR is C:\Users\Public\NPVR-data and then you should see the extra appear on a rescan and then load the file.

Martin
alice_anto
Offline

Junior Member

Italy
Posts: 3
Threads: 0
Joined: Mar 2025
#17
2025-03-29, 08:36 AM
(2025-03-28, 06:52 PM)mvallevand Wrote:
(2025-03-28, 06:46 PM)alice_anto Wrote: I have try to create a file extras.xml in the folder E:\NextPVR\data and copy your code, then restarted the pc but nothing is changed, same error (Failed to start requested stream and then Streaming Failed (transcoder exited) after few second).

The solution is valid but I have no idea how you got an extra to load from  E:\NextPVR\data.  The default data folder for NextPVR is C:\Users\Public\NPVR-data and then you should see the extra appear on a rescan and then load the file.
Martin

thanks! i had only checked the folders where i had installed nextpvr..
copied extra.xml to the right folder and did rescan and it imported the channels added at the end of the list (from 385) image 1 and 2
But in Channels I only see the first 384 in the my list (image 3) and not the new ones created by extras.xml and trying to open the 'old' Rai 1 I still get the same error as before...

Have I skipped any steps ?

thanks again


Attached Files Thumbnail(s)
           
alice_anto
Offline

Junior Member

Italy
Posts: 3
Threads: 0
Joined: Mar 2025
#18
2025-03-29, 10:15 AM (This post was last modified: 2025-03-29, 05:10 PM by alice_anto.)
Sorry but i'm new to NextPVR.. i have find that channel displayed depends on settings/general/channel group Smile
selecting extra now rai channels are ok!
Some other mediaset channel not work like Top Crime, i will try to understand how add it on my extras.xml if it work.

many thanks
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR on Ubuntu 24.04 Server Running, Web interface not so much JeffH 15 518 2025-06-11, 05:43 PM
Last Post: mvallevand
  No DVB-T channels found Steu851 3 471 2025-05-03, 04:37 PM
Last Post: Steu851
  Server crash changing channels VCR58 7 785 2025-03-27, 03:17 PM
Last Post: VCR58
  Guide data issue using NextPVR in a Proxmox LXC njc 10 1,236 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 650 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,975 2025-02-04, 05:23 PM
Last Post: mvallevand
  complete scanning of channels not possible evil666 84 4,700 2024-12-21, 05:58 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,080 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 5,610 2024-12-16, 02:32 AM
Last Post: ehfortin
  deleting channels Linox 7 658 2024-12-01, 12:27 PM
Last Post: Linox

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode