SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #81  
Old 06-23-2020, 02:21 PM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 431
It failed for me as well, 32bit version.

Quote:
Tue 6/23 16:12:38.277 [SageTV@1b5b450] CorePluginManager is checking plugin: mediaformatparserpluginwinx32 type: Standard version: 0.3 by: jvl711
Tue 6/23 16:12:38.277 [SageTV@1b5b450] Plugin mediaformatparserpluginwinx32 is enabled, try to load it from class: jvl.mediaformat.MediaFormatParserPlugin
Tue 6/23 16:12:38.278 [SageTV@1b5b450] ERROR plugin class does not implement the sage.SageTVPlugin interface so it will not be loaded
Tue 6/23 16:12:38.278 [SageTV@1b5b450] Loading of plugin mediaformatparserpluginwinx32 failed!
Attached Files
File Type: txt sagetv_0.txt (190.5 KB, 77 views)
Reply With Quote
  #82  
Old 06-23-2020, 02:55 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 721
Quote:
Originally Posted by trk2 View Post
It failed for me as well, 32bit version.
I think I see the issue. It is putting a JAR folder inside the JAR folder... Let me try and fix.

Josh
Reply With Quote
  #83  
Old 06-23-2020, 03:15 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,488
Quote:
Originally Posted by jvl711 View Post
I think I see the issue. It is putting a JAR folder inside the JAR folder... Let me try and fix.

Josh
Yep I see that ..
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #84  
Old 06-23-2020, 06:23 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 721
Hi Guys,

Sorry about that. I did not see my mistake because of the manual install. Still had the jar file in the right location even though it was being placed in the wrong location by my plugin xml. Thanks for being my testers and catching the issues!!!

Could you please try again when you have a chance and let me know what you see.
Reply With Quote
  #85  
Old 06-23-2020, 07:12 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,488
Quote:
Originally Posted by jvl711 View Post
Hi Guys,

Sorry about that. I did not see my mistake because of the manual install. Still had the jar file in the right location even though it was being placed in the wrong location by my plugin xml. Thanks for being my testers and catching the issues!!!

Could you please try again when you have a chance and let me know what you see.
It Installed ok for now I set debug to true .... Disable internal format detector to true .. disable parser plugin to false.

I guess this way it uses your parser.

I think if people choose to install your plugin then your parser should be on by default.
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.

Last edited by nyplayer; 06-23-2020 at 07:51 PM.
Reply With Quote
  #86  
Old 06-24-2020, 09:48 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 721
Quote:
Originally Posted by nyplayer View Post
It Installed ok for now I set debug to true .... Disable internal format detector to true .. disable parser plugin to false.

I guess this way it uses your parser.

I think if people choose to install your plugin then your parser should be on by default.
The Disable Internal Format detector is for only .ps/.ts files. The way the code was written in SageTV is this.

1. Check for .ps/.ts files. If so use SageTV code to parse file
2. Check for other fomats sage can detect (I think it handles MP3 and some image formats)
3. If Sage can not parse use the external format detector

My plugin comes in at step 3, and replaces the external format detector that was there originally. If you disable the internal format detector it skips step one and uses my plugin for .ps/.ts file formats.

If it looks like my code is working better than the built in one we can look to make the option the default. My initial findings have been that mine is much faster than Sage at parsing .ps/.ts files.

Josh
Reply With Quote
  #87  
Old 06-24-2020, 11:30 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,488
Quote:
Originally Posted by jvl711 View Post
The Disable Internal Format detector is for only .ps/.ts files. The way the code was written in SageTV is this.

1. Check for .ps/.ts files. If so use SageTV code to parse file
2. Check for other fomats sage can detect (I think it handles MP3 and some image formats)
3. If Sage can not parse use the external format detector

My plugin comes in at step 3, and replaces the external format detector that was there originally. If you disable the internal format detector it skips step one and uses my plugin for .ps/.ts file formats.

If it looks like my code is working better than the built in one we can look to make the option the default. My initial findings have been that mine is much faster than Sage at parsing .ps/.ts files.

Josh
I added an old library that I have with DIVX MP4 etc ... it appears they went through your parser but of course EXOPLAYER in the mini Clent cannot play these... I had to switch to FFMPEG in the mini Clent to play them.
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #88  
Old 06-24-2020, 02:24 PM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 403
Any chance of this working on unraid install in the future
Reply With Quote
  #89  
Old 06-24-2020, 04:20 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 467
Quote:
Originally Posted by jvl711 View Post
Plugin is now available as a SageTV Plugin from the repository. It is under general and is named Media Format Parser Plugin Windows x32 and Media Format Parser Plugin Windows x64. Make sure to pick the right version for the SageTV Server you are running.

You may want to manually uninstall before you install the plugin. Otherwise the plugin installer will leave a lot of renamed files laying around.

Let me know if you guys see any issues.
Is there a way to manually disable the sagetv parser. (Is it just a modification of sage.properties?) I'm hesitant to update my Sage Server to 9.2.2 since it's been working so well I've just updated your plugin manually via the files in your github repository.
Reply With Quote
  #90  
Old 06-24-2020, 09:52 PM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 431
Quote:
Originally Posted by jvl711 View Post
Hi Guys,

Sorry about that. I did not see my mistake because of the manual install. Still had the jar file in the right location even though it was being placed in the wrong location by my plugin xml. Thanks for being my testers and catching the issues!!!

Could you please try again when you have a chance and let me know what you see.
All good now.
Reply With Quote
  #91  
Old 06-25-2020, 01:44 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 721
Quote:
Originally Posted by sacrament055 View Post
Is there a way to manually disable the sagetv parser. (Is it just a modification of sage.properties?) I'm hesitant to update my Sage Server to 9.2.2 since it's been working so well I've just updated your plugin manually via the files in your github repository.
You can turn off the internal parser with the below property.

skip_internal_format_parser=false

I am exposing this property from the plugin. It was there all along, did not see it in the code.
Reply With Quote
  #92  
Old 06-25-2020, 01:46 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 721
Quote:
Originally Posted by mechling-burgh View Post
Any chance of this working on unraid install in the future
Is this Linux x86_64? If so, than very possibly. I would like to see the interest from the community. If there are a few people I will work on building the C portion in Linux. So far I think you are the first to ask.

Josh
Reply With Quote
  #93  
Old 06-25-2020, 01:53 PM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,169
Quote:
Originally Posted by jvl711 View Post
Is this Linux x86_64? If so, than very possibly. I would like to see the interest from the community. If there are a few people I will work on building the C portion in Linux. So far I think you are the first to ask.

Josh
I have an unRAID setup, and have been following this thread. However, I almost exclusively use HD300 extenders, so I知 not really sure if this would buy me anything.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, unRAID 6.9.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #94  
Old 06-25-2020, 02:09 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,078
Quote:
Originally Posted by KeithAbbott View Post
I have an unRAID setup, and have been following this thread. However, I almost exclusively use HD300 extenders, so I知 not really sure if this would buy me anything.
Me too, although I use both HD300 and HD200 extenders.
__________________
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
Reply With Quote
  #95  
Old 06-25-2020, 02:12 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 721
Quote:
Originally Posted by KeithAbbott View Post
I have an unRAID setup, and have been following this thread. However, I almost exclusively use HD300 extenders, so I知 not really sure if this would buy me anything.
It can do a few things for you.

1. Identify more codecs that SageTV does natively identify. There are a handful of ones that HD300 playback that the parser did not. Granted, this is really only informational
2. It can increase channel change speed for live TV. It parses the files a bit quicker than SageTV native code does
3. Forced subtitle support. This is the only parser that identifies forced subtitles. (This was the main reason I created this)

For non HD300, this adds some information support for 4k files.

Josh
Reply With Quote
  #96  
Old 06-25-2020, 03:57 PM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,169
Quote:
Originally Posted by jvl711 View Post
It can do a few things for you.

1. Identify more codecs that SageTV does natively identify. There are a handful of ones that HD300 playback that the parser did not. Granted, this is really only informational
2. It can increase channel change speed for live TV. It parses the files a bit quicker than SageTV native code does
3. Forced subtitle support. This is the only parser that identifies forced subtitles. (This was the main reason I created this)

For non HD300, this adds some information support for 4k files.

Josh
So I can definitely see a benefit to increasing the channel change speed. The forced subtitle support would be nice, although I知 not sure how frequently forced subtitles are present. Identifying additional codecs, it痴 not clear to me if the HD300 would be able to playback files that previously it could not. I知 not quite following your statement about it being only informational.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, unRAID 6.9.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #97  
Old 06-25-2020, 04:01 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,078
I think by information he means that it gives you info about the video format but it doesn't give you the funcationality to play them back.
__________________
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
Reply With Quote
  #98  
Old 06-25-2020, 10:21 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,108
Josh, finally had time to do some PD on an issue I am having.

With your code .avi files on my HD300 are displaying with 0 length and black video, but they do play the audio from the file

With the SageTV inbuilt they play fine

sample MediaInfo
Code:
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 232 MiB
Duration                                 : 29 min 7 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 115 kb/s
Writing application                      : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library                          : VirtualDubMod build 2540/release

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings                          : BVOP2
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Muxing mode                              : Packed bitstream
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 29 min 7 s
Bit rate                                 : 971 kb/s
Width                                    : 640 pixels
Height                                   : 352 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.172
Stream size                              : 202 MiB (87%)
Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Format settings                          : Joint stereo
Codec ID                                 : 55
Codec ID/Hint                            : MP3
Duration                                 : 29 min 7 s
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 27.3 MiB (12%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 24  ms (0.60 video frame)
Interleave, preload duration             : 512  ms
Writing library                          : LAME3.90.
Encoding settings                        : -m j -V 4 -q 2 -lowpass 17.6 --abr 128
John
Reply With Quote
  #99  
Old 06-25-2020, 11:21 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 467
Quote:
Originally Posted by JREkiwi View Post
Josh, finally had time to do some PD on an issue I am having.

With your code .avi files on my HD300 are displaying with 0 length and black video, but they do play the audio from the file

With the SageTV inbuilt they play fine

sample MediaInfo
Code:
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 232 MiB
Duration                                 : 29 min 7 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 115 kb/s
Writing application                      : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library                          : VirtualDubMod build 2540/release

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings                          : BVOP2
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Muxing mode                              : Packed bitstream
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 29 min 7 s
Bit rate                                 : 971 kb/s
Width                                    : 640 pixels
Height                                   : 352 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.172
Stream size                              : 202 MiB (87%)
Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Format settings                          : Joint stereo
Codec ID                                 : 55
Codec ID/Hint                            : MP3
Duration                                 : 29 min 7 s
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 27.3 MiB (12%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 24  ms (0.60 video frame)
Interleave, preload duration             : 512  ms
Writing library                          : LAME3.90.
Encoding settings                        : -m j -V 4 -q 2 -lowpass 17.6 --abr 128
John
I'm seeing the same behavior on a SageTV Client and Android app

AVI and I believe .MOV was behaving the same. Both play but show 0 length so you can't fastforward or rewind but you can watch
Reply With Quote
  #100  
Old 06-26-2020, 11:35 AM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 403
I would like to see it added for linux / unraid group. especially if you plan on trying to add the ffmpeg for transcoding later.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 08:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.