![]() |
|
|||||||
| SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Development of Sagetv v9
I'm unfortunately not a programmer but, one area that needs to be addressed is the implementation of the support for tuner cards / devices. I know that this has been discussed many times but, the number of supported devices is dwindling fast and some that do work have issues with receiving some channels / tuning correctly, where they will work perfectly with other software.
If we are to promote the use of Sagetv to a wider audience then we need a wider hardware platform, some advances have been made on the client side but ,without the support for live tv new users are not going to risk buying hardware only to find it does not work. I'm on the windows platform and I believe that generally most are bda compliant, so not trying to oversimplify it but it appears to need a better interface with this to correctly identify the tuner and its parameters. I may be completely wrong but just wanted to raise this issue again. |
|
#2
|
||||
|
||||
|
just curious really, but what tuners are people using that dont work?
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice... |
|
#3
|
|||
|
|||
|
Quote:
WinTV-quadHD PS I would also like to see keep padding on back to back recordings same channel and use 1 Tuner. In order to do this currently you need to use 2 tuners.... not efficient use of tuners.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 06-20-2016 at 01:56 PM. |
|
#4
|
||||
|
||||
|
Quote:
Other thoughts: The way it is right now, every capture device needs to fend for itself when it comes to very universal things like SWITCH. I think adding this feature would also help pull everything together so we don't have the exact same code being constantly copied everywhere. I'm currently working on exposing the remuxer that all of the native capture devices in SageTV use to the JVM so network encoders can use it. Once I'm done with that I think I'll start to take a look at how we could make this a reality.
__________________
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 Last edited by EnterNoEscape; 06-20-2016 at 03:35 PM. |
|
#5
|
|||
|
|||
|
Quote:
Of course, I would love to be proved wrong in this regard...
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
|||
|
|||
|
Quote:
__________________
"Keep your goals away from the trolls" |
|
#8
|
||||
|
||||
|
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 Last edited by EnterNoEscape; 06-20-2016 at 04:11 PM. |
|
#9
|
||||
|
||||
|
And honestly, the transfer end of this would not be incredible hard, and would work more as an extension of some changes EnterNoEscape was already doing in the sagetv core - regarding network encoders. The issue, however, comes with the changes to the scheduler to deal with this. Sage's scheduler is incredibly complicated, and telling it whether a given tuner can record more than one stream at a time is throwing a LOT more cases that it needs to know about. Combine that with the fact that many users aren't using a system that could predictably determine if more than one channel was being broadcast in the same stream or not is even harder. CableCard could run different sets of stations on different streams on every tune - so this isn't really something a scheduler could realistically deal with.
The back to back overlapped padding might be possible, as scheduling wise, back-to-back padding is already detected (and removed if the option is so configured). That detection could be used to override the scheduler's default behavior to allow the padding to remain, if the tuner is running through the sage remux, and the sage remux is able to do the dual file writing.
__________________
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 |
|
#10
|
||||
|
||||
|
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 |
|
#11
|
|||
|
|||
|
Note what I was proposing was to eliminate a lot of the complexity of the scheduler. I would only have to know that channel 81 QAM has half of my local channels and that my HVR-2250 tuner 1 was set and always buffering that channel so it would just grab the channel and sub channel from it. If I wanted the other half of my local channels it would use HVR-2250 tuner 2 which was tuned to QAM channel 80. Or if it was coming from ATSC it would take 5 or 6 tuners. No conflicts would ever be present because the tuners would not be changing channels.
As I said this would likely just work for me.
__________________
"Keep your goals away from the trolls" |
|
#12
|
||||
|
||||
|
Quote:
1. It really only works for QAM and ATSC recordings, because CableCard - as I mentioned earlier - can move stations around - especially if SDV is in use, which is the bulk of markets these days. 2. Seeing as it is only for QAM and ATSC, the best options is still going to be just adding an additional tuner, which results in just a one time cost for those services, and much more future capability. 3. The SageTV Scheduler code is scary.
__________________
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 |
|
#13
|
|||
|
|||
|
Quote:
|
|
#14
|
||||
|
||||
|
Quote:
|
|
#15
|
||||
|
||||
|
That is correct, that is what is exposed by the HDHR Prime - but the channels are still broadcast together in (encrypted) QAM streams from the head-end. The CableCard just has a channel map loaded into it to do all the translations for you, so it knows what frequency to tune to and what streams to extract from that TS. Even with SDV, there are still more than once station in the stream, but it can be reconfigured on the fly at each neighborhood head end to serve up just what is being requested by the neighborhood. When SDV is in use, the HDHR Prime uses the channel-map from the Tuning Adapter, instead of what is loaded in the CableCard. I don't know if there is a way to make the HDHR send the full stream or not, but it likely would be of little use anyways, because of it's unpredictability.
__________________
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 |
|
#16
|
||||
|
||||
|
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 |
|
#17
|
||||
|
||||
|
Trying to get it to record multiple subchannels at once will induce a HUGE additional complexity into the Schedule; I would strongly advise against trying to do that. I know other packages can do it; but I'm quite sure they don't have as much other extensive capabilities in this area that SageTV has.
Dealing with overlapping padding on the same channel isn't all that horrible though. I actually started a project on this at Google; but abandoned it because they were going to switch platforms so there was no need for implementing it. The way I'd recommend doing it is to basically remove overlapping padding for scheduling purposes (like that one option already does); that requires no changes to the Scheduler logic at all. Then in the Seeker (which controls the tuners, and receives the actual schedule from the Scheduler); whenever you are starting a recording, check to see if it is part of back to back favorites w/ overlapping padding. Then copy the padding from the prior file to the start of the new file; and then also set a flag to copy the beginning of the new file (after the padding) to the end of the prior file. This may involve multiple files if the padding is very long (as in theory, it could overlap with may things if they all have hours of padding on them). You could also do it where you don't even append/prepend the files, you just make them another segment like normally in MediaFile objects. There are a couple other corner cases that fall out of this; but nothing too bad to deal with. If anybody is going to take this on; let me know and I can point out how I would have done it and provide insight on solving the other corner cases related to it.
__________________
Jeffrey Kardatzke Founder of SageTV |
|
#18
|
||||
|
||||
|
Quote:
Edit: Nevermind, you're copying the parts needed from the last file into the new file before continuing to append. I got a little mixed up at the end there as you were proposing an alternative.
__________________
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 Last edited by EnterNoEscape; 06-21-2016 at 01:58 PM. |
|
#19
|
||||
|
||||
|
even if run as a new segment, comskip is supposed to deal with segmented files just fine.
__________________
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 |
|
#20
|
|||
|
|||
|
Just to bring this back on track but, I've reverted back to dvbe4sage, as it works with my replacement tuner (tbs5990). I've not had a tuner that does not work with it, so what is it doing different with interfacing with the Tuner?
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vagrant files of 32bit and 64bit images that can be used for SageTV Linux Development | stuckless | SageTV Github Development | 0 | 08-16-2015 01:43 PM |
| Installing SageTv on non-PVR computer for development | badder2 | SageTV Software | 1 | 02-27-2006 12:14 PM |
| Less development? | rwc | SageTV Customizations | 8 | 05-20-2005 03:53 PM |
| No new STV development anymore? | 1972 | SageTV Customizations | 2 | 04-27-2005 12:57 AM |
| Development | turak | General Discussion | 3 | 08-03-2004 09:14 PM |