SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-19-2006, 03:30 PM
losingmymarbles's Avatar
losingmymarbles losingmymarbles is offline
Sage User
 
Join Date: Aug 2006
Location: Cary, North Carolina
Posts: 5
Question Possible to automatically skip first few seconds of a recording?

Does anyone know if it is in anyway possible to have SageTV automatically skip the first few seconds of a recording? I'd like to be able jump ahead of the channel change and my cable box's info bar. All I need is about 5 seconds for both the channel change and info bar to go away.

I vaguely remember some settings for a Hauppauge card to make it end a recording a certain amount of milliseconds early, but I don't know where it is or if there's one for the beginning of a recording too. (that is if there's a setting at all)

If there's anyone who could help me.... I'd be greatly appreciative!

Thanks!

-Chris
Reply With Quote
  #2  
Old 09-19-2006, 04:42 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
Could you change your default padding to end 1 minute early and start 1 minute early?

This way you will (Probably)miss the credits at the end of shows but it will start recording before the show starts.

I have a 4 tuner setup and so all my shows start a few minutes early so I don't see the info bar my cable box displays, but if you only have one tuner the above might work for you...
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #3  
Old 09-19-2006, 10:18 PM
losingmymarbles's Avatar
losingmymarbles losingmymarbles is offline
Sage User
 
Join Date: Aug 2006
Location: Cary, North Carolina
Posts: 5
Quote:
Originally Posted by dvd_maniac
Could you change your default padding to end 1 minute early and start 1 minute early?

This way you will (Probably)miss the credits at the end of shows but it will start recording before the show starts.

I have a 4 tuner setup and so all my shows start a few minutes early so I don't see the info bar my cable box displays, but if you only have one tuner the above might work for you...
Thanks for the tip, but....

The padding will make the recording start or end earlier (or later) but it still wouldn't help with the first few seconds when SageTV changes the channel on the cable box or the cable box and its info bar.

I just find it a little annoying to start a recording and catch a second or two of a show on what ever channel it was on before it changes the channel and go to whatever it was suppose to record. Mostly because, and I don't know if it's like this other places, but many different channels (or even different commercials) are of different volume levels. It might be blaring at first and go very quite, or worse, be quiet and go to a loud channel with an even LOUDER used car commercial. {shiver}

I just want to be able to skip those few seconds between channel changes.

It just seams to me that other people would have found this some what of an annoyance. But I guess it could be just me....

-Chris
Reply With Quote
  #4  
Old 09-19-2006, 10:23 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by losingmymarbles
The padding will make the recording start or end earlier (or later) but it still wouldn't help with the first few seconds when SageTV changes the channel on the cable box or the cable box and its info bar.
Sage starts playing from the scheduled time, not the recording start time. So if you added 1 minute padding to the beginning, Sage would effectively start playback one minute into the recording.
Reply With Quote
  #5  
Old 09-19-2006, 10:48 PM
losingmymarbles's Avatar
losingmymarbles losingmymarbles is offline
Sage User
 
Join Date: Aug 2006
Location: Cary, North Carolina
Posts: 5
Quote:
Originally Posted by stanger89
Sage starts playing from the scheduled time, not the recording start time. So if you added 1 minute padding to the beginning, Sage would effectively start playback one minute into the recording.
So if I have it start recording a minute earlier, would I not I run into the same problem? It would still show it changing the channel. I'd have to make it start a minute late, but then I'd miss a whole minute of the beginning of a show and not just a few seconds. That's the whole thing...... I'd like to have the recording start from when the SHOW starts and not when the channel changes.

I don't know.... maybe I'm being picky but I just find it a little disturbing when I start a show only to have to watch it changing the channel before the show actually starts.

Thanks anyways...

-Chris
Reply With Quote
  #6  
Old 09-19-2006, 11:25 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by losingmymarbles
Quote:
Originally Posted by stanger89
Sage starts playing from the scheduled time, not the recording start time. So if you added 1 minute padding to the beginning, Sage would effectively start playback one minute into the recording.
So if I have it start recording a minute earlier, would I not I run into the same problem? It would still show it changing the channel. I'd have to make it start a minute late
That was what stanger just said & dvd_maniac's point was: it automatically skips over the padding & begins playback at the show's scheduled airing time. To view the padded area (and thus the channel change), you would have to rewind to get into the start padding section.

You've now effectively skipped over the area that you don't want to see. But, uless you have multiple tuners, you could run into more scheduling conflicts when you use padding.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 09-20-2006, 06:00 AM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
Just add padding to one recording and you'll see what stanger is saying. It will do what you're wanting it to.
Reply With Quote
  #8  
Old 09-20-2006, 09:29 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Adding the following 2 lines of code after the MediaPlayerPlayStateChanged Hook seems to do the trick.

[If] IsTVFile(GetCurrentMediaFile()) && (GetMediaTime() < GetFileStartTime(GetCurrentMediaFile()) + 5000)
[Action] Seek(GetFileStartTime(GetCurrentMediaFile()) +5000)

Attached is an import file that does this.
Attached Files
File Type: stvi SkipBeginning.stvi (8.2 KB, 203 views)
Reply With Quote
  #9  
Old 09-20-2006, 01:00 PM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
Quote:
Originally Posted by stanger89
Sage starts playing from the scheduled time, not the recording start time. So if you added 1 minute padding to the beginning, Sage would effectively start playback one minute into the recording.
Wow... all this time and I never knew that... Learn something new everyday!

There is also an option in SA to "Always mark first n sec as commercial" that might work for this as well.
Reply With Quote
  #10  
Old 09-23-2006, 01:31 AM
losingmymarbles's Avatar
losingmymarbles losingmymarbles is offline
Sage User
 
Join Date: Aug 2006
Location: Cary, North Carolina
Posts: 5
Exclamation I found the answer!! (and it was there all along)

Quote:
Originally Posted by malore
Adding the following 2 lines of code after the MediaPlayerPlayStateChanged Hook seems to do the trick.

[If] IsTVFile(GetCurrentMediaFile()) && (GetMediaTime() < GetFileStartTime(GetCurrentMediaFile()) + 5000)
[Action] Seek(GetFileStartTime(GetCurrentMediaFile()) +5000)

Attached is an import file that does this.
Thanks for the help malore! Well, almost.... I tried running the import, but it didn't work for some reason. That's OK because you got me thinking. (which is always scary)

BTW, malore, this was the first .stvi file I actually peered inside of.... what language is it written in? It looks to me to be java encapsulated in XML, is this correct?

Anyways, I remembered seeing a line in the Sage.Properties file, when I had been poking around SageTV 'inards', that seemed a little curious:
Code:
videoframe/time_to_start_into_tv_file_playback=
It was blank as default, so I decided, what the heck, and added 5000 (ms, of course). I restarted SageTV, and started a random recording... sure enough it started 5 seconds into the recording!!! I played around with the number until I got it to skip to exactly where I wanted it to... 8500 ms. This is much better than having to miss a whole minute of a recording!

I love this program more and more every day!!! I mean, damn, SageTV has more 'hidden' features than other DVR's have documented ones... *cough* beyondtv *cough*

I can't wait to mess with the properties file more! (after backing it up first, of course!)

Thanks everyone for posting to this thread! Y'all were a big help! This was my first posting to the forum and I feel confident now that I can post other questions and have them be answered.

peace,
-Chris

Last edited by losingmymarbles; 09-23-2006 at 01:33 AM.
Reply With Quote
  #11  
Old 09-23-2006, 09:34 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by losingmymarbles
BTW, malore, this was the first .stvi file I actually peered inside of.... what language is it written in? It looks to me to be java encapsulated in XML, is this correct?
I don't know if there's a name for it, but they're not meant to be edited directly, you're supposed to use Studio to edit them.

Quote:
This is much better than having to miss a whole minute of a recording!
I'm not sure you understand what padding does, you don't "miss" anything. Maybe an example will help. Say you've got a favorite setup, and that one scheduled recording (an "airing") usually starts at 8:00. Without padding Sage will tune the STB and start the recording at 8:00. When you go to watch it, Sage will start playing at the beginning of the airing (ie 8:00). So you'll see the STB display while Sage is tuning it.

Now, say you add 1 minute of padding to that favorite. Now, Sage will tune the STB and start recording at 7:59. When you go to watch it, Sage will still start at the beginning of the airing (ie 8:00). You don't see any less of the show than you did before, but now the tuning is done earlier than the playback starts.

Now, this has the added benefit of if for some reason the show starts a little bit before 8:00, you can now rewind back into the padding and see the show from the start. The padding is not played by default but it is there for you to go back and view.

I have almost all of my favorites setup with 5 minutes of padding start and end, to account for any drifts in my local PC clock, or in case the networks get sloppy. I almost never miss any part of a show with that setup (even when my clock drifted 3 minutes for some reason).
Reply With Quote
  #12  
Old 09-23-2006, 12:07 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
Quote:
This is much better than having to miss a whole minute of a recording!


I'm not sure you understand what padding does, you don't "miss" anything. Maybe an example will help.
I think he was referring to my reply when I said :
Quote:
Could you change your default padding to end 1 minute early and start 1 minute early?

This way you will (Probably)miss the credits at the end of shows but it will start recording before the show starts.

I have a 4 tuner setup and so all my shows start a few minutes early so I don't see the info bar my cable box displays, but if you only have one tuner the above might work for you...
I gave him this solution in case he only had 1 tuner and should have said that I also pad after my shows because I have 4 tuners.
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #13  
Old 09-23-2006, 04:11 PM
appelm appelm is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Chappaqua, NY
Posts: 323
Quote:
Originally Posted by losingmymarbles
Code:
videoframe/time_to_start_into_tv_file_playback=
wow! this works perfectly. 7500 was right for me. I have always wondered if there was a way to do this. This ups the WAF significantly!!
Reply With Quote
  #14  
Old 12-18-2007, 10:57 AM
appelm appelm is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Chappaqua, NY
Posts: 323
Quote:
Originally Posted by appelm View Post
wow! this works perfectly. 7500 was right for me. I have always wondered if there was a way to do this. This ups the WAF significantly!!
I've had this setting for quite a while now but I just started experimenting with Comskip. I'm getting some strange results with Comskip not skipping at the right points. Is it possible that this setting above conflicts with the way Comskip figures out where to skip forward?
Reply With Quote
  #15  
Old 12-24-2007, 11:21 AM
Matt-CV Matt-CV is offline
Sage User
 
Join Date: May 2004
Posts: 20
WOW, nice find ....
videoframe/time_to_start_into_tv_file_playback=
Has fixed one of my bigger issues as well. I asked this question back in 3/2004 and have waited till now to find this... This will be polishing off an already nice system.

Matt

ps- Im really tired of seeing the wifes home fixup shows,,,now all we need is to be able to build profiles (passcoded)

Last edited by Matt-CV; 12-24-2007 at 11:23 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


All times are GMT -6. The time now is 03:48 PM.


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