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
  #141  
Old 06-15-2021, 12:40 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by jvl711 View Post
They are pre-built statically linked, so they should not require anyother DLLs.

Josh
Do the DLLs need to be registered?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #142  
Old 06-16-2021, 01:07 AM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Quote:
Originally Posted by jvl711 View Post
They are pre-built statically linked, so they should not require anyother DLLs.

Josh
I just downloaded your zip and checked avutil-56.dll. It requires:

Code:
avdapi32.dll
bcrypt.dll
kernel32.dll
msvcrt.dll
user32.dll
Looking here (https://github.com/aria2/aria2/issues/393) it seems that bcrypt.dll is not supported on Windows XP. That is likely the issue here.

For what it's worth, the older version that shipped with Sage 7 (avutil-49.dll) only needs kernel32 and msvcrt.
__________________
Windows Installer
Reply With Quote
  #143  
Old 06-16-2021, 04:08 AM
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 wnjj View Post
I just downloaded your zip and checked avutil-56.dll. It requires:

Code:
avdapi32.dll
bcrypt.dll
kernel32.dll
msvcrt.dll
user32.dll
Looking here (https://github.com/aria2/aria2/issues/393) it seems that bcrypt.dll is not supported on Windows XP. That is likely the issue here.

For what it's worth, the older version that shipped with Sage 7 (avutil-49.dll) only needs kernel32 and msvcrt.
Well that explains it. Too bad I was just letting xp roll along as this pvr is rock solid it just works! I never have to reboot it. Sorry for all the confusion! Darn

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
  #144  
Old 06-16-2021, 08:38 AM
davidb's Avatar
davidb davidb is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 134
If bcrypt.dll is the only thing needed to make it run on xp then look here for a person that shows how to use it on xp:

http://wp.xin.at/archives/tag/bcrypt-dll

Quote:
Originally Posted by Fastrack View Post
Well that explains it. Too bad I was just letting xp roll along as this pvr is rock solid it just works! I never have to reboot it. Sorry for all the confusion! Darn

Ben
Reply With Quote
  #145  
Old 06-17-2021, 11:13 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by wnjj View Post
I just downloaded your zip and checked avutil-56.dll. It requires:

Code:
avdapi32.dll
bcrypt.dll
kernel32.dll
msvcrt.dll
user32.dll
Looking here (https://github.com/aria2/aria2/issues/393) it seems that bcrypt.dll is not supported on Windows XP. That is likely the issue here.

For what it's worth, the older version that shipped with Sage 7 (avutil-49.dll) only needs kernel32 and msvcrt.
Interesting. So the newer versions of FFmpeg are not supported on windows XP? I guess it is not that surprising. Should I add a note to all of my FFmpeg related stuff that it is not supported on XP/Server 2003?
__________________
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
  #146  
Old 06-17-2021, 05:59 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 davidb View Post
If bcrypt.dll is the only thing needed to make it run on xp then look here for a person that shows how to use it on xp:

http://wp.xin.at/archives/tag/bcrypt-dll
Well I followed those instructions and dropped them in the SageTV directory I even tried registering the two DLLs. BUT it still has the same "D:\Program Files\SageTV\SageTV\avutil-56.dll: The specified procedure could not be found" error.

Well it was worth a shot.
__________________
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
  #147  
Old 06-30-2021, 12:29 PM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
So I just did the following updates:

- SageTV x32 9.1.9 to SageTV x32 9.2.5
- OpenDCT 0.5.29 to OpenDCT 0.5.32

I did those so I could add the new plugins:

- SageTVTranscoder Plugin x64 1.0.5 (2021-04-30)
- Media Format Parser Plugin Windows x32 0.7 (2021-03-30)

This is on a Win7 x64 machine.

Once the updates were installed (no errors or problems encountered), I rebooted the machine and then went into Available Plugins to do the Media Format Parser Plugin.

On Github is shows the latest release as v0.7

But it only shows v0.6 available for installation in the SageTV available plugins.

Is there a way to get the latest v0.7?

__________________
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
  #148  
Old 07-14-2021, 12:08 PM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
Sorry it is basically the same post for two different plugins but I want to track it in both places.

How do I go about getting the Sage system to offer up the latest version of the plugin so that I can install it?
__________________
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

Last edited by CptKirk; 07-14-2021 at 12:11 PM.
Reply With Quote
  #149  
Old 07-14-2021, 11:16 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
0.7 is definitely in the SageTVPlugins.xml.

Can you check the date of that file?

If you open the file the second line should read
<PluginRepository version="2021.0525.0612">

John
Reply With Quote
  #150  
Old 07-15-2021, 07:24 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
SageTVPlugins.xml

<PluginRepository version="1.0.2063">

SageTVPluginsV9.xml

<PluginRepository version="2021.0111.2200">

I did some web searching and found where the repo resides: https://github.com/OpenSageTV/sagetv-plugin-repo

Agree, the 0.7 is definitely there.

So the question is how do I get the "PluginRepository version" updated to the latest version?
__________________
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

Last edited by CptKirk; 07-15-2021 at 03:33 PM.
Reply With Quote
  #151  
Old 07-15-2021, 10:17 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Sorry, the previous post should have said SageTVPluginsV9.xml, but you obviously worked that out

It should download the latest version when starting SageTV and when going into Plugins.

You can try renaming SageTVPluginsV9.xml and going into Plugins or restart SageTV

It does log to sagetv_0.txt the process of downloading the file.

John
Reply With Quote
  #152  
Old 07-16-2021, 08:31 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
sagetv_0.txt is showing some Java errors when it tries to download:

Quote:
Fri 7/16 8:44:13.082 [PluginRepoUpdater@1a1ee85] Doing routine update check for a new SageTVPlugins.xml file...
Fri 7/16 8:44:13.088 [PluginRepoUpdater@1a1ee85] Checking to see if the plugin repository file SageTVPlugins.xml needs to be updated using MD5 URL: http://download.sagetv.com/SageTVPlugins.md5.txt
Fri 7/16 8:44:13.215 [PluginRepoUpdater@1a1ee85] Local plugin repository file's checksum matches server's, no need to download a new one for SageTVPlugins.xml
Fri 7/16 8:44:13.217 [PluginRepoUpdater@1a1ee85] Checking to see if the plugin repository file SageTVPluginsV9.xml needs to be updated using MD5 URL: https://raw.githubusercontent.com/Op...VPluginsV9.md5
Fri 7/16 8:44:13.263 [PluginRepoUpdater@1a1ee85] ERROR trying to retrieve the C9A03ECD685B4C73E59B06B1DA3B72B2 file of:javax.net.ssl.SSLException: Received fatal alert: protocol_version
Fri 7/16 8:44:13.263 [PluginRepoUpdater@1a1ee85] Downloading new SageTVPluginsV9.xml file from https://raw.githubusercontent.com/Op...VPluginsV9.xml
Fri 7/16 8:44:13.264 [PluginRepoUpdater@1a1ee85] Download requested for files server=https://raw.githubusercontent.com/OpenSageTV/sagetv-plugin-repo/master/SageTVPluginsV9.xml src=null dest=SageTVPluginsV9.xml
Fri 7/16 8:44:13.296 [PluginRepoUpdater@1a1ee85] ERROR with file download of:javax.net.ssl.SSLException: Received fatal alert: protocol_version
Fri 7/16 8:44:13.297 [PluginRepoUpdater@1a1ee85] ERROR failed downloading https://raw.githubusercontent.com/Op...VPluginsV9.xml file.
Fri 7/16 8:44:13.297 [PluginRepoUpdater@1a1ee85] ERROR failed downloading https://raw.githubusercontent.com/Op...VPluginsV9.xml file.
Fri 7/16 8:44:13.297 [PluginRepoUpdater@1a1ee85] Analyzing plugin repository XML file: SageTVPlugins.xml
Fri 7/16 8:44:13.324 [PluginRepoUpdater@1a1ee85] Done processing plugin repository XML file[SageTVPlugins.xml] repositoryVersion=1.0.2063
Fri 7/16 8:44:13.325 [PluginRepoUpdater@1a1ee85] Analyzing plugin repository XML file: SageTVPluginsV9.xml
Fri 7/16 8:44:13.330 [PluginRepoUpdater@1a1ee85] Done processing plugin repository XML file[SageTVPluginsV9.xml] repositoryVersion=2021.0111.2200
I am going to try and get those Java errors resolved first.

I am using Java 7 u80 (build 1.7.0_80-b15)

I was going to try and update to the latest Java 7 but it looks like 7 u80 was the last one. Going to try and do an uninstall/install of 7 u80 to see if that will help.

Hmm, looks like the uninstall/install of 7 u80 did not help. Still see the errors.

Looks like I am going to have to bite the bullet and update to Java 8. I am a "if it is not broken, do not fix it until it breaks" type of person, so I have not done the Java 8 switch yet.

----

Updating to Java 8 enabled me to get the latest rev of SageTVPluginsV9 with no errors. I was then able to install the SageTVTranscoder Plugin and the Media Format Parser Plugin. I then also updated all my other plugins that were showing updates were needed.

But, I ended up without being able to tune any channel. On my system it seems it does not like Java 8. With Java 8 no channel on the HDHR's can be tuned. Uninstall Java 8, install Java 7, no problems. Uninstall Java 7, install Java 8, problems. I can go back and forth with Java and reproduce it 100% of the time. I've just left it with Java 7 for now. I'll create another thread about my Java problems with logs and more details.
__________________
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

Last edited by CptKirk; 07-16-2021 at 11:13 AM.
Reply With Quote
  #153  
Old 07-16-2021, 11:13 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by CptKirk View Post
sagetv_0.txt is showing some Java errors when it tries to download:



I am going to try and get those Java errors resolved first.

I am using Java 7 u80 (build 1.7.0_80-b15)

I was going to try and update to the latest Java 7 but it looks like 7 u80 was the last one. Going to try and do an uninstall/install of 7 u80 to see if that will help.

Hmm, looks like the uninstall/install of 7 u80 did not help. Still see the errors.

Looks like I am going to have to bite the bullet and update to Java 8. I am a "if it is not broken, do not fix it until it breaks" type of person, so I have not done the Java 8 switch yet.
I don’t think java7 works with ssl, so it can’t access https:// sites. You probably need Java 8.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #154  
Old 08-28-2021, 09:56 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
Failed Status

I was trying to debug an issue and went into the Installed Plugins and noticed that the 'Media Format Parser Plugin for Windows x32' v0.7 is showing as 'Failed'.

I installed it on 7/16/21 and at that time I do not remember seeing it showing as failed.

Does the failed status mean it failed to install or that it is failing to load?

All my other installed plugins are showing enabled.
__________________
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
  #155  
Old 08-28-2021, 10:28 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
I rebooted the sage machine and checked the log files...

Quote:
Sat 8/28 11:14:32.288 [SageTV@1d442ac] CorePluginManager is checking plugin: mediaformatparserpluginwinx32 type: Standard version: 0.7 by: jvl711
Sat 8/28 11:14:32.289 [SageTV@1d442ac] Plugin mediaformatparserpluginwinx32 is enabled, try to load it from class: jvl.mediaformat.MediaFormatParserPlugin
Sat 8/28 11:14:32.289 [SageTV@1d442ac] Plugin mediaformatparserpluginwinx32 is enabled, try to load it from class: jvl.mediaformat.MediaFormatParserPlugin
Sat 8/28 11:14:32.292 [SageTV@1d442ac] ERROR loading plugin class jvl.mediaformat.MediaFormatParserPlugin of:java.lang.UnsupportedClassVersionError: jvl/mediaformat/MediaFormatParserPlugin : Unsupported major.minor version 52.0
Sat 8/28 11:14:32.292 [SageTV@1d442ac] ERROR loading plugin class jvl.mediaformat.MediaFormatParserPlugin of:java.lang.UnsupportedClassVersionError: jvl/mediaformat/MediaFormatParserPlugin : Unsupported major.minor version 52.0
Sat 8/28 11:14:32.295 [SageTV@1d442ac] Loading of plugin mediaformatparserpluginwinx32 failed!
And if it tries to get called to check a file I see this:

Quote:
Sat 8/28 4:46:17.091 [Ministry@159a5a7] Ministry is absolving MediaFile[id=43031130 A[42895754,3962689,"Wipeout",58515@0826.23:30,60,T] mask=TV host=HTPC encodedBy=DCT-HDHomeRun Prime Tuner 13182976-0 on 127.0.0.1:9000 TBSHD format=MPEG2-TS 0:00:02 3076 kbps [#0 Video[H.264 59.94006 fps 1280x720 16:9 progressive id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]#2 Audio[AC3 48000 Hz 2 channels 192 kbps idx=2 id=0102 spa]{SeriesInfoID=186368}] \\htpc\tv\Wipeout - S02E17 - 42895754-0.ts, Seg0[Thu 8/26 23:30:00.002-Fri 8/27 0:30:00.012]]
Sat 8/28 4:46:17.097 [Ministry@159a5a7] Error instantiating metadata parser plugin of: java.lang.UnsupportedClassVersionError: jvl/mediaformat/MediaFormatParserPlugin : Unsupported major.minor version 52.0
Sat 8/28 4:46:17.097 [Ministry@159a5a7] Now using external format detector for: \\htpc\tv\Wipeout - S02E17 - 42895754-0.mkv
Java major version 52 = Java 8
Java major version 51 = Java 7

So there is a hard requirement for Java 8 in order for this plugin to work?

Does that need to be added to the FAQ on the first page of this forum thread?

I mentioned in a few posts up that I use Java 7. I had to switch to Java 8 just to get plugins to show up and install. But had problems tuning any channels on my HDHR with Java 8 so I had to go back to Java 7.
__________________
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

Last edited by CptKirk; 08-28-2021 at 10:52 AM.
Reply With Quote
  #156  
Old 08-28-2021, 11:35 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by CptKirk View Post
I rebooted the sage machine and checked the log files...



And if it tries to get called to check a file I see this:



Java major version 52 = Java 8
Java major version 51 = Java 7

So there is a hard requirement for Java 8 in order for this plugin to work?

Does that need to be added to the FAQ on the first page of this forum thread?

I mentioned in a few posts up that I use Java 7. I had to switch to Java 8 just to get plugins to show up and install. But had problems tuning any channels on my HDHR with Java 8 so I had to go back to Java 7.
You have to make sure that the version of OPENDCT matches the Last Java you Install ... 32 bit or 64 bit. The last Java Installed will be the one that will be placed in environment variables.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #157  
Old 08-28-2021, 02:25 PM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
nyplayer, thanks for the suggestion.

I have OpenDCT_0.5.32_x86 installed on my Win7 64 with SageTV 32.

I've played around with uninstalling/installing Java 7 32 and 64, also Java 8 32 and 64.

I've found that for the Media Format Parser Plugin 32 that it will show as failed whether Java 7 32 or 64 is installed last.

I've found that for the Media Format Parser Plugin 32 that it will show as enabled whether Java 8 32 or 64 is installed last.

So for me, at least, it is looking like Java 8 is needed for the Media Format Parser Plugin to work.

But I get 'No signal found' when trying to tune any channel with Java 8 installed.

I guess I'm going to try and install Java 8 and try and find out why I cannot tune any channels. If I can get that bug on my side fixed I should be good to go.
__________________
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
  #158  
Old 08-28-2021, 02:57 PM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
So I uninstalled:

jre-7u80-windows-i586
jre-7u80-windows-x64

And installed only:

jre-8u301-windows-i586

Right now it is looking like the plugins are working ok (all showing as enabled) and I am able to tune to any of my channels.

It is only when I have both:

jre-8u301-windows-x64
jre-8u301-windows-i586

installed that it looks like I had problems tuning channels (I had installed them in that order).

I'm not planning on digging more into this unless I encounter any other issues.
__________________
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
  #159  
Old 11-04-2021, 09:35 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
Media Format Parser Plugin processing problem?

Hi Josh,

Had this in its own topic but wanted to post here in case you have a bit of time to look at it (https://forums.sagetv.com/forums/showthread.php?t=66769)

I rip all my DVDs to MP4 files using Handbrake. I also create .properties and .jpg files for the video. Been doing that for years with no problems.

But the last one I just did this week is acting strange.

When I start it up the timeline at the bottom shows 0:00:00 to 0:00:00 and the play triangle is all the way to the right side of the timeline showing 0:00 (see attached image).

It will play all the way through ok, but if I touch the FF/RW/Skip buttons it just jumps back to the beginning of the movie.

I've removed the video from my video folder, rescanned media, check SageTV and see it is gone, copied it back to my video folder, rescanned media, it is now back.

But it still keeps doing the same thing.

.....

Dug into this a bit more today after ripping two more DVDs and seeing the same problem.

I just did one more and immediately afterward grabbed the sage log files.

I noticed that all my rips and imports of .mp4 files before 7/6/21 are good. The four now after that have the 0:00:00 problem.

I update my system on 6/30/21 with:

- SageTV x32 9.1.9 to SageTV x32 9.2.5
- OpenDCT 0.5.29 to OpenDCT 0.5.32

I then updated my system on 7/16/21 with:

- SageTVTranscoder Plugin x64 1.0.5 (2021-04-30)
- Media Format Parser Plugin Windows x32 0.7 (2021-03-30)

I did a rip/import on 7/6/21 that went ok with no problems.

So I'm thinking something is happening during detection.

After I dropped the Equalizer (2014).mp4 file into my DVD directory I went to sagetv and did a Setup-Scan Imported Media. This is what the log file showed happened, with an error in MediaFormatParserPlugin.

Quote:
Sat 8/28 20:17:14.924 [LibraryImporter@1a461f3] Starting to scan lib import root: \\KJCUBED4\Videos\Videos
Sat 8/28 20:17:15.289 [LibraryImporter@1a461f3] testFile=Equalizer (2014).mp4
Sat 8/28 20:17:15.293 [LibraryImporter@1a461f3] Using the format detector plugin
Sat 8/28 20:17:15.293 [LibraryImporter@1a461f3] MediaFormatParserPlugin processing: \\KJCUBED4\Videos\Videos\DVD\Equalizer (2014).mp4
Sat 8/28 20:17:15.294 [LibraryImporter@1a461f3] There was an unhandled exception processing the file: Equalizer (2014).mp4 Error opening file. ffmpeg error code: -22
Sat 8/28 20:17:15.294 [LibraryImporter@1a461f3] java.lang.RuntimeException: Error opening file. ffmpeg error code: -22
Sat 8/28 20:17:15.294 [LibraryImporter@1a461f3] at jvl.FFmpeg.jni.AVFormatContext.buildAVFormatInputContext(AVFormatContext.java:40)
Sat 8/28 20:17:15.294 [LibraryImporter@1a461f3] at jvl.mediaformat.MediaFormatParserPlugin.parseFormat(MediaFormatParserPlugin.java:150)
Sat 8/28 20:17:15.294 [LibraryImporter@1a461f3] at sage.media.format.FormatParser.getFileFormat(FormatParser.java:200)
Sat 8/28 20:17:15.294 [LibraryImporter@1a461f3] at sage.Wizard.addMediaFile(Wizard.java:3560)
Sat 8/28 20:17:15.294 [LibraryImporter@1a461f3] at sage.Seeker.importLibraryFiles(Seeker.java:1570)
Sat 8/28 20:17:15.295 [LibraryImporter@1a461f3] at sage.Seeker.importLibraryFiles(Seeker.java:1496)
Sat 8/28 20:17:15.295 [LibraryImporter@1a461f3] at sage.Seeker.importLibraryFiles(Seeker.java:1259)
Sat 8/28 20:17:15.295 [LibraryImporter@1a461f3] at sage.Seeker.access$700(Seeker.java:51)
Sat 8/28 20:17:15.295 [LibraryImporter@1a461f3] at sage.Seeker$1.run(Seeker.java:962)
Sat 8/28 20:17:15.295 [LibraryImporter@1a461f3] at sage.Pooler$PooledThread.run(Pooler.java:254)
Sat 8/28 20:17:15.295 [LibraryImporter@1a461f3] MediaFormatParserPlugin processing complete: \\KJCUBED4\Videos\Videos\DVD\Equalizer (2014).mp4
Sat 8/28 20:17:15.295 [LibraryImporter@1a461f3] Now using external format detector for: \\KJCUBED4\Videos\Videos\DVD\Equalizer (2014).mp4
Sat 8/28 20:17:17.133 [ErrorStreamConsumer@13c2c4e] NOTICE: Forcibly terminating spawned process due to runaway memory detection!
Sat 8/28 20:17:17.149 [LibraryImporter@1a461f3] File Format Parsed \\KJCUBED4\Videos\Videos\DVD\Equalizer (2014).mp4=Quicktime 0:00:00 0 kbps [{Description=A man who believes he has put his mysterious past behind him cannot stand idly by when he meets a young girl under the control of ultra-violent Russian gangsters., Year=2014, Actor=Denzel Washington, Marton Csokas, Chloe Grace Moretz, Rated=R, Genre=a_DVD, Adventure, Drama, Mystery, Sci-Fi, Thriller, MyMoviesFile=true, Title=Equalizer, Director=Antoine Fuqua, RunningTime=7920000}]
Sat 8/28 20:17:17.153 [LibraryImporter@1a461f3] Added:MediaFile[id=43052967 A[43052971,43052969,"Equalizer",0@0828.19:27,0,V] mask=V host=HTPC encodedBy= format=Quicktime 0:00:00 0 kbps [{Actor=Denzel Washington, Marton Csokas, Chloe Grace Moretz, MyMoviesFile=true, Director=Antoine Fuqua}] \\KJCUBED4\Videos\Videos\DVD\Equalizer (2014).mp4, Seg0[Sat 8/28 19:27:15.173-Sat 8/28 19:27:15.174]] num=24234
Sat 8/28 20:17:17.154 [LibraryImporter@1a461f3] New Library File MediaFile[id=43052967 A[43052971,43052969,"Equalizer",0@0828.19:27,0,V] mask=V host=HTPC encodedBy= format=Quicktime 0:00:00 0 kbps [{Actor=Denzel Washington, Marton Csokas, Chloe Grace Moretz, MyMoviesFile=true, Director=Antoine Fuqua}] \\KJCUBED4\Videos\Videos\DVD\Equalizer (2014).mp4, Seg0[Sat 8/28 19:27:15.173-Sat 8/28 19:27:15.174]]
I add two pictures I took inside SageTV.

Good format detection.jpg: You will see at the bottom in the Format section it shows Quicktime and a whole bunch of details.

Bad format detection.jpg: You will see at the bottom in the Format section it just shows Quicktime, and nothing else.

All four dvd rips that have the 0:00:00 mess up are like the Bad format detection.jpg.
Attached Images
File Type: jpg 000.jpg (49.6 KB, 56 views)
File Type: jpg Good format detection.jpg (79.0 KB, 54 views)
File Type: jpg Bad format detection.jpg (79.8 KB, 46 views)
__________________
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
  #160  
Old 11-04-2021, 10:46 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by CptKirk View Post
Hi Josh,

Had this in its own topic but wanted to post here in case you have a bit of time to look at it (https://forums.sagetv.com/forums/showthread.php?t=66769)

I rip all my DVDs to MP4 files using Handbrake. I also create .properties and .jpg files for the video. Been doing that for years with no problems.

But the last one I just did this week is acting strange.

When I start it up the timeline at the bottom shows 0:00:00 to 0:00:00 and the play triangle is all the way to the right side of the timeline showing 0:00 (see attached image).

It will play all the way through ok, but if I touch the FF/RW/Skip buttons it just jumps back to the beginning of the movie.

I've removed the video from my video folder, rescanned media, check SageTV and see it is gone, copied it back to my video folder, rescanned media, it is now back.

But it still keeps doing the same thing.

.....

Dug into this a bit more today after ripping two more DVDs and seeing the same problem.

I just did one more and immediately afterward grabbed the sage log files.

I noticed that all my rips and imports of .mp4 files before 7/6/21 are good. The four now after that have the 0:00:00 problem.

I update my system on 6/30/21 with:

- SageTV x32 9.1.9 to SageTV x32 9.2.5
- OpenDCT 0.5.29 to OpenDCT 0.5.32

I then updated my system on 7/16/21 with:

- SageTVTranscoder Plugin x64 1.0.5 (2021-04-30)
- Media Format Parser Plugin Windows x32 0.7 (2021-03-30)

I did a rip/import on 7/6/21 that went ok with no problems.

So I'm thinking something is happening during detection.

After I dropped the Equalizer (2014).mp4 file into my DVD directory I went to sagetv and did a Setup-Scan Imported Media. This is what the log file showed happened, with an error in MediaFormatParserPlugin.



I add two pictures I took inside SageTV.

Good format detection.jpg: You will see at the bottom in the Format section it shows Quicktime and a whole bunch of details.

Bad format detection.jpg: You will see at the bottom in the Format section it just shows Quicktime, and nothing else.

All four dvd rips that have the 0:00:00 mess up are like the Bad format detection.jpg.
Interesting error, and you are correct. It looks like ffmpeg from my plugin is throwing an error when it is trying to detect the format. Is there a possibility you could get me a exact copy of the file to try and debug.

One thing you can try on your own to further debug, is you can temporarily disable the format detector plugin from the plugins configuration screen. This will all the SageTVTranscoder to do the detection. Than try an reimport the file. It would be interesting to know if you get a different result.

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.