SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-07-2010, 11:08 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
HDPVR Commercial Detection

I've been using ShowAnalyzer 1.0 for commercial detection. Previously I was using the donator version of comskip for this purpose but I switched due to the fact that SA is MUCH faster. With both programs I've always had the issue of the detected commercial segments being off by a small amount. Sometimes several seconds. Enough that it is quite noticeable.

Well, today I was playing around some more with SAV1 and was playing the program as it was being recorded and simultaneously being detected. While it was still being recorded the commercial segments were dead-on accurate but as soon as it completed the segments were off. If I run SAV1 on a file that has already completed the segments will be off.

This means one of two things. Either the timing for completed HDPVR recordings off by a small amount or SAV1 isn't detecting the timing correctly. Since I had the same problem with both comskip and SAV1 I'm tending to lean more towards it being a playback timing problem in SageTV. My brain can't seem to explain it any other way. SageTV has no problems with the EDL files created for my HDHR recordings. Only my HDPVR recordings are affected.

BTW, using my HD100 and SageTV Client for playback. Both are affected the same.

I'm currently troubleshooting this with Jere and made a support request with SageTV. Just wondering what other's experience is with this?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #2  
Old 05-07-2010, 11:16 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
how do the commercials line up in VRD? If they are accurate in VRD then (I think) that would point to a problem in SageTV in either how its calculating the timestamp (is it from the beginning of the file, the airing start time (with/without padding), etc) or is the logic that the STVi uses to turn the edl timestamps into jump points wrong?
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #3  
Old 05-07-2010, 11:36 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
It seems unlikely that the STVi (or SageMC's built in edl parsing) would be wrong on .ts HDPVR edl files but right on .mpg HDHR .edl files....

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #4  
Old 05-07-2010, 11:40 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by bialio View Post
It seems unlikely that the STVi (or SageMC's built in edl parsing) would be wrong on .ts HDPVR edl files but right on .mpg HDHR .edl files....

btl.
agreed (i would even say highly unlikely) but it is something to (mildly) consider...
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #5  
Old 05-07-2010, 12:01 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Taddeusz - how long are you seeing SAV1 taking on HDPVR recordings?

I also notice that the commercial breaks are usually off - they end early usually - so that if I skip ahead I get the last bit of commercials before the show resumes. I never actually look closely at where the commercial break _starts_ - since I don't have the auto-skip turned on it doesn't really impact me if the front part of the break is off a little.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #6  
Old 05-07-2010, 12:09 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Depends, I think about 5-10min for a 30min recording and about 10-20min for an hour long one. But I usually have it do live detection using SJQ which is how I discovered that the segments were dead-on while still recording.

The segments always start early and end early. The amount of time is variable.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #7  
Old 05-07-2010, 12:18 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Ok, had to do a few things. Downloaded and installed the beta version of VRD v4 and set SAV1 to create vprj files. In VRD the commercial segments are dead-on accurate but in SageTV they are off.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #8  
Old 05-07-2010, 12:19 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
That tracks on all points with what I'm seeing - about 20 minutes for an hour. Do you find that SAV1 is fast enough to keep up when you are viewing live? It would appear that based purely on numbers it can - ie it can process 3 hour long shows in 60 minutes of real time, but I don't know if the output while live really tracks at that speed......
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #9  
Old 05-07-2010, 12:20 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by Taddeusz View Post
The segments always start early and end early. The amount of time is variable.
Quote:
Originally Posted by Taddeusz View Post
Ok, had to do a few things. Downloaded and installed the beta version of VRD v4 and set SAV1 to create vprj files. In VRD the commercial segments are dead-on accurate but in SageTV they are off.
then to me that means that sage is somehow mangling the current time into the mediafile....

are the commercials off the same amount through the show, or do they get progressively worse with each commercial?
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer

Last edited by razrsharpe; 05-07-2010 at 12:22 PM.
Reply With Quote
  #10  
Old 05-07-2010, 12:22 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by bialio View Post
but I don't know if the output while live really tracks at that speed......
why wouldn't it? its detecting faster then real-time so i think its a safe assumption that it should be able to keep up in real-time with a recording in progress (obviously delayed by a couple secs)
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #11  
Old 05-07-2010, 12:23 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Quote:
are the commercials off the same amount through the show, or do they get progressively worse?
what a good question - I like the way you think. For me they get progressively worse - the first commercial break is usually right on.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #12  
Old 05-07-2010, 12:24 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by Taddeusz View Post
Depends, I think about 5-10min for a 30min recording and about 10-20min for an hour long one.
maybe i should give the new sav1 a go... currently im using comskip and i think it takes about an hour processing for an hour show (at least the last time i checked)...
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #13  
Old 05-07-2010, 12:25 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
When I've watched SAV1 doing it's thing (yes I was bored out of my mind ) it seemed like it would make it all the way through the file and then backtrack some (based on the percent done meter) so I'm not sure if it actually depends on there being a complete file to figure out all of whatever it's figuring out.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #14  
Old 05-07-2010, 12:27 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by bialio View Post
That tracks on all points with what I'm seeing - about 20 minutes for an hour. Do you find that SAV1 is fast enough to keep up when you are viewing live? It would appear that based purely on numbers it can - ie it can process 3 hour long shows in 60 minutes of real time, but I don't know if the output while live really tracks at that speed......
Yes, I think it's probably fast enough to keep up with live viewing. That really depends on your processor though. I have a 2.33Ghz C2D E6550. But I also limit SAV1 to 8MB/s. That allows it to be a little faster than real-time but not use a whole lot of CPU or disk access.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #15  
Old 05-07-2010, 12:30 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by bialio View Post
what a good question - I like the way you think. For me they get progressively worse - the first commercial break is usually right on.

btl.
Yea, I agree... unless the beginning of the recording is a different resolution the first ad break is the closest to being correct and they progressively get further off.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #16  
Old 05-07-2010, 12:30 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
I've got a 2.9Ghz AMD of some variety or the other - how do you set the limit in SAV1? I know there's a spot in the UI about disk access (default value appears to be 15?) - is that what you change to 8?
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #17  
Old 05-07-2010, 12:38 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by bialio View Post
I've got a 2.9Ghz AMD of some variety or the other - how do you set the limit in SAV1? I know there's a spot in the UI about disk access (default value appears to be 15?) - is that what you change to 8?
Yes, you can limit it globally and per instance, or both. I have mine limited per instance.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #18  
Old 05-07-2010, 12:44 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
and mpgs are always correct? And how far off are they by the end?

To me that means that perhaps sage is incorrectly calculating the current time into the file for ts files (GetMediaTime)... maybe the difference between 29.97 and 30 fps (108 frames for 1 hr of video... or ~3.6 secs)
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #19  
Old 05-07-2010, 01:07 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Ok, I have a 30min recording that the end of the last commercial segment ends about 12 seconds too early
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #20  
Old 05-07-2010, 01:09 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Then I have a 1hr recording that is only about 8sec off at the end.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
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 detection myoung84 SageTV Customizations 25 02-11-2008 10:01 PM
HW req for commercial detection hedlung SageTV Customizations 4 03-15-2007 08:58 AM
Lost Commercial Detection AWS SageTV Customizations 2 05-12-2006 08:37 PM
commercial detection options AHX SageTV Customizations 5 04-11-2006 11:38 AM
Best Commercial Detection kaudley SageTV Customizations 7 02-02-2006 04:29 PM


All times are GMT -6. The time now is 01:27 PM.


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