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 04-24-2010, 01:06 PM
btf1962 btf1962 is offline
Sage User
 
Join Date: Feb 2010
Location: Rochester, NY
Posts: 22
Linux Comskip without Wine?

Just a quick question.

Is there a Comskip solution that doesn't involve Wine?

If I do need Wine, does that mean I need to run X, or can I work at a DOS terminal prompt?

Thanks in advance!
--Brad
Reply With Quote
  #2  
Old 04-27-2010, 02:53 PM
btf1962 btf1962 is offline
Sage User
 
Join Date: Feb 2010
Location: Rochester, NY
Posts: 22
OK. After reading throught the SageTV/Comskip/Comchecker posts I'm a little more savvy. I've installed wine (without x) which seems to work fine. I've tested running comskip with wine (successfully) by hand. I'll probably use bcjenkins comcheck.sh script as a daemon (possibly making it an init.d service?)

Then I'll use a comskip aware STV plug-in. After settling with that for a while. I might research daemons to actually snip out the commercials in the mpg files. We'll see.

(At the very least, I'd love any video conversions to be commercial-aware and snip out commercials when converting. That would be really nice for the conversions I do for my Palm TX.)
Reply With Quote
  #3  
Old 04-27-2010, 03:09 PM
bastafidli bastafidli is offline
Sage Expert
 
Join Date: Dec 2007
Location: Charlottesville, VA
Posts: 728
Hello btf, If you by any chance have your collection of links to relevant threads/ports of your notes, can you please post them here? I will be going through the same steps so it would help me greatly and I could possibly combine them to some conside howto.

Thank you.
__________________

TV: Samsung UN46D8000
Server: Intel Core i3 540, 4G RAM, Matrox G450, 70GB EXT3 encrypted software RAID1 system drive, 1TB XFS tv recording drive, 2TB EXT3 encrypted data drive mirror across 2 machines, 2TB EXT3 encrypted media drive mirror across 2 machines, CentOS 6 64 bit, Experimenting with DNLA servers
1Gb wired network
Disconnected after G day[HD 100 Media Extender, Placeshifter 7.x, SageTV 7.x, HDHomeRun]
Reply With Quote
  #4  
Old 04-27-2010, 08:16 PM
btf1962 btf1962 is offline
Sage User
 
Join Date: Feb 2010
Location: Rochester, NY
Posts: 22
Here's what I learned ... Corrections welcome and expected!

Wine
First you'll need Wine. I am using Ubuntu so it's as simple as:

sudo apt-get install wine

Yes, this will suck down quite a few other packages. But you will not be using an X server. (I am using Ubuntu Server 9.10) I don't want to give up either diskspace or CPU cycles to X server software.

For all you need to know about Wine go here. (But, really, once you've installed the package you're done thinking about Wine):

Wine FAQ

comskip
comskip is a Windows binary that runs well through wine.

Here's a good page for the overview and documentation.

comskip Documentation

The same site holds all the download files:

comskip Downloads

You now have the ability to run files by hand through comskip. (But who wants to do that??!!)

You will pay attention primarily to 2 files - the comskip.exe binary and the comskip.ini text file (a default version is included in the zip archive) with all the settings for comskip scanning. You can do something like ...

wine /path/to/comskip.exe --ini=/path/to/comskip.ini /var/media/tv/NameOfRecording.mpg

You'll also see documentation and downloads for comclean here, the binary that actually cuts the commercial blocks out of an mpeg file after comskip has recorded where they are. But I haven't started using that yet. I really don't think I will use comclean unless I'm doing video conversions.

comchecker.sh
Here's the script that you can run to sniff around for your recorded TV files and scan them for commercials in the background.

comchecker.sh

You will want to start this file on startup. (I'm going to put it in /etc/init.d with the appropriate S??comchecker.sh and K??comchecker.sh links.)

You will want to read through the script yourself. Save the original and edit it to use the right values for file paths. It's well documented right in the script.

You might want to put comskip.exe in /usr/local/bin/ and comskip.ini in /etc/ or (my preference) put them both in /opt/sagetv/server/comskip/ (a new directory) since they really aren't used by anything but SageTV. Just make sure that you adjust your settings in comchecker.sh to reflect the accurate paths to these files.

Comskip Plug-In
None of this is any good if your SageTV isn't actively using the generated skip files when playing back your TV recordings ...

Here's the plug-in you will have to import to modify your STV XML file so that SageTV is aware of and skips over commercials (for files that have been through comskip).

Comskip Plug-In Download Page

I think that covers it. Let me know how it goes.

--Brad

Last edited by btf1962; 04-27-2010 at 08:21 PM.
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
Comskip for Sage Linux..... :) laurenglenn SageTV Customizations 45 10-31-2009 06:43 PM
comskip/comskip monitor - firewall?/SageMc spvoyek SageMC Custom Interface 2 12-17-2008 01:35 PM
Linux and Mac OS X Comskip Users bcjenkins SageTV Customizations 0 06-19-2008 05:23 AM
Linux server & Windows client: comskip kn4ppst3r SageTV Customizations 0 02-09-2006 04:32 PM
Comskip for Linux??? :) laurenglenn SageTV Customizations 1 01-10-2006 08:57 PM


All times are GMT -6. The time now is 12:39 PM.


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