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
  #21  
Old 07-21-2008, 10:04 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by babgvant
The method I talked about will work with some filters but it's highly dependent on IntelligentConnect working, and it won't support resizing unless the encoder does the scaling. So it should work, but it's not a perfect solution.

I'm modifying the action that allows an explicit graph to build in DTB to support non-dvrms files. When it's ready I'll provide everything to make it work (stub, profile, directions), assuming I can get it going with a free set of filters (probably AVIVO). I've got a test file, but I didn't have time to mess over the weekend; hopefully tonight.

1.2.x.x is intended for Vista because one of the features specifically targets the WMC; I'll probably remove this requirement if I replatform on Sage.
Quote:
Originally Posted by Eckwell View Post
This sounds like a great possibility... thank you so much for trying to come up with a working solution. If you need assistance with testing, etc, I can give it a try too...
Ditto. I'm available to test, document or whatever as well. And thanks for your work on this!!!
Reply With Quote
  #22  
Old 07-21-2008, 07:37 PM
ghostlobster's Avatar
ghostlobster ghostlobster is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 340
Send a message via MSN to ghostlobster
Quote:
Originally Posted by babgvant View Post
The method I talked about will work with some filters but it's highly dependent on IntelligentConnect working, and it won't support resizing unless the encoder does the scaling. So it should work, but it's not a perfect solution.

I'm modifying the action that allows an explicit graph to build in DTB to support non-dvrms files. When it's ready I'll provide everything to make it work (stub, profile, directions), assuming I can get it going with a free set of filters (probably AVIVO). I've got a test file, but I didn't have time to mess over the weekend; hopefully tonight.

1.2.x.x is intended for Vista because one of the features specifically targets the WMC; I'll probably remove this requirement if I replatform on Sage.

...dude!
Reply With Quote
  #23  
Old 07-23-2008, 08:20 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Got it working with AVIVO, but the file writer filter is exclusively locking the file, so it can't be scanned during conversion.

I remember seeing some mpeg encoder and writer filters on my sage box that came with the install so I'm going to give that a go next.
Reply With Quote
  #24  
Old 07-23-2008, 08:33 AM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
Great! and thanks so much in advance for working on this!
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
Reply With Quote
  #25  
Old 07-26-2008, 09:14 AM
jelwood jelwood is offline
Sage User
 
Join Date: Dec 2007
Posts: 74
Quote:
Originally Posted by erik View Post
Do you downscale the MPEG output? Comskip would only need 320x200 to do its job
erik, how important is the audio stream to comskip? I'm asking because I have this almost working with a modified version of ffmpeg. However, I'm having a difficult time getting good Audio/Video sync. As a result the audio stream gradually gets farther and farther behind the video stream. Of course, I could just convert the video, but I'm not sure how accurate the commercial detection would be without the audio stream. I might try modifying Mencoder and see if it can compensate for the AV sync a little better.

For your general knowledge, Comskip can read the ffmpeg output file as it's being created. I haven't tried having ffmpeg read the .ts file as Sage creates it, but since you mentioned this was a problem, I decided to save this for last (I just need to get a show to convert first).
Reply With Quote
  #26  
Old 07-26-2008, 09:20 AM
Sam Sam is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 110
Quote:
Originally Posted by jelwood View Post
However, I'm having a difficult time getting good Audio/Video sync.
Have you tried adding -async 1 to the ffmpeg command line?
Reply With Quote
  #27  
Old 07-26-2008, 10:19 AM
jelwood jelwood is offline
Sage User
 
Join Date: Dec 2007
Posts: 74
Quote:
Originally Posted by Sam View Post
Have you tried adding -async 1 to the ffmpeg command line?
Yea, I tried that, along with all the other options I could think of. If you would like to play around with it, below is a download link to my build of ffmpeg (this at least reads the x264 stream correctly).
http://home.mchsi.com/~jelwood/ffmpeg.zip

It looks like the faad library is throwing errors on the audio stream so I'm sure that is what's causing the AV sync issues.

Below is the command line that gave me minor success.

ffmpeg -benchmark -y -threads 2 -i "inputfilename.ts" -s 320x240 -copyts -vcodec mpeg2video -b 256k -acodec mp2 -ac 2 -ar 44100 -ab 64k "outputfilename.mpg"
Reply With Quote
  #28  
Old 07-26-2008, 10:27 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Quote:
Originally Posted by jelwood View Post
erik, how important is the audio stream to comskip?
It depends.
In general it is very important for not getting false cuts.
Without audio (that is correctly aligned audio) it may only deliver acceptable results on some USA channels.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #29  
Old 07-31-2008, 12:09 PM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
Hey folks... How is development coming?
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
Reply With Quote
  #30  
Old 07-31-2008, 02:28 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Jelwood got it working with the development build of DVRMSToolbox using AVIVO, ArcSoft, and MpgDump filters. It is very CPU intensive though...

I hope to make it all public this weekend, or maybe next week sometime.
Reply With Quote
  #31  
Old 07-31-2008, 02:32 PM
sic0048 sic0048 is offline
Sage Icon
 
Join Date: Nov 2007
Posts: 1,400
Care to guess what kind of CPU is going to be required? Are we talking Quad Core only CPU intensive or do you think most dual core machines will be able to handle it?

I think it is safe to say that my 600Mhz Duron machine is out (yes I have one and yes we still use it).
__________________
i7-6700 server with about 10tb of space currently
SageTV v9 (64bit)
Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable)
OpenDCT
HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party)
Amazon Firestick 4k and Nvidia Shield using the MiniClient
Using CQC to control it all
Reply With Quote
  #32  
Old 08-04-2008, 11:35 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
It's avaliable - http://babgvant.com/blogs/andyvt/arc...c-release.aspx

To make it work you will need:
- AVIVO (there are other options, but this is the way it's setup OOTB)
- ArcSoft
- Create a Processing Condition that runs "convertforscaning" on the .ts file (triggering off of the fileext is probably the best way)

I think/hope a dual core should be enough for one stream, but my HD-PVR hasn't gotten here yet (later today ) so I can't say for sure. If the box can't handle live convert/scan DTB is configured OOTB to delay processing until recording is done.
Reply With Quote
  #33  
Old 08-04-2008, 11:57 AM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
Forgive me if this is stupid, is AVIVO only for ATI cards and not nvidia?
__________________
Rack Server: WHS Intel Quad Core, 3GB RAM, 3 HD PVRs, 4.5TB Storage and growing.
Rack Server: Dual Core 2.0Ghz, 320GB - Home Automation/Security/SQL Server
Client 1: HD Extender on 42" Samsung 1080P LCD and 92" Epson 1080p Projector.
Gaming Rig:Q6600 Quad O/C to 2.8ghz, 4GB DDR2 1066 RAM, Geforce 8600GTS
Misc: Onkyo TX-SR705 Receiver, Netgear Pro Safe 16port Gig Switch, Cat6 cabling, Linksys WRT54G running tomato firmware
Reply With Quote
  #34  
Old 08-04-2008, 02:39 PM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
Thanks for your efforts! unfortunately, I am at a bit of a loss...

I downloaded AVIVO, have Arcosft, and downloaded the DVRMSTool. What to do next. I notice previously in the thread discussions of needed to set up a graph file, but I wanted to understand what needed to be done to test this out. Thanks for your help!
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
Reply With Quote
  #35  
Old 08-04-2008, 03:21 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by killervette View Post
Forgive me if this is stupid, is AVIVO only for ATI cards and not nvidia?
When you try to install it checks for the VC. After it fails (if you don't have an ATI card) drill into the folder that it extracted itself to and find the AVIVO.msi
(C:\ATI\SUPPORT\8-1_xp_xcode_57717\AVIVO) and run that.
Reply With Quote
  #36  
Old 08-04-2008, 04:16 PM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
will this work on Server 2003?
__________________
Rack Server: WHS Intel Quad Core, 3GB RAM, 3 HD PVRs, 4.5TB Storage and growing.
Rack Server: Dual Core 2.0Ghz, 320GB - Home Automation/Security/SQL Server
Client 1: HD Extender on 42" Samsung 1080P LCD and 92" Epson 1080p Projector.
Gaming Rig:Q6600 Quad O/C to 2.8ghz, 4GB DDR2 1066 RAM, Geforce 8600GTS
Misc: Onkyo TX-SR705 Receiver, Netgear Pro Safe 16port Gig Switch, Cat6 cabling, Linksys WRT54G running tomato firmware
Reply With Quote
  #37  
Old 08-04-2008, 06:15 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by Eckwell View Post
Thanks for your efforts! unfortunately, I am at a bit of a loss...

I downloaded AVIVO, have Arcosft, and downloaded the DVRMSTool. What to do next. I notice previously in the thread discussions of needed to set up a graph file, but I wanted to understand what needed to be done to test this out. Thanks for your help!
You don't need to build the graph anymore.

Open the Processing Conditions Editor, create a new Processing Condition that evaluates FileExt = .ts, set it to run convertforscanning, then set that PC above Every Sage File.
Reply With Quote
  #38  
Old 08-04-2008, 06:16 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by killervette View Post
will this work on Server 2003?
It should. Jelwood is running it on WHS, which is based on w2k3 SBS.
Reply With Quote
  #39  
Old 08-04-2008, 08:06 PM
jelwood jelwood is offline
Sage User
 
Join Date: Dec 2007
Posts: 74
Quote:
Originally Posted by babgvant View Post
It should. Jelwood is running it on WHS, which is based on w2k3 SBS.
Yes, it should work on Windows 2003 server. As Babgvant said, I'm running it with WHS. Also, it is VERY CPU intensive, so you can really only detect the commercials on one stream at a time. However, I do have this working with an AMD X2 4200+.

Also, I saw questions about the AVIVO codecs. If you don't have an ATI card the installation is a little more difficult (follow babgvant's instructions), however, the AVIVO codecs do work even if you don't have an ATI card (I'm running them with a NVIDIA).

Good luck, it's really nice to have commercial skip working with the HD-PVR files.

Thanks Babgvant for creating this!
Reply With Quote
  #40  
Old 08-05-2008, 08:50 AM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
cool...im using WHS too. also, can this be scheduled to run over night.? i use the server to stream to extenders among other things.
__________________
Rack Server: WHS Intel Quad Core, 3GB RAM, 3 HD PVRs, 4.5TB Storage and growing.
Rack Server: Dual Core 2.0Ghz, 320GB - Home Automation/Security/SQL Server
Client 1: HD Extender on 42" Samsung 1080P LCD and 92" Epson 1080p Projector.
Gaming Rig:Q6600 Quad O/C to 2.8ghz, 4GB DDR2 1066 RAM, Geforce 8600GTS
Misc: Onkyo TX-SR705 Receiver, Netgear Pro Safe 16port Gig Switch, Cat6 cabling, Linksys WRT54G running tomato firmware
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
Connecting HD PVR to computer johnwmreed Hardware Support 9 08-01-2008 08:40 AM
Odd squeaky audio after HD commercial skip on MVP jhkoenig SageTV Media Extender 3 04-20-2008 10:48 AM
"Live" commercial skip with SageMC? jelwood SageMC Custom Interface 5 03-03-2008 04:00 PM
Commercial skipping for h.264 using trancoded files to generate .edl? Slipshod SageTV Customizations 10 03-03-2008 01:15 AM
I'm missing the toggle switch for commercial skip... Coastal SageTV Customizations 2 02-04-2008 12:33 AM


All times are GMT -6. The time now is 09:43 AM.


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