|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1781
|
||||
|
||||
Quote:
I'm asking this because you were requesting a capability to be changed in sagetv so you could share a network encoder through another network encoder. As was alluded to, this will result in the potential for a neverending loop during discovery if someone happens to turn the encoding server on on two servers on the network. Server1 has 1 hardware encoder on it (called Encoder1), and has encoding server enabled. In it's source list it will show: Encoder1 Server 2 is started up and has 2 hardware encoders on it (called Encoder2 and Encoder3), and get the encoding server turned on in it. In it's source list, it will now show: Encoder2 Encoder3 Encoder1 on Server1 Server1 is later restarted at some point. It will go through discover of encoders out on the network, and populate any it finds in it's list, it will then have: Encoder1 Encoder2 on Server2 Encoder3 on Server2 Encoder1 on Server2 If Server 2 is restarted, it will then have Encoder2 Encoder3 Encoder1 on Server1 Encoder2 on Server1 Encoder3 on Server1 Encoder1 on Server1 and so on. This, and the fact that there should be no architectural reason to require it, is why network encoder type capture devices are not shared on the encoding server. Capture devices are only shared from the server that is actually housing them directly.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 02-21-2017 at 01:38 PM. |
#1782
|
|||
|
|||
On the network encoder serving another network encoder... if we have the ability to have a Network Tuner to complement the Network Encoder then I don't think that is necessary. That's what the script is trying to achieve....
Network Encoder: OpenDCT Network Tuner: Tune (script) Together these do everything needed. Now the video sources are independent of location and can be shared everywhere. Would be great to have a native implementation of the Network Tuner.. instead of a script. The native implementation could automatically pick out the correct tuning plugin for a video source ... the script has to be preconfigured. Last edited by sflamm; 02-21-2017 at 03:36 PM. |
#1783
|
|||
|
|||
Another great use of the Network Tuner would be for an On-Screen remote control...
When using a Network Tuner to get on-demand channels from a cable/satellite provider - it is necessary to have a UI that opens to act as an On-Screen remote. The On-Screen remote can issue the remote tuning commands to the Network Tuner. NOTE: the Network Tuner can issue any IR command not just channels. In fact I was looking around to see if anyone has developed an On-screen remote control that can be plugged in an STV like SageMC. Is there one? Last edited by sflamm; 02-21-2017 at 03:01 PM. |
#1784
|
||||
|
||||
Quote:
I want to do something similar with Linux too, however there isn't as much to update in the V4L2 code, so I probably would just leave it alone, separate it into it's own JVM or fully native network encoder. Separating the native encoder support makes SageTV incredibly more portable because you then have the option to install it on devices that only have the capacity to support network based devices without it blowing up from all of the native code that won't function in that environment. It might actually make the memory footprint slim enough to run the server on some cheapish NAS solutions like the MyCloud.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#1785
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1786
|
|||
|
|||
Quote:
Or more specifically, it (the "native code tuner" for non-networked tuners) operates much like Opern DCT does now. Only as an Official sub-stream of SageTV itself? Makes sense to me, probably would help considerably with maintainability of some of the code. It definitely should speed along deployment of a 64bit Windows Server. Probably should give Narflex a heads up on it so he can point out any likely outstanding issues with such an idea. tmiranda probably likes hearing this news in some ways, while it doesn't get him out of him helping getting a working 64 bit SageTV compile out there(and eventually getting that code to work anyhow--many users are going to want to use non-networked/native tuners). It could potentially enable that effort to create a prototype branch using the existing protocols, and complete part of that effort sooner rather than later. There probably are users out there already who are only running networked tuners and could use such a thing now. |
#1787
|
|||
|
|||
The reality is that the reason there are so many tuning plugins is that there are many tuning options (different IR options, FireWire, serial, URI). Many of these tuning options require local tuning hardware (e.g. IR blaster) - local to whatever physical hardware is being tuned (e.g. Cable box)
The tuning plugins need to leverage a framework - such that regardless of their individual implementation details they can be invoked universally. The invocation should be a standard REST interface. That is the definition of a Network Tuner. SageTV already has both the framework and the REST interface. It can easily serve as a Network Tuner. By definition a Network Encoder can provide either or both: A) Network Video Capture (video capture without tuning) "Network" implies the source Video Capture ability can be accessed remotely by a standard protocol B) Network Tuning (tuning without video capture). ""Network" implies the source Tuning ability can be accessed remotely by a standard protocol Ideally a Network Encoder should do both - but it NOT a requirement. So a Network Encoder is really a combination of a Network Video Capture and a Network Tuner. How a Network Encoder does the Video Capture and Tuning is invisible to the upstream client. Examples: a) HDHR - directly attached to source (e.g. Cable card) and exposes it for capture and tuning. Provides Network Video Capture and Network Tuning b) Cable box - directly attached to source and exposes Network Tuning only (for boxes that have URL tuning) c) BM3000-HDMI - directly attached to source and exposes Network Video Capture only SageTV does both when it is configured as a Network Encoder - providing unified capture and tuning. On the Video Capture front it has good support for local capture devices but no support for Network Video Capture devices (that's where SageDCT came in). On the tuning side SageTV has a mature framework and ecosystem of tuning options (existing plugins automatically configured upon selection) OpenDCT on the other hand has Network Video Capture support only (but no local capture support) and very primitive Network tuning (providing limited command line tuning only - no plugin framework and limited manually configured tuning solutions..) NOTE: OpenDCT working with an HDHR is exactly this pattern - a) the HDHR is a Network Encoder capable of both Network Video Capture and Network Tuning b) OpenDCT exposes itself as the monolithic Network Encoder doing both (nothing upstream needs to know how it captures / tunes which is via the HDHR) These could be unified by: 1) allowing SageTV to treat Network Encoders like OpenDCT as if it were a local capture source (my previous suggestion). In this regard the external Network Encoder to SageTV is allowed to be configured to serve only as a Network Video Capture device - in the end it is a video stream just like any local capture device. Some Encoders might be able to tune and some might not. For those like OpenDCT which don't have support for a variety of automated tuning plugins - SageTV can provide the tuning capability. When SageTV is configured as a Network Encoder it can provide capture (via external Network Encoder - e.g. OpenDCT or local capture device e.g. HDPVR) and tuning (via the tuning plugin e.g. USB-UIRT plugin). To its upstream clients the SageTV Network Encoder itself looks like a monolithic Network Encoder capable of BOTH capture and tuning. Examples of how this would work in SageTV: a) HDHR would be configured as a video source with tuning capability of its own (no plugin configuration needs to be selected) b) HDPVR would be configured as a video source that does NOT do its own tuning (plugin would be selected) c) OpenDCT could be configured either i) as a video source that cannot tune - a tuning plugin would need to be configured OR ii) a video source with tuning capability - no tuning plugin configuration necessary) For all cases A - C SageTV configured as a Network Encoder presents itself to the outside world as a Network Encoder capable of BOTH capture and tuning 2) integrate OpenDCT into SageTV - essentially giving SageTV the ability to handle Network Video Capture directly. 3) Provide a Network Encoder (e.g. OpenDCT) which supports Network Video Capture but only partially supports tuning ability access to a Network Tuner (SageTV acting as Network Tuner). The script I wrote does basically this - it allows OpenDCT to invoke a standard Network Tuner. The Network Tuner is implemented against the uniform REST interface of SageTV whise framework abstracts the many possible plugin implementations that are loaded into its tuning framework. Last edited by sflamm; 02-22-2017 at 02:48 AM. |
#1788
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1789
|
||||
|
||||
Quote:
Additionally, SageTV already has the capability to use a local tuning plugin with a network encoder (implemented about 10 months ago), so you already should be able to use a usb-uirt connected to the main sagetv server to blast to a device that is recorded by a network encoder like openDCT, or another instance of sagetv. There, essentially, should already be ways to use a BM3000-HDMI, for instance, with sagetv, without sage acting as a network encoder, or an external script calling back to sagex, etc. This is why I asked early on what your setup is, and why you were using a second sagetv server in the first place.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1790
|
||||
|
||||
Quote:
Power management for 64-bit should be fairly easy compared to the encoder architecture. I've had a taste of it in OpenDCT and it wasn't too hard to set up. I've played with converting to 64-bit and the biggest pain I saw was getting the encoder bits to play along. The remuxer comes over fine. The Sage.time() function is ok. I didn't test out any of the tuning plugins.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#1791
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 02-22-2017 at 06:12 AM. |
#1792
|
|||
|
|||
Quote:
A SageTV server can indeed add a video source using the OpenDCT for Video Capture and provide a Tuner. However, once that is video source is setup - if you configure the same SageTV server as a network encoder it WILL NOT provide that video source as a Network Encoder to any other upstream SageTV This is exactly what doesn't work. See my previous messages and photos. Currently SageTV configured as a Network Encoder will not advertise to upstream clients any video source of the SageTV server which itself uses a Network Encoder Last edited by sflamm; 02-22-2017 at 10:08 AM. |
#1793
|
|||
|
|||
As you said - SageTV used to have SageTVRecorder. This was folded into the SageTV server itself (due to licensing and convenience).
The idea was simple - a Network Encoder should advertise upstream the video stream and provide capture and tuning. That is the model that SageTV uses (correct model) - properly when the video capture is local. However, the addition of OpenDCT breaks that model - it does not advertise video sources upstream if the video capture is from another Network Encoder. That is the issue that needs to be addressed. The Network Encoder is a black box - with a standard API for tuning and managing capture of a video stream. How it implements itself should remain a black box. A SageTV with ANY video source that is configured should be able to advertise that video source upstream to any client when the SageTV Server is configured as a Network Encoder. |
#1794
|
|||
|
|||
I detailed this in the previous posts:
https://forums.sagetv.com/forums/sho...postcount=1741 https://forums.sagetv.com/forums/sho...postcount=1742 https://forums.sagetv.com/forums/sho...postcount=1744 |
#1795
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 02-22-2017 at 10:34 AM. |
#1796
|
|||
|
|||
My main Server is connected to its own instance of OpenDCT which serves 6 tuners against 2x HDHRs.
The second machine is local to my STBs that are physically located elsewhere. The second Server (Network Encoder) is advertising the BM3000-HDMIs attached via HDMI to the STBs and being tuning the STBs in 3 zones of USB-UIRT. (These handle all protected content) |
#1797
|
|||
|
|||
This worked perfectly before when the STBs were connected to HDPVRs.
It should exactly the work the same with a different Video Capture device. |
#1798
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#1799
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1800
|
||||
|
||||
It worked perfectly when the devices were being hosted by the sagetv instance - that is not the case anymore, as they are not hosted by openDCT, so openDCT is the network encoder to connect to.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
Currently Active Users Viewing This Thread: 5 (0 members and 5 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATI TV Wonder Digital Cable Tuner & SageTV | nyle | Hardware Support | 4 | 02-17-2009 10:12 PM |
ATI TV Wonder Digital Cable Tuner | rajczi | Hardware Support | 4 | 01-14-2008 08:24 PM |
ATI TV Wonder™ Digital Cable Tuner | dadams | Hardware Support | 4 | 01-09-2007 10:55 AM |
Digital Cable - one guide - need HD on one tuner reg tv on other | Kimper | SageTV Beta Test Software | 14 | 11-27-2006 08:15 PM |
Multi-tuner Digital Cable | mlbdude | SageTV Software | 0 | 06-26-2003 01:08 PM |