SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-06-2009, 11:08 PM
stlbearboy stlbearboy is offline
Sage Advanced User
 
Join Date: Dec 2008
Posts: 81
Compressing Files

I would like to convert some of my recorded tv files to h264 once they have reached 30 days without me watching them. Would a program like mce buddy work that deletes the original after creating the convesion or would there be a problem since the filename has changed? I already use dvrmstoolbox to run comskip but I don't want to convert the files immediately just the old ones.
Reply With Quote
  #2  
Old 04-07-2009, 08:00 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by stlbearboy View Post
I would like to convert some of my recorded tv files to h264 once they have reached 30 days without me watching them. Would a program like mce buddy work that deletes the original after creating the convesion or would there be a problem since the filename has changed? I already use dvrmstoolbox to run comskip but I don't want to convert the files immediately just the old ones.
I'm pretty sure that SJQ will allow you to perform a task based upon recording date (and it can compare recording date to "today", so you can compute days since recording).

Check out the documentation linked in the thread.
http://forums.sagetv.com/forums/showthread.php?t=25147

you can have it run the Sage builtin compression, or launch your own.

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #3  
Old 04-07-2009, 12:09 PM
troycheek's Avatar
troycheek troycheek is offline
Sage Advanced User
 
Join Date: Feb 2008
Posts: 148
Sage Job Queue is a great tool but a bit too complicated for me. DirMon2 has an option to ignore files newer than X hours. For one month, X=720. MediaShrink will convert the video to whatever you want and delete the original file if requested.

SageTV is smart enough to notice that your filename.mpg is missing but a filename.avi (or whatever) is present in the same directory and will accept the new file as a replacement for the old. (Well, almost always. Sometimes, I have to restart the client before it notices the new file. Once or twice, SageTV couldn't find the new file at all. But considering how often I compress, it's got a great track record.)
Reply With Quote
  #4  
Old 04-07-2009, 01:11 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by matt91 View Post
I'm pretty sure that SJQ will allow you to perform a task based upon recording date (and it can compare recording date to "today", so you can compute days since recording).

Check out the documentation linked in the thread.
http://forums.sagetv.com/forums/showthread.php?t=25147

you can have it run the Sage builtin compression, or launch your own.

Matt
SJQ also has a MediaAge test, so you can actually do exactly what the OP wants, namely perform compression on media objects older than 30 days.

Code:
if [IsTV == true && IsWatched == false && MediaAge > "30D" && Filename =% ".*\.(?:mpg|ts)"] {
   COMPRESS
}
This rule says, "if a file is a tv recording, has not been watched, is older than 30 days, and the file name ends with '.mpg' or '.ts' then run the COMPRESS task on it." I'm assuming that your recordings will be transcoded to something like .avi and that's how you'll ensure not to recompress a compressed file.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #5  
Old 04-07-2009, 01:31 PM
stlbearboy stlbearboy is offline
Sage Advanced User
 
Join Date: Dec 2008
Posts: 81
Thanks
I looked into SJQ last night and installed it but was afraid about changing the file extensions so I left my rules editor blank.

I used handbrake to convert a mpg to a mp4 file and not the file is not showing up in my list of recordings. Is there an option I need to have turned on for Sage to find the new file and keep it in the list?

Last edited by stlbearboy; 04-09-2009 at 06:17 AM.
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
Compressing h.264 recordings? SageGk SageTV Software 21 01-13-2010 10:52 PM
Compressing HD-PVR 1080i files bialio SageTV Software 2 02-20-2009 08:24 AM
SageMC - layout files, menu files, themes etc... Phydeaux SageMC Custom Interface 2 01-05-2009 04:25 PM
Questions on Converting/Compressing recordings brainbone SageTV Customizations 3 11-21-2008 01:45 PM


All times are GMT -6. The time now is 08:52 PM.


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