SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

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
  #121  
Old 07-10-2020, 08:32 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
SageTV detects recordings as
Code:
format=MPEG2-TS 1:45:10 2884 kbps [#0 Video[H.264 25.0 fps 1440x1080 16:9 interlaced id=0200]#1 Audio[AC3 48000 Hz 2 channels 384 kbps MAIN idx=1 id=0201 eng]
Your plugin detects same files as
Code:
format=MPEG2-TS 1:45:11 4829 kbps [#0 Video[H.264 50.0 fps 1440x1080 interlaced id=100]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1 id=101 eng]
HD300 plays file when format detected by SageTV
HD300 sits with spinning circle when format detected by your plugin and logs
Code:
Mpeg2Reader seeking to pos=0
John
Reply With Quote
  #122  
Old 07-29-2020, 08:13 PM
Telecore's Avatar
Telecore Telecore is offline
Sage Aficionado
 
Join Date: Oct 2010
Location: Allen, TX
Posts: 347
I think I may have found a minor problem with this plugin but I am not 100% sure - I recently updated to the latest miniclient on my Nvidia Shields and FireTVs and upgraded to the latest Windows x64 SageTV server version 9.2.2. After installing this plugin, I can no longer see the chapters, or skip through them, of HEVC-10 encoded MKV blu-ray rips. When I display the info on the file playing, it has no chapter indicators. Previously, this was working before I updated all of this. Can anyone confirm?
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA)
AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8)
Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV)
Reply With Quote
  #123  
Old 07-30-2020, 07:15 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by JREkiwi View Post
SageTV detects recordings as
Code:
format=MPEG2-TS 1:45:10 2884 kbps [#0 Video[H.264 25.0 fps 1440x1080 16:9 interlaced id=0200]#1 Audio[AC3 48000 Hz 2 channels 384 kbps MAIN idx=1 id=0201 eng]
Your plugin detects same files as
Code:
format=MPEG2-TS 1:45:11 4829 kbps [#0 Video[H.264 50.0 fps 1440x1080 interlaced id=100]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1 id=101 eng]
HD300 plays file when format detected by SageTV
HD300 sits with spinning circle when format detected by your plugin and logs
Code:
Mpeg2Reader seeking to pos=0
John
Hi John,

Do you think you could possibly send me a clip of this file. I would like to dig into it a little deeper.

Somehow I completely missed this post. That darn ID property strikes again. I may need to ask Narflex what that property means. I think the combination of the wrong framerate and wrong track IDs is what is clearly breaking it.

If you need these to work you can turn on the internal format detector, while still using the plugin.
Reply With Quote
  #124  
Old 07-30-2020, 07:24 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by Telecore View Post
I think I may have found a minor problem with this plugin but I am not 100% sure - I recently updated to the latest miniclient on my Nvidia Shields and FireTVs and upgraded to the latest Windows x64 SageTV server version 9.2.2. After installing this plugin, I can no longer see the chapters, or skip through them, of HEVC-10 encoded MKV blu-ray rips. When I display the info on the file playing, it has no chapter indicators. Previously, this was working before I updated all of this. Can anyone confirm?
This is a missing feature in the plugin. I will add chapters to the todo list. I think that was just an oversight on my part.

Thanks!
Reply With Quote
  #125  
Old 07-30-2020, 08:04 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by jvl711 View Post
Hi John,

Do you think you could possibly send me a clip of this file. I would like to dig into it a little deeper.

Somehow I completely missed this post. That darn ID property strikes again. I may need to ask Narflex what that property means. I think the combination of the wrong framerate and wrong track IDs is what is clearly breaking it.

If you need these to work you can turn on the internal format detector, while still using the plugin.
Found the ID!!!

Apparently it is a HEX value. That is why I was struggling to find it. I saw return value of 256 when looking for 101... I assumed it was not the right value and moved on.

Anyway, I think if I fix the ID, and figure out the framerate, then that should fix that file.

Josh
Reply With Quote
  #126  
Old 03-31-2021, 10:55 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Minor release posted. Found an issue where the format parser was blowing up if there was a data stream in the file (A stream that is only data). This issue should be fixed.

Let me know any sees any additional issues.

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #127  
Old 04-15-2021, 12:08 AM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
troubleshooting Firestick 4 k playback

Hi,

I am following this thread in an attempt to fix my playback issues on Firestick 4k. Do you have a working SageTV MediaFormatParser plugin that works in Linux 64? After amending my Win 10 configuration everything seems to be working smoothly there. I just need to have same functionality on my Linux server then my Sagetv use will be golden! The root of my issues seem to be with the Exoplayer.

Last edited by Galaxysurfer; 04-15-2021 at 12:11 AM.
Reply With Quote
  #128  
Old 04-16-2021, 09:16 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Galaxysurfer View Post
Do you have a working SageTV MediaFormatParser plugin that works in Linux 64?
I got a build of the code working on Linux (with my very limited 3 test files) but I have not yet merged my changes in with Josh's main project, mostly due to several long term $work distractions. I hope to get this completed in the next few weeks so everyone can try it out.

--John
Reply With Quote
  #129  
Old 04-18-2021, 12:24 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Talking

Hey I installed your plugin on a old WinXP 32bit SageTV Server - Running JRE 8u74. It's also running version 9.2.2. I had JRE 7 installed but the plugin complained it was too old

I downloaded these files:
JavaFFmpegLibraryWin32_v0.5.zip
MediaFormatParserPlugin_v0.7.zip
sage.jar <<- I didn't use this as I'm running 9.2.2

I used the Manual Method as my plugin manager doesn't seem to work, not sure why. I can't figure that one out

Every file it tries to parse gives me this error:
"Could not initialize class jvl.FFmpeg.jni.AVFormatContext"

Code:
Sun 4/18 14:09:54.125 [LibraryImporter@1011da4] Reimporting metadata for mediafile because it changed:MediaFile[id=6203641 A[50396164,6203642,"GH020048",0@0530.10:48,6,V] mask=V host=pvr encodedBy= format=Quicktime 0:06:57 33224 kbps [#0 Video[H.264 23.98 fps 1920x1080 16:9 33000 kbps progressive]#1 Audio[AAC 48000 Hz 2 channels 189 kbps idx=1 eng]] F:\GoPro\Salt Lake City\GH020048.MP4, Seg0[Wed 5/30 10:48:38.700-Wed 5/30 10:55:36.000]]
Sun 4/18 14:09:54.147 [LibraryImporter@1011da4] Using the format detector plugin
Sun 4/18 14:09:54.148 [LibraryImporter@1011da4] MediaFormatParserPlugin processing: F:\GoPro\Salt Lake City\GH020048.MP4
Sun 4/18 14:09:54.148 [LibraryImporter@1011da4] There was an unhandled exception processing the file: GH020048.MP4 Could not initialize class jvl.FFmpeg.jni.AVFormatContext
Sun 4/18 14:09:54.149 [LibraryImporter@1011da4] java.lang.NoClassDefFoundError: Could not initialize class jvl.FFmpeg.jni.AVFormatContext
Sun 4/18 14:09:54.149 [LibraryImporter@1011da4] 	at jvl.mediaformat.MediaFormatParserPlugin.parseFormat(MediaFormatParserPlugin.java:150)
Sun 4/18 14:09:54.150 [LibraryImporter@1011da4] 	at sage.media.format.FormatParser.getFileFormat(FormatParser.java:201)
Sun 4/18 14:09:54.150 [LibraryImporter@1011da4] 	at sage.MediaFile.reinitializeMetadata(MediaFile.java:2878)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.checkForDataReimport(Seeker.java:1021)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.importLibraryFiles(Seeker.java:1514)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.importLibraryFiles(Seeker.java:1496)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.importLibraryFiles(Seeker.java:1259)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] 	at sage.Seeker.access$700(Seeker.java:51)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] 	at sage.Seeker$1.run(Seeker.java:962)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] 	at sage.Pooler$PooledThread.run(Pooler.java:254)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] MediaFormatParserPlugin processing complete: F:\GoPro\Salt Lake City\GH020048.MP4
Sun 4/18 14:09:54.153 [LibraryImporter@1011da4] Now using external format detector for: F:\GoPro\Salt Lake City\GH020048.MP4
Sun 4/18 14:09:54.763 [Fork-BASE-53879@1a9a75a] Successfully loaded YUV image of RawImage[2048x1536 alpha=false stride=4096 bufferCapacity=6291456]
Sun 4/18 14:09:54.764 [Fork-BASE-53879@1a9a75a] About to start loading the YUV image into the video plane...
Sun 4/18 14:09:59.349 [Fork-BASE-53879@1a9a75a] Done loading the YUV image into the video plane (4833816)...
Sun 4/18 14:09:59.351 [Fork-BASE-53879@1a9a75a] Done Preloading image in picture viewer's slideshow monitor thread.

Ben
__________________
Ben
Intel Core2Duo E6600 2.4GHz - Win7 64bit
Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor
Tuners: HDHomeRun v1, Hauppauge HVR1600
Video: BenQ W5000 1080p, ASUS ATI 6670
Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+)
SageTV: 7.1.9 Final ?
Reply With Quote
  #130  
Old 04-18-2021, 02:41 PM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 428
Quote:
Originally Posted by jpwegas View Post
I got a build of the code working on Linux (with my very limited 3 test files) but I have not yet merged my changes in with Josh's main project, mostly due to several long term $work distractions. I hope to get this completed in the next few weeks so everyone can try it out.

--John
That will be awesome. Thanks!
__________________
-----
AMD Ryzen 5 3600, B450 m/b, 32Gig, lots of disks, Unraid, 2x HDPVR2 tuners, HDHomeRun Prime, HDHomeRun HDHR4 OTA, Windows Live Tuner, SageTV docker, OpenDCT docker, Win8.1 VM, EventGhost
Reply With Quote
  #131  
Old 04-21-2021, 01:35 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by Fastrack View Post
Hey I installed your plugin on a old WinXP 32bit SageTV Server - Running JRE 8u74. It's also running version 9.2.2. I had JRE 7 installed but the plugin complained it was too old

I downloaded these files:
JavaFFmpegLibraryWin32_v0.5.zip
MediaFormatParserPlugin_v0.7.zip
sage.jar <<- I didn't use this as I'm running 9.2.2

I used the Manual Method as my plugin manager doesn't seem to work, not sure why. I can't figure that one out

Every file it tries to parse gives me this error:
"Could not initialize class jvl.FFmpeg.jni.AVFormatContext"

Code:
Sun 4/18 14:09:54.125 [LibraryImporter@1011da4] Reimporting metadata for mediafile because it changed:MediaFile[id=6203641 A[50396164,6203642,"GH020048",0@0530.10:48,6,V] mask=V host=pvr encodedBy= format=Quicktime 0:06:57 33224 kbps [#0 Video[H.264 23.98 fps 1920x1080 16:9 33000 kbps progressive]#1 Audio[AAC 48000 Hz 2 channels 189 kbps idx=1 eng]] F:\GoPro\Salt Lake City\GH020048.MP4, Seg0[Wed 5/30 10:48:38.700-Wed 5/30 10:55:36.000]]
Sun 4/18 14:09:54.147 [LibraryImporter@1011da4] Using the format detector plugin
Sun 4/18 14:09:54.148 [LibraryImporter@1011da4] MediaFormatParserPlugin processing: F:\GoPro\Salt Lake City\GH020048.MP4
Sun 4/18 14:09:54.148 [LibraryImporter@1011da4] There was an unhandled exception processing the file: GH020048.MP4 Could not initialize class jvl.FFmpeg.jni.AVFormatContext
Sun 4/18 14:09:54.149 [LibraryImporter@1011da4] java.lang.NoClassDefFoundError: Could not initialize class jvl.FFmpeg.jni.AVFormatContext
Sun 4/18 14:09:54.149 [LibraryImporter@1011da4] 	at jvl.mediaformat.MediaFormatParserPlugin.parseFormat(MediaFormatParserPlugin.java:150)
Sun 4/18 14:09:54.150 [LibraryImporter@1011da4] 	at sage.media.format.FormatParser.getFileFormat(FormatParser.java:201)
Sun 4/18 14:09:54.150 [LibraryImporter@1011da4] 	at sage.MediaFile.reinitializeMetadata(MediaFile.java:2878)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.checkForDataReimport(Seeker.java:1021)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.importLibraryFiles(Seeker.java:1514)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.importLibraryFiles(Seeker.java:1496)
Sun 4/18 14:09:54.151 [LibraryImporter@1011da4] 	at sage.Seeker.importLibraryFiles(Seeker.java:1259)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] 	at sage.Seeker.access$700(Seeker.java:51)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] 	at sage.Seeker$1.run(Seeker.java:962)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] 	at sage.Pooler$PooledThread.run(Pooler.java:254)
Sun 4/18 14:09:54.152 [LibraryImporter@1011da4] MediaFormatParserPlugin processing complete: F:\GoPro\Salt Lake City\GH020048.MP4
Sun 4/18 14:09:54.153 [LibraryImporter@1011da4] Now using external format detector for: F:\GoPro\Salt Lake City\GH020048.MP4
Sun 4/18 14:09:54.763 [Fork-BASE-53879@1a9a75a] Successfully loaded YUV image of RawImage[2048x1536 alpha=false stride=4096 bufferCapacity=6291456]
Sun 4/18 14:09:54.764 [Fork-BASE-53879@1a9a75a] About to start loading the YUV image into the video plane...
Sun 4/18 14:09:59.349 [Fork-BASE-53879@1a9a75a] Done loading the YUV image into the video plane (4833816)...
Sun 4/18 14:09:59.351 [Fork-BASE-53879@1a9a75a] Done Preloading image in picture viewer's slideshow monitor thread.

Ben
I would double check that the jar files and dll files where placed in the right places. This is saying it is having an issue finding all of the code.

There is a number of dll files that should go into the root of the SageTV folder, and a Jar or two that need to go into the jars folder.

Let me know if that helps.

Thanks,
Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #132  
Old 04-21-2021, 01:37 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by jpwegas View Post
I got a build of the code working on Linux (with my very limited 3 test files) but I have not yet merged my changes in with Josh's main project, mostly due to several long term $work distractions. I hope to get this completed in the next few weeks so everyone can try it out.

--John
Let me know if you need any help! If you do have some free time I could also use some help with the SageTVTranscoder and getting a build that works on Linux . And some other possible fixes.

I know what you mean about work distractions!

Thanks,
Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #133  
Old 04-27-2021, 12:41 PM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
Josh,

Do you still need to do this if you have the latest Version 9.2.4 (2021-04-16) installed?

Quote:
Download the pre-release version of the Sage.jar and place it into the root of the SageTV folder
sage.jar alpha build
Note: There is new functionallity that is required for this plugin to work. Upgrading the jar is required.
__________________
SageTV running on: Win10 21H2
SageTV 9.2.6.976 (64 bit)
Java 1.8.0 311 (64 bit)
OpenDCT 0.5.32 (64 bit)
Clients: HD300 (x2)
HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners
HDFX-4K Flex 20220822 (OTA) - 4 Tuners
Reply With Quote
  #134  
Old 04-27-2021, 01:22 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by CptKirk View Post
Josh,

Do you still need to do this if you have the latest Version 9.2.4 (2021-04-16) installed?

No you do not. I think the functionality was added in 9.2.2...

Thanks,
Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #135  
Old 06-12-2021, 09:37 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Quote:
Originally Posted by jvl711 View Post
I would double check that the jar files and dll files where placed in the right places. This is saying it is having an issue finding all of the code.

There is a number of dll files that should go into the root of the SageTV folder, and a Jar or two that need to go into the jars folder.

Let me know if that helps.

Thanks,
Josh
Hey Josh,

I didn't get an email for the reply. And kinda forgot about configuring this. Well it still doesn't work. I tried extracting ALL the files again. I'm now running 9.2.5.

Two .jar files in:
D:\Program Files\SageTV\SageTV\JARs
MediaFormatParserPlugin.jar
JavaFFmpeg.jar

DLLs are all in:
D:\Program Files\SageTV\SageTV\

I do see avcodec-51.dll and avutil-49.dll would that mess things up? from 2018

I seem to get the error above on MKV. On mp4 I just saw this one?
Code:
Fri 6/11 19:35:52.894 [LibraryImporter@12af4bb] testFile=test_file.mp4
Fri 6/11 19:35:52.895 [LibraryImporter@12af4bb] Constructing jvl.mediaformat.MediaFormatParserPlugin
Fri 6/11 19:35:52.897 [LibraryImporter@12af4bb] MediaFormatParserPlugin Version: 0.7
Fri 6/11 19:35:52.897 [LibraryImporter@12af4bb] MediaFormatParserPlugin Build Number: 84
Fri 6/11 19:35:52.897 [LibraryImporter@12af4bb] MediaFormatParserPlugin Build DateTime: 03/30/2021 17:46:47
Fri 6/11 19:35:52.900 [LibraryImporter@12af4bb] JavaFFmpeg Version: 0.5
Fri 6/11 19:35:52.901 [LibraryImporter@12af4bb] JavaFFmpeg Build Number: 599
Fri 6/11 19:35:52.902 [LibraryImporter@12af4bb] JavaFFmpeg Build DateTime: 09/03/2020 09:11:29
Fri 6/11 19:35:52.903 [LibraryImporter@12af4bb] Using the format detector plugin
Fri 6/11 19:35:52.904 [LibraryImporter@12af4bb] MediaFormatParserPlugin processing: E:\Downloads\test_file.mp4
Fri 6/11 19:35:52.937 [LibraryImporter@12af4bb] There was an unhandled exception processing the file: Superstore.S01E09.All.Nighter.720p.WEB.x264-[MULVAcoded].mp4 D:\Program Files\SageTV\SageTV\avutil-56.dll: Can't find dependent libraries
Fri 6/11 19:35:52.938 [LibraryImporter@12af4bb] java.lang.UnsatisfiedLinkError: D:\Program Files\SageTV\SageTV\avutil-56.dll: Can't find dependent libraries
Fri 6/11 19:35:52.939 [LibraryImporter@12af4bb] 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
Fri 6/11 19:35:52.939 [LibraryImporter@12af4bb] 	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
Fri 6/11 19:35:52.939 [LibraryImporter@12af4bb] 	at java.lang.ClassLoader.loadLibrary(Unknown Source)
Fri 6/11 19:35:52.940 [LibraryImporter@12af4bb] 	at java.lang.Runtime.loadLibrary0(Unknown Source)
Fri 6/11 19:35:52.940 [LibraryImporter@12af4bb] 	at java.lang.System.loadLibrary(Unknown Source)
Fri 6/11 19:35:52.941 [LibraryImporter@12af4bb] 	at jvl.FFmpeg.jni.Global.loadLibraries(Global.java:20)
Fri 6/11 19:35:52.941 [LibraryImporter@12af4bb] 	at jvl.FFmpeg.jni.AbstractJNIObject.<clinit>(AbstractJNIObject.java:12)
Fri 6/11 19:35:52.941 [LibraryImporter@12af4bb] 	at jvl.mediaformat.MediaFormatParserPlugin.parseFormat(MediaFormatParserPlugin.java:150)
Fri 6/11 19:35:52.942 [LibraryImporter@12af4bb] 	at sage.media.format.FormatParser.getFileFormat(FormatParser.java:200)
Fri 6/11 19:35:52.942 [LibraryImporter@12af4bb] 	at sage.Wizard.addMediaFile(Wizard.java:3560)
Fri 6/11 19:35:52.943 [LibraryImporter@12af4bb] 	at sage.Seeker.importLibraryFiles(Seeker.java:1570)
Fri 6/11 19:35:52.943 [LibraryImporter@12af4bb] 	at sage.Seeker.importLibraryFiles(Seeker.java:1496)
Fri 6/11 19:35:52.944 [LibraryImporter@12af4bb] 	at sage.Seeker.importLibraryFiles(Seeker.java:1259)
Fri 6/11 19:35:52.944 [LibraryImporter@12af4bb] 	at sage.Seeker.access$700(Seeker.java:51)
Fri 6/11 19:35:52.944 [LibraryImporter@12af4bb] 	at sage.Seeker$1.run(Seeker.java:962)
Fri 6/11 19:35:52.945 [LibraryImporter@12af4bb] 	at sage.Pooler$PooledThread.run(Pooler.java:254)
For some reason with the mp4 it said "Now Using external format detector" and it worked? I dono what it's using LOL.
__________________
Ben
Intel Core2Duo E6600 2.4GHz - Win7 64bit
Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor
Tuners: HDHomeRun v1, Hauppauge HVR1600
Video: BenQ W5000 1080p, ASUS ATI 6670
Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+)
SageTV: 7.1.9 Final ?
Reply With Quote
  #136  
Old 06-14-2021, 06:38 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by Fastrack View Post
Hey Josh,

I didn't get an email for the reply. And kinda forgot about configuring this. Well it still doesn't work. I tried extracting ALL the files again. I'm now running 9.2.5.

Two .jar files in:
D:\Program Files\SageTV\SageTV\JARs
MediaFormatParserPlugin.jar
JavaFFmpeg.jar

DLLs are all in:
D:\Program Files\SageTV\SageTV\

I do see avcodec-51.dll and avutil-49.dll would that mess things up? from 2018

I seem to get the error above on MKV. On mp4 I just saw this one?
Code:
Fri 6/11 19:35:52.894 [LibraryImporter@12af4bb] testFile=test_file.mp4
Fri 6/11 19:35:52.895 [LibraryImporter@12af4bb] Constructing jvl.mediaformat.MediaFormatParserPlugin
Fri 6/11 19:35:52.897 [LibraryImporter@12af4bb] MediaFormatParserPlugin Version: 0.7
Fri 6/11 19:35:52.897 [LibraryImporter@12af4bb] MediaFormatParserPlugin Build Number: 84
Fri 6/11 19:35:52.897 [LibraryImporter@12af4bb] MediaFormatParserPlugin Build DateTime: 03/30/2021 17:46:47
Fri 6/11 19:35:52.900 [LibraryImporter@12af4bb] JavaFFmpeg Version: 0.5
Fri 6/11 19:35:52.901 [LibraryImporter@12af4bb] JavaFFmpeg Build Number: 599
Fri 6/11 19:35:52.902 [LibraryImporter@12af4bb] JavaFFmpeg Build DateTime: 09/03/2020 09:11:29
Fri 6/11 19:35:52.903 [LibraryImporter@12af4bb] Using the format detector plugin
Fri 6/11 19:35:52.904 [LibraryImporter@12af4bb] MediaFormatParserPlugin processing: E:\Downloads\test_file.mp4
Fri 6/11 19:35:52.937 [LibraryImporter@12af4bb] There was an unhandled exception processing the file: Superstore.S01E09.All.Nighter.720p.WEB.x264-[MULVAcoded].mp4 D:\Program Files\SageTV\SageTV\avutil-56.dll: Can't find dependent libraries
Fri 6/11 19:35:52.938 [LibraryImporter@12af4bb] java.lang.UnsatisfiedLinkError: D:\Program Files\SageTV\SageTV\avutil-56.dll: Can't find dependent libraries
Fri 6/11 19:35:52.939 [LibraryImporter@12af4bb] 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
Fri 6/11 19:35:52.939 [LibraryImporter@12af4bb] 	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
Fri 6/11 19:35:52.939 [LibraryImporter@12af4bb] 	at java.lang.ClassLoader.loadLibrary(Unknown Source)
Fri 6/11 19:35:52.940 [LibraryImporter@12af4bb] 	at java.lang.Runtime.loadLibrary0(Unknown Source)
Fri 6/11 19:35:52.940 [LibraryImporter@12af4bb] 	at java.lang.System.loadLibrary(Unknown Source)
Fri 6/11 19:35:52.941 [LibraryImporter@12af4bb] 	at jvl.FFmpeg.jni.Global.loadLibraries(Global.java:20)
Fri 6/11 19:35:52.941 [LibraryImporter@12af4bb] 	at jvl.FFmpeg.jni.AbstractJNIObject.<clinit>(AbstractJNIObject.java:12)
Fri 6/11 19:35:52.941 [LibraryImporter@12af4bb] 	at jvl.mediaformat.MediaFormatParserPlugin.parseFormat(MediaFormatParserPlugin.java:150)
Fri 6/11 19:35:52.942 [LibraryImporter@12af4bb] 	at sage.media.format.FormatParser.getFileFormat(FormatParser.java:200)
Fri 6/11 19:35:52.942 [LibraryImporter@12af4bb] 	at sage.Wizard.addMediaFile(Wizard.java:3560)
Fri 6/11 19:35:52.943 [LibraryImporter@12af4bb] 	at sage.Seeker.importLibraryFiles(Seeker.java:1570)
Fri 6/11 19:35:52.943 [LibraryImporter@12af4bb] 	at sage.Seeker.importLibraryFiles(Seeker.java:1496)
Fri 6/11 19:35:52.944 [LibraryImporter@12af4bb] 	at sage.Seeker.importLibraryFiles(Seeker.java:1259)
Fri 6/11 19:35:52.944 [LibraryImporter@12af4bb] 	at sage.Seeker.access$700(Seeker.java:51)
Fri 6/11 19:35:52.944 [LibraryImporter@12af4bb] 	at sage.Seeker$1.run(Seeker.java:962)
Fri 6/11 19:35:52.945 [LibraryImporter@12af4bb] 	at sage.Pooler$PooledThread.run(Pooler.java:254)
For some reason with the mp4 it said "Now Using external format detector" and it worked? I dono what it's using LOL.
So from the error it is stating it can not find "avutil-56.dll" in the SageTV directory. That should be installed with the plugin. Can you confirm if it is present. The plugin has a dependency on the library javaffmpeglibrary. Maybe the dependent library did not install properly.

I am pretty sure, but not 100% positive, that I added a fallback in the event the plugin failed it would use the old method. That is probably why it is sill working.

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #137  
Old 06-14-2021, 06:58 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Quote:
Originally Posted by jvl711 View Post
So from the error it is stating it can not find "avutil-56.dll" in the SageTV directory. That should be installed with the plugin. Can you confirm if it is present. The plugin has a dependency on the library javaffmpeglibrary. Maybe the dependent library did not install properly.

I am pretty sure, but not 100% positive, that I added a fallback in the event the plugin failed it would use the old method. That is probably why it is sill working.

Josh
Yeah the file is there. It's so weird! Here's the files screenshot taken from my Desktop.


I followed your manual instructions by just unzipping the ZIP file into the Sage directory.
__________________
Ben
Intel Core2Duo E6600 2.4GHz - Win7 64bit
Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor
Tuners: HDHomeRun v1, Hauppauge HVR1600
Video: BenQ W5000 1080p, ASUS ATI 6670
Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+)
SageTV: 7.1.9 Final ?
Reply With Quote
  #138  
Old 06-15-2021, 06:50 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by Fastrack View Post
Yeah the file is there. It's so weird! Here's the files screenshot taken from my Desktop.


I followed your manual instructions by just unzipping the ZIP file into the Sage directory.
Hmmm. Interesting. Are you using the right bit version for the SageTV install? x32 for 32bit SageTV vs the 64bit? Is there a reason you were not using the plugin manager.

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #139  
Old 06-15-2021, 09:02 AM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
I think the error might possibly be that it can’t find another DLL that avutil-56.dll is dependent upon because it listed the full path the the DLL in the error.

Josh, can your run dependency walker on that DLL and see what else it may need?
__________________
Windows Installer

Last edited by wnjj; 06-15-2021 at 09:05 AM.
Reply With Quote
  #140  
Old 06-15-2021, 11:08 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by wnjj View Post
I think the error might possibly be that it can’t find another DLL that avutil-56.dll is dependent upon because it listed the full path the the DLL in the error.

Josh, can your run dependency walker on that DLL and see what else it may need?
They are pre-built statically linked, so they should not require anyother DLLs.

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
Reply


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

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 12:50 PM.


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