|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
View Poll Results: Would you like this plugin working on Linux? | |||
Yes, please | 7 | 63.64% | |
No, thanks | 4 | 36.36% | |
Voters: 11. You may not vote on this poll |
|
Thread Tools | Search this Thread | Display Modes |
#421
|
||||
|
||||
Quote:
All the TS packet transmitted by the tuner are going through my filter before reaching STV, this way I can descramble the packets without let STV knowing that the packets were actually scrambled The filter runs in a separated thread environment created by the DirectShow wrapper, however the filter itself spawns four extra threads for each instance (Tuner) which are used during different decryption stages, to talk to the external card server (OSCAM) and to the STV plugin. Believe it or not I haven't look as the OS code as yet (resisting the temptation until I've got enough free time to commit to any work I might be involved on), so not sure how this approach would fit on Linux, however the most sensible solution to me is to provide a simple wrapper interface to the decryption engine accepting two pointers, one filled with the TS by the agent responsible of capturing the data from the tuner and the other filled by the filter with the result to pass downstream. The buffers must be of the same maximum size and this is normally determined by reading the tuner's capabilities, however the TS packets contained into it can be much less (I normally use this to my advantage, but squeezing more packets into the destination buffer for reasons too long to explain here). At the moment the filter runs asynchronously, so you can feed the input buffer much quicker and I normally take 1 second of processing before delivering descrambled packet to the output buffer, but that is not a problem in a DirectShow environment, however on Linux we might need to run the filter synchronously. So far the interest is quite low, I might setup a poll and see if worth the effort, but thanks for your questions. Cheers Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#422
|
||||
|
||||
Linux?
The poll is now open
Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#423
|
||||
|
||||
I don't think i'll be moving to linux anytime soon, but i would like a version that works with version 9 on windows.
I think getting a sage client working on one of these would be a nice project for you Eddy Raspberry pi 3
__________________
Server: Win 10 64bit Core i3 8GB 20TB, TBS6985, TBS6984, Sage 9. Clients: 5 x HD300, 2 x HD200, Placeshifter. |
#424
|
||||
|
||||
Quote:
I don't see a reason why shouldn't, what I might have said that I didn't want to support it officially in case of issues. BTW, nice "pi3"...I'll might take a byte at some point Cheers Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#425
|
||||
|
||||
Quote:
What I thought was cool about this was that sasc-ng exposed the "decrypted" video as standard video4linux devices (/dev/video1), and then any linux video utility could work with it. That being said... While I could tell sagetv to use new video source, sadly, it still didn't work, yet it worked in every other video application on linux At this point, I'm not sure I'd ever go back to the softcam model, given the HDPVR does work quite well... but, I still think about this from time to time Quote:
If you've ever used the sagetv miniclient, on linux, you'll know it's full of glitches. At this point the Android client works much better than the native linux client.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#426
|
|||
|
|||
Quote:
Dean
__________________
Darkside: DVB-C x4 DVB-T2 x2 HD-300 x4 Lightside: DVB-C x2 DVB-T2 x4 HD-300 x3 |
#427
|
|||
|
|||
Quote:
I see there is not much interest in this being made available for Linux. I have voted yes to this. At present my STV Server is Windows but in the future I think I would like to move across but this Plugin is a must have feature for me. Dean
__________________
Darkside: DVB-C x4 DVB-T2 x2 HD-300 x4 Lightside: DVB-C x2 DVB-T2 x4 HD-300 x3 |
#428
|
||||
|
||||
Dean
How would you import the epg into sage in Linux. Is there a way to get the digiguide into sage with Linux.
__________________
Server: Win 10 64bit Core i3 8GB 20TB, TBS6985, TBS6984, Sage 9. Clients: 5 x HD300, 2 x HD200, Placeshifter. |
#429
|
|||
|
|||
Quote:
Dean
__________________
Darkside: DVB-C x4 DVB-T2 x2 HD-300 x4 Lightside: DVB-C x2 DVB-T2 x4 HD-300 x3 |
#430
|
||||
|
||||
Quote:
Cheers Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#431
|
|||
|
|||
Just a quick note in case anyone has the same problem - I have found that when Oscam is running, I cannot put the system time back in Windows. I could move the time forwards, but not back. Over time, this was causing problems with my recording schedule. I ended up pulling the computer apart assuming a hardware problem, only to find (after several days!) it was Oscam. Eddy, I also tried a non-Rossisoft version of Oscam but it had the same affect, so it's not something you added to the code.
Anyway, this is just in case anyone ends up pulling their hair out over the same problem I did. My solution now is to run a time sync programme at every startup, before Oscam gets loaded. syrel |
#432
|
||||
|
||||
Quote:
I always run OsCAM on my system using a scheduled task around 10 minutes after the system is up, that's probably why I never seen this happening, also in my configuration I run a very stripped down version of OsCAM on a Linux box where the card reader is connected to which in turn connects to the OsCAM instance running on Windows and found this approach very reliable and fast with ECMs well below the 100msecs, something I could never been able to achieve when the reader was connected to my Windows machine with only one instance of OsCAM running. cheers Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#433
|
|||
|
|||
Quote:
Not seen this happen on the new server or my other server. Do think there is something else happening here and not just OSCAM that causes this. Dean
__________________
Darkside: DVB-C x4 DVB-T2 x2 HD-300 x4 Lightside: DVB-C x2 DVB-T2 x4 HD-300 x3 |
#434
|
|||
|
|||
Quote:
TBH, am glad to hear of someone else having the same problem, as was wondering what was specific about my set up to cause it. Clearly it hasn't happened to everyone, or we would have heard something. All I know is that I have had the situation of two PCs - they both have been set up similarly, so it's possible that Oscam + mystery factor is the real culprit, but I didn't have the problem before I installed Oscam, and the moment I stop it the problem goes away... syrel |
#435
|
||||
|
||||
System time changes in security log
Eddy
My setup has been running relatively stable for a while. After a blue screen last night I had a nose around the Windows event logs. I found lots of entries in the security log saying that OSCAM had been changing the system time. Any ideas why ? Running on Win 10. Log Name: Security Source: Microsoft-Windows-Security-Auditing Date: 15/05/2016 3:49:11 PM Event ID: 4616 Task Category: Security State Change Level: Information Keywords: Audit Success User: N/A Computer: XXXXX Description: The system time was changed. Subject: Security ID: SYSTEM Account Name: XXXXX Account Domain: WORKGROUP Logon ID: 0x3E7 Process Information: Process ID: 0x34c Name: C:\Program Files\SageTV\SageTV\CAM\oscam.exe Previous Time: 2016-05-15T03:49:11.912217700Z New Time: 2016-05-15T03:49:11.912000000Z This event is generated when the system time is changed. It is normal for the Windows Time Service, which runs with System privilege, to change the system time on a regular basis. Other system time changes may be indicative of attempts to tamper with the computer. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" /> <EventID>4616</EventID> <Version>1</Version> <Level>0</Level> <Task>12288</Task> <Opcode>0</Opcode> <Keywords>0x8020000000000000</Keywords> <TimeCreated SystemTime="2016-05-15T03:49:11.911763200Z" /> <EventRecordID>768962</EventRecordID> <Correlation /> <Execution ProcessID="4" ThreadID="5504" /> <Channel>Security</Channel> <Computer>XXXXX</Computer> <Security /> </System> <EventData> <Data Name="SubjectUserSid">S-1-5-18</Data> <Data Name="SubjectUserName">XXXXX$</Data> <Data Name="SubjectDomainName">WORKGROUP</Data> <Data Name="SubjectLogonId">0x3e7</Data> <Data Name="PreviousTime">2016-05-15T03:49:11.912217700Z</Data> <Data Name="NewTime">2016-05-15T03:49:11.912000000Z</Data> <Data Name="ProcessId">0x34c</Data> <Data Name="ProcessName">C:\Program Files\SageTV\SageTV\CAM\oscam.exe</Data> </EventData> </Event>
__________________
SAGE 9 64bit, Ryzen 5 2600, Windows 10, 8GB Memory, TBS 6985, 5 x HD200, 2 x HD300, HD100, Fire TV Cube |
#436
|
||||
|
||||
Looks like it was a change that came in here in build 9832
http://www.streamboard.tv/oscam/changeset/9832 Appears the rational is that you don't want the time changing while OsCAM is doing it's stuff as that throws out ECM timing John |
#437
|
||||
|
||||
Time change is also trucated
John
Thanks, I also noticed that the system times which are changed are truncated to 3 decimal places.For example Previous Time: 2016-05-16T05:05:38.506977400Z New Time: 2016-05-16T05:05:38.507000000Z Previous Time: 2016-05-16T05:05:38.507010300Z New Time: 2016-05-16T05:05:38.507000000Z Previous Time: 2016-05-16T05:05:38.507078000Z New Time: 2016-05-16T05:05:38.507000000Z Previous Time: 2016-05-16T05:05:38.507132100Z New Time: 2016-05-16T05:05:38.507000000Z ..... Previous Time: 2016-05-16T05:02:47.832816100Z New Time: 2016-05-16T05:02:47.832000000Z I will suppress this event ID in the meantime to avoid the overhead of writing log entries.
__________________
SAGE 9 64bit, Ryzen 5 2600, Windows 10, 8GB Memory, TBS 6985, 5 x HD200, 2 x HD300, HD100, Fire TV Cube |
#438
|
||||
|
||||
Quote:
Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#439
|
||||
|
||||
Quote:
Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#440
|
||||
|
||||
Quote:
I run a similar setup and don't have this issue... Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
Tags |
decryption, dvb, dvblogic, oscam, smartcard |
Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin request for SageTV Windows Client: Autofrequency plugin | mkanet | SageTV v7 Customizations | 3 | 11-12-2011 09:33 AM |
uPnP Client Plugin | texneus | SageTV v7 Customizations | 0 | 04-03-2011 09:10 PM |
Installing Client Plugin on Server | ddaggett1 | Sage My Movies | 4 | 09-03-2010 11:39 AM |
movie ripped to HD with dvd decrypter should skip intros right? | big boi | SageTV Software | 12 | 03-25-2005 08:55 PM |
DVD DeCrypter best format for SAGETV | chrispy | General Discussion | 8 | 01-05-2005 01:39 PM |