|
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 |
#41
|
||||
|
||||
Quote:
John Last edited by JREkiwi; 05-12-2020 at 11:17 PM. Reason: can't connect clients |
#42
|
|||
|
|||
Getting the following exception on a 32bit sage system. The exception seems to occur on all media formats.
Quote:
|
#43
|
||||
|
||||
Quote:
I may need to spin up a 32 bit version of Sage to test. Josh |
#44
|
|||
|
|||
I restored my backup and downloaded/installed all the files fresh to make sure I didn't make a 32/64 bit version mistake. I'm still getting the same exception.
Last edited by trk2; 07-25-2021 at 08:21 PM. |
#45
|
||||
|
||||
Quote:
Josh |
#46
|
|||
|
|||
Quote:
9.2.2 is released now so you can modify your instructions to allow for that OR your sage.jar. |
#47
|
|||
|
|||
Also, I looked at that exception and couldn't make any sense of it. All you are doing is calling the alloc function within the FFMPEG libs. I didn't see anything wrong in there.
|
#48
|
|||
|
|||
I'll be happy to test if you need it. I use Sage for recording sports and as a media server, and there is no sports to record at the moment.
Also, is it expected behavior that Sage use its internal format detector for any recorded files? |
#49
|
||||
|
||||
Quote:
Yes it is expected behavior that the internal sage parser does PS/TS streams. Not sure if that is all PS/TS or just mpeg2. There is some custom SageTV code that does that, and seems to do it well. This is should handle anything else, in theory. I think I found the issue. Had to add a compile switch, which I did not need for the 64bit version. I am going to see if I can PM you the dll for testing. Thanks for helping! If it works well I will build a new release. Josh |
#50
|
|||
|
|||
Quote:
Last edited by wnjj; 05-18-2020 at 04:14 PM. |
#51
|
|||
|
|||
So the updated dll fixed the exception.
I did run into a couple other unusual issues. Upon restarting the service there were errors in the object database and then it hung following the scan of all recorded media but before re-scanning all imported media. Quote:
Quote:
Last edited by trk2; 07-25-2021 at 08:22 PM. |
#52
|
||||
|
||||
Quote:
Of course! It was Code:
-Wl,--add-stdcall-alias Code:
-static-libgcc Thanks, Josh |
#53
|
|||
|
|||
Quote:
If you don’t already have it, check out https://www.dependencywalker.com. They are lightweight (just unzip) programs that examine DLL dependencies and show the names of all exported functions. It does show some false errors in the dependency tree for some system libs that you can ignore. I relied on these heavily for sorting out function names, DLL versions, etc. when developing the 64-bit Windows version. With libgcc, it seems you weren’t the only one: https://stackoverflow.com/questions/...t-compilations
__________________
Windows Installer Last edited by wnjj; 05-19-2020 at 11:50 AM. |
#54
|
||||
|
||||
Quote:
Thank you for that info. That makes a lot of sense. When researching errors related to compiling C code a lot of times there is a solution given without a clear explanation. I had no clue that was the reason. I was using dependency walker, but I did not think to look at the calls. I was looking for a missing dependency, not realizing the method calls were the issue. So does Java expect stdcall for 32 bit dlls? Thanks, Josh |
#55
|
||||
|
||||
Quote:
Let me know if you need a way to send it to me. Thanks, Josh |
#56
|
|||
|
|||
Quote:
"Both the native methods and the interface APIs follow the standard library-calling convention on a given platform. For example, UNIX systems use the C calling convention, while Win32 systems use __stdcall." https://docs.oracle.com/javase/7/doc...pec/design.htm Further complicating things is the use of preceeding _ and trailing @# on exported functions in 32-bit which is independent of the register/stack order issues. That was likely the real difference when you added that stdcall-alias flag. I don't fully understand all of this but since GCC is primarily a Linux tool, compiling Windows DLL's requires a few of these tricks. If you're curious, look at the exported names of the "bad" and working 32-bit DLL. I suspect they'll be different. I assume 32-bit Java expects _function@# names. When I read further, it seems there are still different calling conventions for Linux vs Windows even on 64-bit but Windows dropped the silly _/@# stuff.
__________________
Windows Installer |
#57
|
|||
|
|||
I took a look at these files today and I think it is detecting the album image that is part of the file's metadata. I also have a few mp3 files that have the album image as part of their metadata but it appears the format detector plugin is not being used for parsing mp3 files. Is that intended? I'll send you a PM with a link to one of the flac files.
|
#58
|
||||
|
||||
Quote:
SageTVTranscoder.exe Output: Code:
Input #0, flac, from '02 Awolnation - Some Sort of Creature.flac': Metadata: Album : Megalithic Symphony (Advance) Artist : Awolnation Genre : Electronic title : Some Sort of Creature DATE : 2011 TRACKNUMBER : 02 ThumbnailSize : 58513 ThumbnailOffset : 332 Duration: 00:00:26.73, start: 0.000000, bitrate: 366 kb/s Stream #0.0, 1, 1/44100: Audio: flac, 44100 Hz, 2 channels, s16 current ffprobe.exe Output: Code:
Input #0, flac, from '..\..\..\02 Awolnation - Some Sort of Creature.flac': Metadata: Album : Megalithic Symphony (Advance) Artist : Awolnation Genre : Electronic title : Some Sort of Creature DATE : 2011 track : 02 Duration: 00:00:26.73, start: 0.000000, bitrate: 366 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 Stream #0:1: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 500x500, 90k tbr, 90k tbn, 90k tbc (attached pic) Metadata: comment : Cover (front) |
#59
|
|||
|
|||
Quote:
The rest of the FLAC files (without an image in the metadata) are in the music library, however I noticed that Sage is not recognizing the metadata. It's simply listing them as "unknown" and sorted by file name. I didn't notice prior because the mp3 files imported fine and the "unknown" category is at the bottom of the list. |
#60
|
||||
|
||||
I quick question for Jvl711..
With the plug in (and the addition of this to Sage 9.2.2) how do we take advantage of the forced subtitles? Is there a menu option? I saw someone mention something about maybe having a line in the .properties files for the videos you want to force the subtitles on? Tnx!
__________________
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 |
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 |