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
  #41  
Old 08-05-2008, 09:11 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
If you've already installed DTB before now make sure you replace sagescan.dpc with this one. If you don't have a PC that matches ts files before the old version it was deleting the ts file.
Reply With Quote
  #42  
Old 08-05-2008, 09:34 AM
jelwood jelwood is offline
Sage User
 
Join Date: Dec 2007
Posts: 74
Quote:
Originally Posted by killervette View Post
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.
you can do this (actually this is exactly what I'm doing). However, it is a little more complex because you have to drive everything from a batch file instead of using Babgvant's nice FileWatcher tool. I've attached my batch file that I'm executing at 1:00am. This allows me to have "full speed" on the machine during the hours I'm using it and then at night process all these TS files so I have the commercials marked for the next day's viewing. Of course, you will have to make changes to the batch file to fit your purposes, but hopefully it gives you a template to work from. Also, since I'm not using FileWatcher on the TS files yet, I'm still using ComskipMonitor so I have the commercials marked on the normal MPG file right away. However, you could setup FileWatcher to do this task as well (with DTB now supporting Sage you don't need ComskipMonitor - I just haven't had time to move everything over to DTB (I will soon).
Attached Files
File Type: zip Process all ComSkip Files.zip (576 Bytes, 160 views)
Reply With Quote
  #43  
Old 08-05-2008, 12:59 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Thanks jelwood , for someone like me, who's never had any contact with DVRMSToolbox, that batch file makes the whole process much clearer.

John
Reply With Quote
  #44  
Old 08-05-2008, 01:04 PM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
I already have DirMon2 searching for .mpgs and running comskip, so is it safe to assume that as the mpg is creating withthe convert process, dirmon, after a bit, will kick off comskip in sort of an offset parallel processing? tus killing my CPU, but working?

I can't wait to try this... and THANKS for the batch file!!!
__________________
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
  #45  
Old 08-05-2008, 02:58 PM
jelwood jelwood is offline
Sage User
 
Join Date: Dec 2007
Posts: 74
Quote:
Originally Posted by Eckwell View Post
I already have DirMon2 searching for .mpgs and running comskip, so is it safe to assume that as the mpg is creating withthe convert process, dirmon, after a bit, will kick off comskip in sort of an offset parallel processing? tus killing my CPU, but working?
This is exactly what I wanted to avoid. So, if you look at my batch file, I'm actually writing the mpg file to a directory that Comskip monitor isn't monitoring. The after the mpg file is completed I run comskip against it. Finally, I copy the edl file into the correct directory and clean up the MPG file.

As I said, this isn't a simple process. It's actually simpler to use DTB as Babgvant intended and just use FileWatcher. However, for now, I didn't want these conversions running during the day when I might be using the server for other things.
Reply With Quote
  #46  
Old 08-05-2008, 04:43 PM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
ok, im alittle lost. I installed DVRMSToolbox, then i installed the AVIVO codecs. I added the Processing condition fileext=.ts. Now what? how do i start the processing?
__________________
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
  #47  
Old 08-05-2008, 04:58 PM
Apap's Avatar
Apap Apap is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: Florida
Posts: 216
Quote:
Originally Posted by killervette View Post
ok, im alittle lost. I installed DVRMSToolbox, then i installed the AVIVO codecs. I added the Processing condition fileext=.ts. Now what? how do i start the processing?
I am interested in checking this out as well. I found that Andy's Blog has quite a bit of useful information. There is even a link to a User Giude.

Hope this helps.
Reply With Quote
  #48  
Old 08-05-2008, 05:14 PM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
i saw that....i am still not sure its working. I assume it is not dependent on Sage tv running or settings on sage. Its stand alone and should find my .ts files in the watch directory i specify. Filewatcher is running, but nothing is happening.
__________________
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
  #49  
Old 08-05-2008, 05:20 PM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
One more question, is this setup suppose to convert .ts files to .mpg files? I found the gui and can convert for commercial scanning and it is changing my .ts to a .mpg. sorry for all the newbie questions. at this rate it will take HOURS to convert one file to mpg.
__________________
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
  #50  
Old 08-05-2008, 05:53 PM
jelwood jelwood is offline
Sage User
 
Join Date: Dec 2007
Posts: 74
Quote:
Originally Posted by killervette View Post
One more question, is this setup suppose to convert .ts files to .mpg files? I found the gui and can convert for commercial scanning and it is changing my .ts to a .mpg. sorry for all the newbie questions. at this rate it will take HOURS to convert one file to mpg.
if you want to see if you have the DirectShow stuff working correctly, then yes running the conversion using the DTB GUI is going to be the best way. Just process one of the TS files using the profile "Convert a file for commercial scanning". This is the process that will convert the TS into the MPG that comskip can read.

Also, yes it's slow... I have an AMD X2 4200+ and it is barely faster than real time. Anotherwords, on my system if I convert a 30 minute show it takes roughly 27 minutes to convert. That's why I decided to batch convert these things at night when I'm not using the machine for anything else.
Reply With Quote
  #51  
Old 08-05-2008, 06:08 PM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
perfect...it might take a couple days to catch me up and I have a quad core. not sure why filewatcher isnt starting automatically? thanks alot for your help
__________________
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
  #52  
Old 08-05-2008, 06:15 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by killervette View Post
ok, im alittle lost. I installed DVRMSToolbox, then i installed the AVIVO codecs. I added the Processing condition fileext=.ts. Now what? how do i start the processing?
use fileext contains .ts instead, there's a bug with equal and text values (fixed in the next rev).
Reply With Quote
  #53  
Old 08-05-2008, 06:19 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by killervette View Post
perfect...it might take a couple days to catch me up and I have a quad core. not sure why filewatcher isnt starting automatically? thanks alot for your help
the fw "listens" for files to be created in the watched folder. it only processes files when they are created.

if you want to catch up, you'll want to use a bat file with a for %% to process all the files that you have.

cmd line syntax:

dvrmstompeg.exe /if=pathtofile.ts /of=notreallyimportant.mpg /act=convertforscaning
Reply With Quote
  #54  
Old 08-05-2008, 07:36 PM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
ahh i see. thanks babgvant
__________________
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
  #55  
Old 08-05-2008, 07:38 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
There's a lot of documentation in the wiki - http://babgvant.com/Wiki/view.aspx/DVRMSToolbox
Reply With Quote
  #56  
Old 08-06-2008, 04:32 PM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
So, by default, this should be able to process live tv files created by the hd pvr?
__________________
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
  #57  
Old 08-06-2008, 07:25 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I'm interested in what else DTb can do for me. I don't have an HD-PVR at the moment and probably won't for a while, but the possibilities interest me.

I'm currently using Sage Job Queue with SA for my commercial detection. The problem with this is that it will only run one instance at a time. I'm not using DirMon2 because SA is currently doesn't work with the automatic profiles and I've got a couple of channels I don't want to look for commercials on and a couple of shows that need different configurations. Could DTb help me with this if all my files are mpg files and possibly also transcode them to mkv files?
Reply With Quote
  #58  
Old 08-06-2008, 08:27 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by killervette View Post
So, by default, this should be able to process live tv files created by the hd pvr?
No, you need to create a processing condition that handles TS files. Set the PC to "Convert a file for commercial scanning". You also need to install AVIVO and have the ArcSoft decoders that come with TMT installed.

Also, make sure you dl the latest sagescan.dpc - http://babgvant.com/downloads/1213/sagescan.zip
Reply With Quote
  #59  
Old 08-06-2008, 08:33 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by toricred View Post
I'm interested in what else DTb can do for me. I don't have an HD-PVR at the moment and probably won't for a while, but the possibilities interest me.

I'm currently using Sage Job Queue with SA for my commercial detection. The problem with this is that it will only run one instance at a time. I'm not using DirMon2 because SA is currently doesn't work with the automatic profiles and I've got a couple of channels I don't want to look for commercials on and a couple of shows that need different configurations. Could DTb help me with this if all my files are mpg files and possibly also transcode them to mkv files?
DTB can automate almost any process. It uses the files's metadata to decide what process to run on the file.

For e.g. I like to watch The Daily Show on my phone in the morning. So I have a PC that looks for shows where the title contains "The Daily Show", then runs a profile that detects commercials, runs mencoder with args that make it encode to a PPC friendly format and passes the edl file, then moves it to a folder that is monitored by another application for copying to my phone. Once it's setup, all I need to do is plug the phone into my PC in the morning and wait until the show syncs over.
Reply With Quote
  #60  
Old 08-06-2008, 09:04 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
So the key is in creating the PC? I'm going to try to replicate my SJQ rules as PCs on Friday. Can it run more than one instance of SA at the same time? If so, how do you throttle it to limit the CPU usage?
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.