INTERACT FORUM

Windows => Television => Topic started by: Yaobing on April 23, 2021, 09:22:40 pm

Title: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on April 23, 2021, 09:22:40 pm
Description:

MC28.0.7 adds IPTV Support in TV engine.  Live streaming, time-shifting and recording.

You can add an IPTV URL as a TV channel, and view the stream in TV engine.

Instructions

[Edit: Please see Using IPTV (https://yabb.jriver.com/interact/index.php/topic,130561.0.html) for more complete instructions.]

1.  To add channels:

a. Manually add a channel:  Run Manage TV Channels (https://wiki.jriver.com/index.php/Manage_TV_Channels).  Click the Add button.  Choose "IPTV" for type.  Enter a station name, and type/paste URL.

or

b. Set up channels using an m3u8 playlist file: 

 (1) Run TV Setup (https://wiki.jriver.com/index.php/TV_Setup). 
 (2) Select "Streaming (from a network tuner or from the Internet)" for Service Type. 
 (3) On Capture Hardware page, select "IPTV" for Tuner Type, and choose an m3u/m3u8 file for channel playlist.
 (4) Finish the rest of the wizard like you do with other TV type setups.

2. View the video like you do with other types of TV channels, from the EPG.  Most likely you will have to manually make EPG mapping entries to get the correct EPG data for such channels.  If you do not make any EPG association, the guide for such channels will be filled with "Program info not available" entries.

Note: Most HLS (HTTP Live Streaming) based IPTV sources use an m3u8 file extension in their URLs.  These are the URLs we can currently support.  If the URL does not contain the file extension, it will not work, because we have not implemented a smarter way of telling the type yet. 
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on April 23, 2021, 09:35:45 pm
IPTV Article at Wikipedia (https://en.wikipedia.org/wiki/Internet_Protocol_television)
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: jmone on April 23, 2021, 10:54:22 pm
I initially tried to add BBC World News.  From what I've read is that many of the m3u8 links fail to play unless you are from the "home country" IP address range.  So they are region locking them, and you just get an "unspecified error" in MC.  I also tried a few of the "3rd party" links floating around and they sort of work but are so slow it is unwatchable.  This is a shame as IPTV links would be great for stuff you don't get locally and of course, there is not much point to IPTV streams for local content as chances are the OTA version is better quality! 

FYI - Here is an example of an Australian IPTV link that works for me https://abc-iview-mediapackagestreams-2.akamaized.net/out/v1/6e1cc6d25ec0480ea099a5399d73bc4b/index.m3u8 

I also noticed that the IPTV streams are not playing in the MC Video/Audio engine, I presume they are in the embedded browser?

Thanks
Nathan

Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on April 24, 2021, 11:09:38 am
This is a great start, thank you! Unfortunately I won't be able to test until a Linux beta version is released.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on April 24, 2021, 10:13:18 pm
I also noticed that the IPTV streams are not playing in the MC Video/Audio engine, I presume they are in the embedded browser?

The TV engine uses the same underlying method as the video engine.  If a URL can be played via File > Open URL..., it can be played as a TV channel.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: rpalmer68 on April 25, 2021, 06:25:17 am
I initially tried to add BBC World News. 

Are you saying BBC World News didn't work? What URL did you try?

I have geo-unblocking setup so would be interested to try some that you had issues with as well.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on April 25, 2021, 12:41:37 pm
The TV engine uses the same underlying method as the video engine.  If a URL can be played via File > Open URL..., it can be played as a TV channel.

Correction:  On Windows, Open URL... will most likely be routed through DirectShow playback, using LAV filters, but TV engine would use non-DirectShow solution.  They will both use the same engine on Mac or Linux.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: audunth on May 12, 2021, 09:34:18 am
Would it be possible to include some type of region unblocking in MC? Or maybe just standard VPN or proxy support, so MC can connect through a VPN or proxy without having to use the VPN/proxy for all other programs on the computer? Like Opera and Firefox have through extensions...?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on May 12, 2021, 11:20:50 am
Would it be possible to include some type of region unblocking in MC? Or maybe just standard VPN or proxy support, so MC can connect through a VPN or proxy without having to use the VPN/proxy for all other programs on the computer? Like Opera and Firefox have through extensions...?

This is a limitation of your VPN provider software. Wireguard (as an interface) makes this very trivial to implement at the OS level. I don't know the state of Wireguard on Windows, but you can do policy-based routing on any Linux distro without issue with OpenVPN or Wireguard.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: audunth on May 12, 2021, 11:54:13 am
I am well aware that you can set up a VPN or proxy connection per application in Windows. That wasn't what I was asking about. My request was for a region unblocking built into MC, so that you can simply go into MC's settings and choose a country.

Now, if that's too complicated, requires paid services or not possible for some legal reason, provide a way to input our own proxy/VPN settings in MC.

Either of these solutions could then be set up per IPTV channel, so that we could watch different foreign IPTV channels, and not worry about changing country at all, as MC would reconnect to the correct VPN/proxy server for each channel. It could, for example, correspond with a "country" field for each channel.

Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: jachin99 on May 18, 2021, 10:05:35 pm
This might be useful for channels dvr at least.  Channels uses tv everywhere streams (that you have paid for via something like YouTube tv) and creates a m3u list from those.  If I upgrade to mc28 I might try it. 
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: GuidoW on May 26, 2021, 04:16:24 am
This comes in handy, as my provider is issuing the needed playlist here in m3u or xpsf format:
https://www.init7.net/en/support/faq/TV-andere-Geraete/

Thing is, it is multicast, so:
Can we please have udpxy support?

Requires a field to enter the udpxy server ip/port and on the fly reformatting of the url.

Here's the one URL as provided for multicast:
#EXTINF:0 tvg-logo="https://api.tv.init7.net/media/logos/bbc_one_hd.png" tvg-name="BBC1.uk" group-title="en", BBC One HD
udp://@239.77.3.30:5000

and once I mangle it for unicast:
#EXTINF:-1,BBC One HD
http://192.168.1.1:4022/udp/239.77.3.30:5000

So 192.168.1.1:4022 is the entry for udpxy.
The goal would be to use the playlist as provided and not have to deal with reformatting for udpxy.

As of today I usually quit MC and start VLC to view TV, and really shouldn't be the case.

Thanks
Guido


Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Paul Coddington on May 26, 2021, 11:48:48 pm
The TV engine uses the same underlying method as the video engine.  If a URL can be played via File > Open URL..., it can be played as a TV channel.

So, it will be able to use madVR?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on May 27, 2021, 04:35:43 pm
So, it will be able to use madVR?

No.  The implementation will be done with Mac and Linux OS in mind, so DirectShow is not going to be used.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: GuidoW on June 07, 2021, 12:05:23 pm
Thing is, it is multicast, so:
Can we please have udpxy support?

So is multicast and udpxy support possible?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on June 10, 2021, 06:25:03 pm
So is multicast and udpxy support possible?

Not sure.  After I get the basics working, I will look into these other things.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: stanzani on June 24, 2021, 10:43:18 am
(1) Run Setup.
What does it mean? I am sorry for the dummy question ...
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on June 25, 2021, 12:04:28 pm
Yes! This is the main thing that has prevented me from moving to JRiver!

Any eta on when the time shift and dvr functions will be added?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: jctcom on June 25, 2021, 10:49:26 pm
The 2 IPTV services I use have what they call "Xtreme Codes".

All it is is the URL of the service provider, (Instead of the full M3u/M3u8 url with embedded User name and password), then your personal user name and password.

It then downloads all the channels and guide.  Most of the newer service providers offer this and it is the best way I have found using an android TV app called TiviMate

Any chance of JRiver supporting "Xtreme Codes" in the future?

Thanks.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: lello on July 04, 2021, 12:25:58 pm
and you just get an "unspecified error" in MC.

In fact this is the error that appears to me on all the channels I am trying, the main ones in Italy, and they are all with m3u8 extension.

Maybe it doesn't work for Italian channels?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on July 08, 2021, 07:43:32 am
(1) Run Setup.
What does it mean? I am sorry for the dummy question ...

https://wiki.jriver.com/index.php/TV_Setup
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on July 08, 2021, 08:35:12 am
Questions like that (setup) are usually answered by a Google search if you add JRiver.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: nathanchavez on July 26, 2021, 05:44:31 pm
I am looking at finally upgrading MC (from MC25), and one of the factors for me is this new IPTV integration.  I have an IPTV service, but it does not support m3u playlist files.  Can I still use it with MC28? I can add it as a channel but I don't see anywhere to authenticate.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on July 27, 2021, 08:57:47 am
Not sure.  Currently only m3u playlists are supported.  Those needing authentication are not supported.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: jctcom on July 27, 2021, 10:14:14 am
Most current / New IPTV service providers no longer use M3U playlists.  They use Xtreme Codes which consist of a basic URL, and a User name / Password.

Edit.  This provides the channel list, VOD (If Any) and Electronic TV Guide.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: nathanchavez on July 27, 2021, 12:39:01 pm
Not sure.  Currently only m3u playlists are supported.  Those needing authentication are not supported.

That's a shame because, as jctcom said, most modern iptv providers don't use m3u files anymore.  Oh well.  I hope support for authentication gets added soon.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: GKone on August 22, 2021, 06:43:55 am
Hi there,

I just upgraded from 27 to 28.
One reason was IPTV.

I live in Germany with KabelDeutschland/Vodafone Cable connection.
Iīm using a FritzBox 6591 with F.OS 07.27.
It has IPTV support DVB-C.
I could generate a channel-list as tvhd.m3u.
In JR28 I could import the list it lists 29 channels.
Unfortunatly I can not start a single channel.
JR28 just shows black-screen: "JRiver Video Engine kann nicht erzeugt werden".

Whatīs wrong?

Please help & advice.

Best regards

Hello Community,

I have a problem to start my channel about IPTV.

Code: [Select]
0082945: 2156: TV: IPTVDevice::UpdateTimestamp: Start
0082945: 2156: TV: IPTVDevice::UpdateTimestamp: Finish (0 ms)
0083038: 15824: Playback: StreamingTVDevice::LayoutWindow: Start
0083038: 15824: Playback: StreamingTVDevice::LayoutWindow: Finish (0 ms)
0083053: 2156: Playback: IPTVDevice::OpenURL: more UpdateTimes call
0083053: 2156: TV: IPTVDevice::UpdateTimestamp: Start
0083053: 2156: TV: IPTVDevice::UpdateTimestamp: Finish (0 ms)
0083162: 2156: Playback: IPTVDevice::OpenURL: more UpdateTimes call
0083162: 2156: TV: IPTVDevice::UpdateTimestamp: Start
0083162: 2156: TV: IPTVDevice::UpdateTimestamp: Finish (0 ms)
0083238: 15824: Playback: StreamingTVDevice::LayoutWindow: Start
0083238: 15824: Playback: StreamingTVDevice::LayoutWindow: Finish (0 ms)
0083270: 2156: Playback: IPTVDevice::OpenURL: more UpdateTimes call
0083270: 2156: TV: IPTVDevice::UpdateTimestamp: Start
0083270: 2156: TV: IPTVDevice::UpdateTimestamp: Finish (0 ms)
0083382: 2156: Playback: IPTVDevice::OpenURL: more UpdateTimes call
0083382: 2156: TV: IPTVDevice::UpdateTimestamp: Start
0083382: 2156: TV: IPTVDevice::UpdateTimestamp: Finish (0 ms)
0083446: 15824: Playback: StreamingTVDevice::LayoutWindow: Start
0083446: 15824: Playback: StreamingTVDevice::LayoutWindow: Finish (0 ms)
0083493: 2156: Playback: IPTVDevice::OpenURL: trying to create video engine.  HLS error
0083493: 2156: TV: StreamingTVDevice::CreatePlayer: Start
0083498: 2156: Playback: JRVideoEngineForTV::Open: Start
0083498: 2156: Playback: JRVideoEngineForTV::Open: Opening file
0083509: 4276: Playback: CBitrateMonitor::UpdateBitrate: Accum audio bytes 0, video bytes 0, time period 1000,4998000000000502 ms, bitrate 0
0083509: 4276: TV: CMainTVManager::GetPosition: Calling GetPosition on unified player
0083509: 4276: TV: CMainTVManager::GetPosition: Calling GetPosition on unified player
0083525: 2156: Playback: JRVideoEngineForTV::Open: Finish (27 ms)
0083525: 2156: TV: StreamingTVDevice::CreatePlayer: Failed to open JR Video Player
0083525: 2156: TV: StreamingTVDevice::CreatePlayer: Finish (32 ms)
0083525: 2156: TV: CMainTVManager::PropagateErrorMessage: Start
0083525: 2156: TV: CMainTVManager::PropagateErrorMessage: JRiver Video Engine kann nicht erzeugt werden hr=0x80004005
0083526: 2156: TV: CMainTVManager::PropagateErrorMessage: Finish (0 ms)
0083526: 2156: Playback: IPTVDevice::OpenURL: Finish (13121 ms)
0083526: 2156: TV: IPTVDevice::PlayChannelTimeShifting: Finish (13121 ms)
0083526: 2156: TV: IPTVDevice::PlayChannel: Finish (13124 ms)
0083526: 2156: TV: CMainTVManager::PlayDefaultChannel: Finish (13124 ms)
0083526: 2156: TV: CMainTVManager::PlayChannelInternal(BSTR) - 0x1801c067030: Returning 0x80004005 after PlayDefaultChannel
0083526: 2156: TV: CMainTVManager::PlayChannelInternal(BSTR) - 0x1801c067030: Finish (13124 ms)
0083526: 15824: TV: CTVPlayer::OnGenericCallback: Start
0083526: 15824: TV: CTVPlayer::OnGenericCallback: Type: 14, value JRiver Video Engine kann nicht erzeugt werden
Unbekannter Fehler
0083526: 15824: Playback: COSDWindow::Show: Start
0083526: 15824: Playback: COSDWindow::Show: JRiver Video Engine kann nicht erzeugt werden
Unbekannter Fehler
, 2147483647, 0
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on August 22, 2021, 07:11:41 am
Hi there,

I just upgraded from 27 to 28.
One reason was IPTV.
There have been some fixes for IPTV recently.  You could try MC28.0.49 from the top of this board.  28.0.53 should be there in the next day or so.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on August 22, 2021, 08:21:05 am
There have been some fixes for IPTV recently.  You could try MC28.0.49 from the top of this board.  28.0.53 should be there in the next day or so.
Build 53 is here now: https://yabb.jriver.com/interact/index.php/topic,130449.msg904644.html#msg904644

Please let us know what you find.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: GKone on August 22, 2021, 10:33:14 am
Hi,
I just updated to the newest version.
Same black screen and same error message ..

Anyone here with same problem and a solution?

best regards
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on August 22, 2021, 01:30:42 pm
Please email me a full log file.  The portion that you posted here is not enough.  yaobing at jriver dot com
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: GKone on August 23, 2021, 03:36:09 am
Hi,

can you tell me how to generate the log file, please?

Best regards,
GK
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on August 23, 2021, 06:35:38 am
You can use Google for questions like that, adding JRiver.   You should find the Logging topic on the wiki.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: GKone on August 23, 2021, 01:51:21 pm
Just sent the log-file ..
best regards
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on August 23, 2021, 04:22:59 pm
Just sent the log-file ..
best regards

Thanks for the log.

I see why it does not work.  Even though the channel list file is an M3U file, the URL of each individual channel is not an M3U8 file.  Currently we still only support IPTV channels that use M3U8.

The URLs of your channels look more like Sat>IP channels.  You should try setting them up as Sat>IP channels, instead of IPTV channels in MC.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: GKone on August 25, 2021, 12:41:38 am
Hello Yaobing,

I just tried to set up SAT>IP. But it didnīt work: it asks for a device but I donīt have one.

Any other chance to make it work?

Best regards
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on August 25, 2021, 08:06:01 am
I just tried to set up SAT>IP. But it didnīt work: it asks for a device but I donīt have one.


The URL that you tried to play starts with "rtsp://192.168.xxx.xxx:554/".  Isn't that the IP address and port number of a device on your local network?  Did you turn on Media Network options as suggested in the Setup Wizard?

Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: aliciaviola on August 30, 2021, 10:37:29 am
I have the same problem (Germany) with a cable FRITZ!BOX. This has four tuners for DVB-C. I made a station search over the Fritz interface and found a lot of stations. I created a .m3u via the interface. It can be opened AND played without any problem with VLC. MediaCenter (latest version and build for MAC) can read the file and imports it, recognises the stations but the stations doesn't play them.
Appended are are some screenshots and the playlist.
Frank
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: aliciaviola on August 30, 2021, 01:40:48 pm
Sorry, should be:
MediaCenter (latest version and build for MAC) can read and import the file, shows the names of the stations of the list but doesn't play them.
And yes: I see that this is a Windows forum but the problem seems to be the same as for the MAC.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on August 30, 2021, 10:02:56 pm
As I previously posted, in replying to GKone, the URLs of the channels are not of the type M3U8, and are thus currently not supported as IPTV channels.  You do have Sat>IP devices and the channels should be setup as Sat>IP channels on Windows.  For Mac, however, Sat>IP channels are not yet supported.  I will probably end up supporting these channels as either Sat>IP channels, or as IPTV channels, but most likely as Sat>IP type.

In summary, if your channel URL starts with something like "rtsp://192.168.xxx.xxx:554/", you probably have a Sat>IP device.  To check the URL of a channel, go to "Manage Channels", select a channel, and read the "Details" box on the right-side.

On Windows, Sat>IP devices are supported.  You must turn on Media Network settings in order to use this type of channels.  Please read these instructions in the wiki article "TV Tuners" (https://wiki.jriver.com/index.php/TV_Tuners#Sat.3EIP_Tuners).

On Mac and Linux, Sat>IP type is not yet supported.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: RamsX on August 31, 2021, 12:21:12 pm
I have a M3U8 file from my provider, which also contains a username and password.

Which EPG should I use? I don't understand the alternatives listed.


Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on August 31, 2021, 01:05:28 pm
I have a M3U8 file from my provider, which also contains a username and password.

I hope the username and password are built into each individual channel URL, instead of just one entry for all channels.  The reason is that we are not currently doing anything thing particular for user authentication.  If it requires us to do something, I will work on it.

Quote
Which EPG should I use? I don't understand the alternatives listed.

EPG must be set up by users.  "XMLTV" is the most generic type.  You must have an EPG service that allows you to download an XMLTV file daily so we can import the data into MC.  "Perc Data" is integrated into MC but a user must set up a paid subscription with Perc Data.  "Over the air signal" applies only to people who have an over-the-air tuner (for ATSC and DVB channels).

Please read the wiki on EPG (https://wiki.jriver.com/index.php/EPG) for details.

Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: RamsX on August 31, 2021, 01:18:23 pm
I hope the username and password are built into each individual channel URL, instead of just one entry for all channels.  The reason is that we are not currently doing anything thing particular for user authentication.  If it requires us to do something, I will work on it.

EPG must be set up by users.  "XMLTV" is the most generic type.  You must have an EPG service that allows you to download an XMLTV file daily so we can import the data into MC.  "Perc Data" is integrated into MC but a user must set up a paid subscription with Perc Data.  "Over the air signal" applies only to people who have an over-the-air tuner (for ATSC and DVB channels).

Please read the wiki on EPG (https://wiki.jriver.com/index.php/EPG) for details.


Hmmm... OK,will try.
Looks like JRiver is not sorting channels according to groups (countries) or separate "Live" channels from "Series" and "Movies".
I have only a list here with over 130.00 entries.
Better stick to my old IPTV provider (Duplex) which has a very tidy look and also separates all streams in their proper group, as well as downloading EPG automatically from the M3U8 URL.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on August 31, 2021, 01:53:40 pm

Hmmm... OK,will try.
Looks like JRiver is not sorting channels according to groups (countries) or separate "Live" channels from "Series" and "Movies".
I have only a list here with over 130.00 entries.
Better stick to my old IPTV provider (Duplex) which has a very tidy look and also separates all streams in their proper group, as well as downloading EPG automatically from the M3U8 URL.

Channels can be sorted in various ways.  Take a look in "Manage Channels".

You are right, that we are not separating live channels from VOD files.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: chrysbar on September 06, 2021, 11:49:53 pm
I got the 28 version because it says it plays IPTV. So I don't know how that works, since I enter my m3u file name (the one I got from my IPTV provider) in the TV setup process, but there is nothing happening after I click Scan. I see this message: "A television device does not exist or was not selected for scanning." And I thought that I did not need a tv to watch Iptv on my iMac...
What is wrong?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 07, 2021, 03:49:42 pm
I got the 28 version because it says it plays IPTV. So I don't know how that works, since I enter my m3u file name (the one I got from my IPTV provider) in the TV setup process, but there is nothing happening after I click Scan. I see this message: "A television device does not exist or was not selected for scanning." And I thought that I did not need a tv to watch Iptv on my iMac...
What is wrong?

Please read this thread for instruction (https://yabb.jriver.com/interact/index.php/topic,130561.0.html).
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: chrysbar on September 07, 2021, 11:50:59 pm
Well that does not help, since those are the instructions I tried to follow, with the results I already showed...
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 08, 2021, 11:44:12 am
Well that does not help, since those are the instructions I tried to follow, with the results I already showed...

Are you using the latest build of MC?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 08, 2021, 04:32:40 pm
I finally had a chance to set this up. Everything seems to be working OK with channel management but whenever I actually try to watch a channel I get the following error:

Failed to create JRiver Video Engine Unspecified Error

Logs sent.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on September 08, 2021, 04:35:09 pm
Bryan,
On just one channel?

I saw a few of those when I was testing.  Maybe 1/3 of the channels I tried.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 08, 2021, 04:52:52 pm
Bryan,
On just one channel?

I saw a few of those when I was testing.  Maybe 1/3 of the channels I tried.

I just tested 10 channels and one of them did end up working. That's some progress (I know it can work!), but I'm only batting .100.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 09, 2021, 08:48:35 am
I finally had a chance to set this up. Everything seems to be working OK with channel management but whenever I actually try to watch a channel I get the following error:

Failed to create JRiver Video Engine Unspecified Error

Logs sent.

Not received.  Please resend, to yaobing at jriver
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 09, 2021, 09:03:57 am
Not received.  Please resend.

Resent to yaobing at jriver. I normally send all of my logs to logs at jriver. Thanks!
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 09, 2021, 05:35:51 pm
Resent to yaobing at jriver. I normally send all of my logs to logs at jriver. Thanks!

Received.  Thanks.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 09, 2021, 06:38:43 pm
I took a look at the log file and found that this channel: "USA: CMT FHD" does not play because it is not streamed as HTTP Live Streaming.  It appears to be just a direct stream of possibly transport stream.  When I entered the URL in a browser, the browser started downloading a file, but it probably will be never-ending (instead of an m3u8 playlist file which would be finite).

This probably will be my next task - figuring out which type of stream a given URL is before deciding how to handle it.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 10, 2021, 07:09:42 am
I have no problems playing the affected URLs using "File>Open URL" from within MC so unless the timeshifting code is a completely different beast you may have something to go on there.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 10, 2021, 08:22:41 am
Indeed the time-shifting code is different.  When using File > Open URL... we send the URL directly to the video playback engine.  When playing it as a TV channel, we have to manage the time-shifting buffer outside of the video engine.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 10, 2021, 10:52:57 am
That's what I figured, sounds like a fun and tricky problem, good luck!
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 17, 2021, 09:43:55 am
I split Franky's post into a new topic as it is not really an IPTV issue.

https://yabb.jriver.com/interact/index.php/topic,130693.0.html
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 17, 2021, 11:19:54 am
The new build has fixed most of my playback streams, thanks!
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 17, 2021, 01:30:37 pm
Great!  Thanks for pushing us in this direction.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 20, 2021, 01:00:28 pm
After some more testing, IPTV channels played via the Guide start skipping and freezing after a few minutes of playback (on the handful of channels I've tested). If I play the same link using the traditional method it plays fine for several hours. Let me know if you would like logs.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on September 21, 2021, 09:38:08 am
After some more testing, IPTV channels played via the Guide start skipping and freezing after a few minutes of playback (on the handful of channels I've tested). If I play the same link using the traditional method it plays fine for several hours. Let me know if you would like logs.

No idea right now.  Yeah, please provide logs.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on September 26, 2021, 06:04:02 pm
It just happened again, logs sent, thanks!
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on October 16, 2021, 10:34:29 am
I hope this isn't a stupid question.

I installed the trial a few months ago to test out the IPTV functionality as I am pretty desperate to move from Mediaportal, but I had problems with it.

I would like to try this again using the new build and have removed/reinstalled but cannot run the trial to test as I have previously installed the software, so the 30 day trial is no longer available.

Is there anything I can do to get a new trial working? I have tried running the trial on a VM but can't get any channel to play and receive a "Failed to create JRiver Video Engine Unspecified Error" message.

This software ticks every box for me and the only thing that has prevented me moving so far has been the lack of IPTV support. As long as I can get my IPTV channels working alongside my DVB-S2 ones, I'm sold.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Paul Coddington on November 02, 2021, 04:06:31 am
Had a quick crack at this with no luck.

Can manually enter single channels and watch them, but JRiver does not seem to be able to import EPG and match it to a list of channels (either it does not understand it and cannot match it, or will not download it to begin with).

http://i.mjh.nz/nzau/kodi.m3u8
http://i.mjh.nz/nzau/epg.xml

The channels are imported from M3U8 without IDs, and IDs cannot be entered manually (either when editing one channel at a time or importing a M3U8, it's an empty read only field either way).

Guide comes up blank, asks to me to match manually, but clicking on the coloured links to fix it only produces an empty box that cannot be typed into, so I have no idea what it is even asking me to do.

I'll leave the links here for someone else to try to see if that narrows down the problem (perhaps those files are not the right format). If I know they work (or not) for someone else, it would help a great deal.

I'm also a bit concerned that v28 installer does not seem to create any firewall rules, but creating generic ones on all the executables in the JRiver river folder did not help. With 27, a set of firewall rules were created, but it would be a lot of trouble to reimage the computer from an older backup to retrieve them and adapt them at this point and I can't find any information on what they should be.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Paul Coddington on November 02, 2021, 04:12:05 am
No.  The implementation will be done with Mac and Linux OS in mind, so DirectShow is not going to be used.

Pity, as colour management would be good to have.

But, if I can get JRiver to play Free To Air IPTV channels I can declutter and get rid of Kodi regardless, because although Kodi has colour management, it has not been working since v19 released (massive memory leak that grinds the PC to a halt and crashes the application in seconds when colour management enabled). So, JRiver not having colour managed IPTV is not a loss at this point, just have to switch the monitor to BT.709 to match when fussed.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on November 09, 2021, 11:57:36 am
Had a quick crack at this with no luck.

Can manually enter single channels and watch them, but JRiver does not seem to be able to import EPG and match it to a list of channels (either it does not understand it and cannot match it, or will not download it to begin with).

http://i.mjh.nz/nzau/kodi.m3u8
http://i.mjh.nz/nzau/epg.xml

The channels are imported from M3U8 without IDs, and IDs cannot be entered manually (either when editing one channel at a time or importing a M3U8, it's an empty read only field either way).

Guide comes up blank, asks to me to match manually, but clicking on the coloured links to fix it only produces an empty box that cannot be typed into, so I have no idea what it is even asking me to do.

I'll leave the links here for someone else to try to see if that narrows down the problem (perhaps those files are not the right format). If I know they work (or not) for someone else, it would help a great deal.

I'm also a bit concerned that v28 installer does not seem to create any firewall rules, but creating generic ones on all the executables in the JRiver river folder did not help. With 27, a set of firewall rules were created, but it would be a lot of trouble to reimage the computer from an older backup to retrieve them and adapt them at this point and I can't find any information on what they should be.

I will try to make some changes.  For example I should be able to parse the m3u8 file and read tvg-id="" part and save it to "XMLTV ID".

To manually add XMLTV IDs to channels, go to Manage Channels (https://wiki.jriver.com/index.php/Manage_TV_Channels).  The last column "XMLTV ID" is editable.  Slow-double-click in the list cell to enter edit mode.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on February 24, 2022, 10:58:31 am
I'm hoping someone can assist me with what may be a dumb problem/question here.

I have been testing on my laptop before rebuilding my main HTPC to move from another product.

On my laptop, my IPTV channels play fine. The version on that machine is 28.0.80 and is using Red October Standard.

I have now installed 28.0.106 onto my HTPC and the same channels do not play at all. I have tried changing Red October from Standard to JRVR with no success. Each time I try to play a channel I get the message "Failed to create JRiver video engine Unspecified Error".

On my laptop I can open a stream of one of these channels by selecting Open URL (am running Windows), but on the HTPC it just says "There is nothing to play"

Is there something really obvious I am missing here, or is there a way to access a previous build if that is the issue?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: BryanC on February 24, 2022, 06:10:56 pm
I'm hoping someone can assist me with what may be a dumb problem/question here.

I have been testing on my laptop before rebuilding my main HTPC to move from another product.

On my laptop, my IPTV channels play fine. The version on that machine is 28.0.80 and is using Red October Standard.

I have now installed 28.0.106 onto my HTPC and the same channels do not play at all. I have tried changing Red October from Standard to JRVR with no success. Each time I try to play a channel I get the message "Failed to create JRiver video engine Unspecified Error".

On my laptop I can open a stream of one of these channels by selecting Open URL (am running Windows), but on the HTPC it just says "There is nothing to play"

Is there something really obvious I am missing here, or is there a way to access a previous build if that is the issue?

IPv6 routing issue?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on February 25, 2022, 02:20:15 am
Hi BryanC,

Thanks for replying.

Doesn't appear to be a routing issue and is not related to IP6 - I have disabled that to test.

The same URL can be opened on the same machine using VLC and starts in a second or two, and it works on my laptop running the older build of MC28, so it appears to be local to MC on this machine, I just can't see what the issue could be.

Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on February 28, 2022, 01:23:47 pm
I changed from standard view to theater view and the IPTV channels started playing.

Now if I go back to standard view they will play as expected, however trying to play a channel from file > open URL does not work.

Very odd, but at least it is working now in a way that my wife will be able to use!
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on March 24, 2022, 12:08:00 pm
I am stuck with this same issue again now after upgrading to MC29 - IPTV streams do not start and i get the "Failed to create JRiver video engine Unspecified Error" message.

The streams also do not play using File > Open URL and says there is nothing to play. The streams work fine in VLC and on another machine running MC28.

I have tried everything I did last time and the settings appear to be the same on both installations. I just cannot see why they won't play.

Have tried all video engines and IP6 is disabled.

I'm stumped by this one.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on March 24, 2022, 05:20:07 pm
Here's an IPTV link for a Minneapolis station, KARE 11:

https://livevideo01.kare11.com/hls/live/2014544/newscasts/live.m3u8

You can play it from File > Open URL.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on March 24, 2022, 05:43:34 pm
Hi Jim,

I noticed about an hour ago there was a new build 29.0.22.

I've installed that and it's started to work straight away.

The release notes mentioned a fix for IPTV channels not starting that was added in 29.0.20 and I was on 29.0.18.

Seems like that's done the trick!
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: jmone on March 24, 2022, 06:29:14 pm
Here's an IPTV link for a Minneapolis station, KARE 11:

https://livevideo01.kare11.com/hls/live/2014544/newscasts/live.m3u8

You can play it from File > Open URL.

I tried it (Beta V29.0.23), and it opened the link in a Web Browser tab (not MC), and I got the msg:


Quote
Access Denied
You don't have permission to access "http://livevideo01.kare11.com/hls/live/2014544/newscasts/live.m3u8" on this server.
Reference #18.3458d617.1648164363.223aa40

It may be regionally blocked (I'm in Oz)?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on March 25, 2022, 12:52:12 pm
I tried it (Beta V29.0.23), and it opened the link in a Web Browser tab (not MC), and I got the msg:


It may be regionally blocked (I'm in Oz)?

It works fine here.  So it is likely due to your location.

This channel actually does not stream live programs.  It lets you play the last local news program.  For example, right now, at 12:50 PM  US Central time, it plays a 4:30 AM news program.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: jctcom on May 20, 2022, 05:12:34 am
Looks like it's been a while since any new posts here.

Any updates on Xtreme codes support or at least a multi-Channel URL?

I will stick with my main IPTV player (TiviMate) on my Nvidia Shield until this gets worked out.

Carl.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on May 28, 2022, 06:16:42 am
Hope this isn't a stupid question.

If your IPTV service allows for multiple streams, so you can watch one channel whilst recording another, do you need to set up multiple IPTV tuners in MC as you would for DVB or does it just work it out on its own?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on May 28, 2022, 10:28:17 pm
Hope this isn't a stupid question.

If your IPTV service allows for multiple streams, so you can watch one channel whilst recording another, do you need to set up multiple IPTV tuners in MC as you would for DVB or does it just work it out on its own?

Multiple streams are not supported at this time.  For now, only the first available variant in an HLS is used.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on May 31, 2022, 09:01:33 am
Hi @Yaobing,

I may not have explained this very well. I am not trying to view different variants. My subscription allows for two connections, so these can be two separate devices watching separate (or the same) channels, or one device that can tune to and record one stream (channel) and at the same time watch a separate stream (channel).

This gives me feature parity with physical dual tuner cards connected to a dish or aerial, where one channel can be recorded and another viewed simultaneously.

I tried to add an additional IPTV tuner for this purpose, but this just seemed to remove my first tuner and call the new IPTV tuner IPTV2.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on May 31, 2022, 04:20:28 pm
IPTV "tuners" are not physical tuners in MC.  We do not limit how many channels you can access, even though your provider may.  So on the same computer, when you are recording one channel, you can watch another channel.  MC will automatically create another "tuner" for it.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on June 01, 2022, 07:43:06 am
Perfect. Thanks Yaobing.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: lepa on June 18, 2022, 07:10:53 am
Are HLS subtitles supported? I can watch and record national broadcasting stream but subtitles are not shown. In DVBViewer they are visible so they exist.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on June 18, 2022, 09:04:12 am
Are HLS subtitles supported? I can watch and record national broadcasting stream but subtitles are not shown. In DVBViewer they are visible so they exist.

There currently is no specific coding to support that.  I will have to figure out what and how.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on September 01, 2022, 06:02:05 am
Is there any limit in JRiver on the length that the link to the individual channel can be?

My provider has recently made changes and now the links are a lot longer than they previously were and cannot be played in JRiver.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: JimH on September 01, 2022, 07:13:11 am
Is there any limit in JRiver on the length that the link to the individual channel can be?

My provider has recently made changes and now the links are a lot longer than they previously were and cannot be played in JRiver.
How long?
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on September 01, 2022, 07:49:37 am
Hi Jim,

They are 333 characters in length for the most part now.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on September 06, 2022, 02:43:22 pm
Would that be too long? They do also include forward slashes now and did not previously.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on October 03, 2022, 10:53:23 am
I don't remember having set any limit on URL length in my code.  Usually URLs can be as long as 2048 bytes and forward slashes are fine too.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: konkeydong75 on October 03, 2022, 11:04:49 am
Thanks Yaobing,

I have solved this one now. My provider had upgraded security to provide unique links for each channel for each subscriber, which removed the older style lines that contained usernames and passwords.

I explained the issue and they gave me a workaround for this, and now have the older style lines again which are working fine.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: deuceadam on February 04, 2023, 12:20:28 pm
I have attempted to load YEahTV on Media 30 but when it begins to process the guide constantly locks up and then shuts down totally! So I then tried to load in JRmedia 29 and its taking hours to process the channel listing it is over 80K channels but JR30 did this part in 15 minutes. HELP PLEASE Also if you search from main support page for IPTV it says nothing!!!
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: Yaobing on February 06, 2023, 09:17:23 am
I have attempted to load YEahTV on Media 30 but when it begins to process the guide constantly locks up and then shuts down totally! So I then tried to load in JRmedia 29 and its taking hours to process the channel listing it is over 80K channels but JR30 did this part in 15 minutes. HELP PLEASE Also if you search from main support page for IPTV it says nothing!!!

80k channels are too many.  Do you have a guide file for all of the channels?

In recent builds of MC30 we have made some improvements, but the guide loading part is still not quite right.  The channel loading part will take some time to finish but at least it does not appear to hang and does provide feedback.
Title: Re: NEW: IPTV Support in the JRiver TV Engine
Post by: saltanar on December 03, 2023, 06:00:04 am
I have a bigger one too and jriver has frequent blockages also without tv guide with a iptv list bigger than 240k .