|
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 |
#21
|
||||
|
||||
Ah, I see.
|
#22
|
|||
|
|||
I have certain h264 files that my HD300 extender will take a few seconds to start playback after hitting "Play".
Would this plugin speed this up when using an extender? Or is it only for non-extender SageTV clients? |
#23
|
|||
|
|||
I decided to give this a try as it's easy enough to revert back. I'm getting some errors in my log when I forced a reindex:
The first error seems like there is a problem because I am still using 32 bit SageTV, but the new DLL's seem to be 64 bit. This error popped up on the first file it tried to reprocess: Quote:
Quote:
|
#24
|
|||
|
|||
What is a pretty resolution?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#25
|
||||
|
||||
Quote:
Josh |
#26
|
||||
|
||||
What sage uses when it wants to display a resolution to the user in a user friendly manner.
For instance 1920x1080 will be returned as "1080p". 3840x2160 will be returned as 2160p. There is a little more to it than that, but that is the basic idea. Josh |
#27
|
|||
|
|||
Thanks Josh!
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#28
|
||||
|
||||
Quote:
I apologize. This did not even occur to me. I started this development for personal use. Than I decided to contribute the changes that I made to the SageTV project because I felt others could make use of it. I will need to add this as an item to look at. I am honestly not sure how much effort this will require. I am not a C developer, and I am kinda hacking my way through the C JNI portion of the code. I am passing pointers back and forth between C and Java, and I am not sure if the code can easily deal with 32 and/or 64 bit pointer. I think it might work OK, but I will need to do some investigation. I also need to figure out how to compile the C code for linux as well. I was hoping to find someone in the community that could provide guidance, or coding assistance. Josh |
#29
|
|||
|
|||
If this can be told to transcode for the Hd300 could it be made to use the newer ffmpeg that you are using for the detection since the sage version is so old?
|
#30
|
|||
|
|||
Quote:
|
#31
|
||||
|
||||
Quote:
So in theory. Add the 32bit FFmpeg library to my project. Add another build profile for 32bit. Make sure I include 32bit version of all of the libraries. Configure a 32bit tool chain (compiler and build tools). Than I should be able to just compile a 32 bit version Josh |
#32
|
||||
|
||||
Quote:
Today Sage sees h.265 content as unknown, and is not really sure what it is. Now, the library that I created to wrap FFmpeg using JNI could be used for future projects like a new transcoder engine. I did think there was an outside chance that maybe I would take a stab at that some day. The code is not out there, so if someone else wanted to build off what I started that could happen too. I think properly handling 4k/h.265 playback and transcoding is important to SageTV's future relevance. Josh |
#33
|
|||
|
|||
Would it be beneficial to install this on a Windows Client or would you only want to do this on the server?
|
#34
|
|||
|
|||
Quote:
https://github.com/google/sagetv/blo...ontrol.cpp#L63 There are also examples where (intptr_t) is in between though so probably more clear that way. It may depend upon the compiler and whatever warnings it throws. https://github.com/google/sagetv/blo...posixipc.c#L31 I think you have everything else correct about including and building. Good luck. |
#35
|
||||
|
||||
Quote:
wnjj, do you know if it is possible to compile a linux library from a windows C build environment? I would like to be able to build all versions of the C library from one Netbeans project if possible. Thanks, Josh |
#36
|
|||
|
|||
Quote:
Msys2/Mingw-w64 may support it also. That’s the environment we use to compile Windows libraries from Linux/gcc style source code and Makefiles (i.e. the reverse of what you want). https://github.com/google/sagetv/blo...NativeCode.txt Last edited by wnjj; 05-03-2020 at 02:57 PM. |
#37
|
||||
|
||||
Hi all,
I posted a new release to github. This is version 0.2-alpha. I added a win32 build to this release. Please let me know if it is working OK. I am going to try and see if I can figure out cross compiling to linux next. Thanks, Josh |
#38
|
||||
|
||||
I apologize if I’m missing this in some other part of the thread, but once I have followed the instructions to install, is there something in Sage that would show that it is successfully active? I don’t see it listed as a plugin...
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3 |
#39
|
||||
|
||||
Quote:
if you import a new media file or reimport you should see something in the log to show that it used the plug to do the detection. Code:
MediaFormatParserPlugin processing complete: \\egypt\tv\Gotham\Season 04\Gotham - S04E21 - A Dark Knight One Bad Day.mkv Josh |
#40
|
||||
|
||||
Quote:
As part of the install, I initially set the "Sage.properties force_full_content_reindex=true", this resulted in SageTV hanging on the splash screen at - User Manger Intializing -. I did wait several minutes but I know it doesn't normally take this long. Not to mention none of the clients could connect while Sage was in this state of detecting. I used task manager to stop SageTV and the Service (neither would respond). I then changed the Sage.properties force_full_content_reindex=true to false and restarted Sage (I actually rebooted the machine). I was able to start the Client on the server as well as other machines. I will attempt to re-enable the true setting at some other point in time when Sage has plenty of time to re-detect media files. I do have a few TB's of just recordings not to mention movies and as stated earlier, the plug-in is doing what it is suppose to. I had some recordings coming up and didn't have the patients to wait for Sage to do a full re-detect on all the files.
__________________
"Unencumbered by the thought process" The only constant in the Universe is change. Last edited by UgaData; 05-09-2020 at 09:31 AM. Reason: Formating and I can't spell |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Commercial Detector Plugin Disabled | LJSSageUser | Phoenix | 5 | 03-09-2014 05:34 PM |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
Plugin request for SageTV Windows Client: Autofrequency plugin | mkanet | SageTV v7 Customizations | 3 | 11-12-2011 09:33 AM |
Do I have to format my WHS to use SageTV? | blackcows | General Discussion | 9 | 10-13-2009 06:51 PM |
IR Code (Pronto Format) as in UIRT Helper --> SageTV Format as in Sagetv.properties | krasev | Hardware Support | 0 | 09-12-2006 10:56 PM |