SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-27-2008, 10:40 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
comskip vs SA - results

Running the latest versions of both, I decided to see which is most accurate at the moment. The output below is from the .edl files generated by comskip 0.80.008 and SA Version 1.0.19.604.

On an episode of Bones (HD 720p, mpg from FOX) here are the results:

comskip
Code:
5.00         133.52	0
609.43       750.20	0
1259.74     1471.85	0
2019.88     2235.92	0
2677.96     2910.22	0
3154.20     3307.19	0
3734.81     3771.55	0
3839.20     3839.22	0
SA
Code:
0.00300833     137.565	0
604.587        754.554	0
1254.72       1475.37	0
2014.78       2179.77	0
2193.11       2239.83	0
2677.89       2913.31	0
3148.65       3310.6	0
3729.71       3769.7	0
3837.97       3837.97	0
I've got COMSKIP set for 5 seconds padding. So as you can tell, the results are almost identical. ShowAnalyzer had 1 false positive (2179.x to 2193.x marked incorrectly as part of the show). So for mpeg it's pretty much a draw as far as I am concerned.

For h.264 HD programming, the tale isn't as pretty.

This is a 1080i recording of Stargate Atlantas, from HD-PVR.

comskip:
Code:
    5.00     2.90	0
 259.33    374.34	0
1071.50   1121.45	0
1728.09   1806.81	0
2364.93   2538.17	0
3135.80   3185.95	0
3565.96   3597.46	0
SA:
Code:
2.44643    7.6303 0
204.315   403.169 0
6670.72   6670.72 0
Quite clearly comskip did better on the H264 - but it took forever. It seemed like it was processing about 25 frames / sec (while mpeg2 galloped along at about 325 frames / sec).

This was running on a C2D based machine (E4300) overclocked up to 2.6 GHz.

So for now I think I'll let comskip take care of my commercial processing - Jere has said that the detection "sucks" in SA currently, so I'm sure he's working on fixing it. I think erik knows comskip is slow also. So that's the state of things as I see them now.....

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #2  
Old 12-28-2008, 07:32 AM
Djc208's Avatar
Djc208 Djc208 is offline
Sage Expert
 
Join Date: Feb 2007
Location: SE Virginia
Posts: 674
Quote:
Originally Posted by bialio View Post
Quite clearly comskip did better on the H264 - but it took forever. It seemed like it was processing about 25 frames / sec (while mpeg2 galloped along at about 325 frames / sec).

This was running on a C2D based machine (E4300) overclocked up to 2.6 GHz.
And 80.008 has a 2x speed increase for h.264! I haven't timed mine but I know it took days of running to get through all my h.264 recordings (maybe 12~15) on top of the MPEG stuff that was being recorded. Shows how brutal h.264 is. Glad to see I'm good staying where I'm at though. Thanks for the info.

I'd love to see this stuff get moved to GPU computing but we're a long way off from that.
__________________
Server: Core 2 Duo E4200 2 GB RAM, nVidia 6200LE, 480 GB in pool, 500GB WHS backup drive, 1x750 GB & 1x1TB Sage drives, Hauppage HVR-1600, HD PVR, Windows Home Server SP2
Media center: 46" Samsung DLP, HD-100 extender.
Gaming: Intel Core2 Duo E7300, 4GB RAM, ATI HD3870, Intel X-25M G2 80GB SSD, 200 & 120 GB HDD, 23" Dell LCD, Windows 7 Home Premium.
Laptop: HP dm3z, AMD (1.6 GHz) 4 GB RAM, 60 GB OCZ SSD, AMD HD3200 graphics, 13.3" widescreen LCD, Windows 7 x64/Sage placeshifter.
Reply With Quote
  #3  
Old 12-28-2008, 10:49 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by bialio View Post
...but it took forever. It seemed like it was processing about 25 frames / sec (while mpeg2 galloped along at about 325 frames / sec).

This was running on a C2D based machine (E4300) overclocked up to 2.6 GHz.

So for now I think I'll let comskip take care of my commercial processing - Jere has said that the detection "sucks" in SA currently, so I'm sure he's working on fixing it. I think erik knows comskip is slow also. So that's the state of things as I see them now.....

btl.
Yeah it is quite slow, but I think I saw a comment from Erik about working on a '5x' improvement in processing speed coming.

Quote:
Originally Posted by Djc208 View Post
I'd love to see this stuff get moved to GPU computing but we're a long way off from that.
Yeah, I've got mixed feelings on that. It sounds great at first, but then again, if you run comskip on the server (ideally) why would you put a good/expensive GPU in it?

I do have an overall hint for those of you who are using the H.264 processors. First off, cudos to Jere for his great Dirmon2.

The problem is, as noted, h.264 detection takes forever, as such it was monopolizing all my processing time and causing my "quick" mpeg-2 recordings to never get processed, due to a backlog of H.264 recoridings. So my solution was this:

  • Create 2 Jobs, one for H.264 and one for MPEG-2, this is really quite easy for HD PVR users as the HD PVR recordings are ts, and everything else is mpg.
  • Set the H.264 Job to require "51 resources" this effectively prevents two H.264 jobs from running at a time (or for the more general case you set it to 100/n+1, where n is the number of cores)
  • Set the MPEG-2 job to "49 resources" (or 100/n-1), this allows two MPEG-2 jobs to run at a time, but also allows an MPEG-2 job to be run if an H.264 job is running.
  • Since H.264 takes so long to process I changed the process priority to -1 so it processes the MPEG-2 first and oldest H.264 last.
Reply With Quote
  #4  
Old 12-28-2008, 07:43 PM
Djc208's Avatar
Djc208 Djc208 is offline
Sage Expert
 
Join Date: Feb 2007
Location: SE Virginia
Posts: 674
Quote:
Originally Posted by stanger89 View Post
Yeah, I've got mixed feelings on that. It sounds great at first, but then again, if you run comskip on the server (ideally) why would you put a good/expensive GPU in it?
I wouldn't put an expensive one in it but if the kind of speed improvements they keep talking about were real it might justify a lower end part. More realistically it would give me someplace to put my older card when I upgrade my existing GPU.

In many cases it could be cheaper than a quad core CPU and is about the only thing on my server that causes high useage. But if better code can do the same thing than it's a moot point.
__________________
Server: Core 2 Duo E4200 2 GB RAM, nVidia 6200LE, 480 GB in pool, 500GB WHS backup drive, 1x750 GB & 1x1TB Sage drives, Hauppage HVR-1600, HD PVR, Windows Home Server SP2
Media center: 46" Samsung DLP, HD-100 extender.
Gaming: Intel Core2 Duo E7300, 4GB RAM, ATI HD3870, Intel X-25M G2 80GB SSD, 200 & 120 GB HDD, 23" Dell LCD, Windows 7 Home Premium.
Laptop: HP dm3z, AMD (1.6 GHz) 4 GB RAM, 60 GB OCZ SSD, AMD HD3200 graphics, 13.3" widescreen LCD, Windows 7 x64/Sage placeshifter.
Reply With Quote
  #5  
Old 12-28-2008, 07:54 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Djc208 View Post
I wouldn't put an expensive one in it but if the kind of speed improvements they keep talking about were real it might justify a lower end part.
Yeah, the numbers just always seem disappointing on all but the highest-end cards.

Quote:
More realistically it would give me someplace to put my older card when I upgrade my existing GPU.
Well there's always that
Reply With Quote
  #6  
Old 12-29-2008, 10:53 PM
ghostlobster's Avatar
ghostlobster ghostlobster is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 340
Send a message via MSN to ghostlobster
I was debating which direction to go with commercial skipping for h.264. I had already paid for an SA license, but Jere was MIA, so I was really leaning towards Comskip. Well, I saw Jere come back about a week ago, so I figured I'd give SA Suite a shot, and actually, I've been pretty happy with it. OK, it's not perfect, but it's very good. I completely disagree with Jere's post when he said that commercial detection sucked. I've been happy!
The speed is just fine as well. It's nearly "real-time" in that a 1 hour program takes about an hour to process.
I really like the way that SA is shaping up for h.264. I'm sure that comskip is right on as well, but I have not tinkered with it for h.264 at all.
__________________
Ghostlobster
Server: Athlon 3000+, 1GB RAM, 2 Hauppauge 150s, HDHomeRun, HD-PVR driving 3 clients.
Client 1 - Athlon 4600 x2, 2 GB RAM, ATI HD2600 XT
Client 2 - Athlon 4200 x2, 1 GB RAM, ATI HD2400 Pro
Client 3 - Athlon 4200 x2, 1 GB RAM, nVidia 8500 GT

Raleigh Computer Repair
Reply With Quote
  #7  
Old 12-30-2008, 11:29 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Anybody figure out how to get the new SA to not install/run the whole "suite". I tried it a few times but I don't want to replace Dirmon.
Reply With Quote
  #8  
Old 12-30-2008, 01:15 PM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
Quote:
Originally Posted by stanger89 View Post
Anybody figure out how to get the new SA to not install/run the whole "suite". I tried it a few times but I don't want to replace Dirmon.
Just install it then set up your dirmon process to run ShowanalyzerENGINE.exe instead of showanalyzer.exe
Reply With Quote
  #9  
Old 12-30-2008, 02:23 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
See, and I thougth showanalyzerengine.exe was the new gui/scanner/deally.
Reply With Quote
  #10  
Old 12-31-2008, 11:24 AM
appelm appelm is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Chappaqua, NY
Posts: 323
Quote:
Originally Posted by stanger89 View Post
The problem is, as noted, h.264 detection takes forever, as such it was monopolizing all my processing time and causing my "quick" mpeg-2 recordings to never get processed, due to a backlog of H.264 recoridings. So my solution was this:

  • Create 2 Jobs, one for H.264 and one for MPEG-2, this is really quite easy for HD PVR users as the HD PVR recordings are ts, and everything else is mpg.
  • Set the H.264 Job to require "51 resources" this effectively prevents two H.264 jobs from running at a time (or for the more general case you set it to 100/n+1, where n is the number of cores)
  • Set the MPEG-2 job to "49 resources" (or 100/n-1), this allows two MPEG-2 jobs to run at a time, but also allows an MPEG-2 job to be run if an H.264 job is running.
  • Since H.264 takes so long to process I changed the process priority to -1 so it processes the MPEG-2 first and oldest H.264 last.
Are you using comskip monitor or something else?
Reply With Quote
  #11  
Old 12-31-2008, 11:25 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
related question, how do you set the process priority? I see some "queue" priority stuff in Dirmon2 for each job, but I can't find any documentation that says how it works....

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #12  
Old 12-31-2008, 11:41 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by appelm View Post
Are you using comskip monitor or something else?
Dirmon2

I think it always starts the "processor" at low or idle priority.
Reply With Quote
  #13  
Old 12-31-2008, 11:47 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Quote:
Since H.264 takes so long to process I changed the process priority to -1 so it processes the MPEG-2 first and oldest H.264 last.
That's the part I'm not sure how you accomplished.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #14  
Old 12-31-2008, 01:08 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Oh, I think I just set Queue Priority Boost/This Job to -1 for the H.264 job. Actually I think I might have set Older Targets to -1, I can't remember which for now.
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
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) JREkiwi SageTV Customizations 600 11-23-2011 07:58 AM
Sage TV partial recordings and Comskip garyellis SageTV Customizations 4 04-22-2009 04:33 PM
Question about comskip and showanalzyer TechBill SageTV Customizations 9 01-16-2009 08:56 AM
Is there a way to schedule comskip in MC? r00st3r SageTV Customizations 2 10-31-2008 09:58 AM
comskip help please eclas SageTV Customizations 8 09-28-2008 07:17 AM


All times are GMT -6. The time now is 04:01 AM.


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