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
  #21  
Old 07-31-2004, 11:32 AM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
<The following information comes from the MythTV camp>

Doing commercial detection on the fly isn't possible when using a hardware encoder. The reason is that the show gets encoded on the card and doesn't go "through" any software filters. If it did then we could do realtime encodes to Divx or other similar things.

MythTV can do real time commercial detection on software encoders only. And since the theory is the same and Sage doesn't support software encoders, we're going to be stuck doing any post processing... um... "post" recording.

But... it's ok! After you use Sage long enough and have enough favorites programed in, you'll rarely watch a program as it is aired. At least I don't.

Jere
Reply With Quote
  #22  
Old 07-31-2004, 11:40 AM
ErsatzTom's Avatar
ErsatzTom ErsatzTom is offline
Sage Expert
 
Join Date: Dec 2003
Location: Southwest Florida
Posts: 712
Send a message via AIM to ErsatzTom
Well, it is true it would need to decode on the fly. That is why it would be expensive in terms of cpu use. Perhaps even totally undoable. But not, I think, technically impossible.

Narflex talks about it in this thread. But he also mentions the difficulty involved in decoding the mpeg on the fly in this thread.

t
__________________
Thomas Micheline
duff@sage-community.org
http://www.sage-community.org/
Reply With Quote
  #23  
Old 07-31-2004, 12:05 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Might it be possible to get the raw video from the 250's Directshow "Preview Pin" at the same time as it is being encoded and output from the encoder pin?
Reply With Quote
  #24  
Old 07-31-2004, 12:08 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Actually, I believe there's ways to do it without decoding the MPEG2 stream. There's probably enough information in the MPEG2 encoding that you could use to find scene breaks without decoding the stream. Its much more complicated because you're working in the encoded domain instead of the raw domain.

You'd probably have to do some kind of partial decode, but you could almost definitely avoid doing the IDCT back into the spatial domain and do your work in the frequency domain because energy is conserved across time/freq domains and black frames are essentially low energy frames. (my specialization was DSP back in college) You could also limit your decoding to only a few macroblocks if you're detecting high energy to avoid having to decode an entire frame.

Keep in mind that's all just theory.....I've never done an implementation like that.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #25  
Old 07-31-2004, 01:17 PM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Quote:
Originally posted by ErsatzTom
Also, I don't suppose the output format is close to, um, other software output so as to make it work with VideoReDo?
Not directly, but it wouldn't take much work to convert from the simple frame numbers my program outputs to the microsecond time codes that VideoReDo can use.
Reply With Quote
  #26  
Old 07-31-2004, 01:36 PM
ErsatzTom's Avatar
ErsatzTom ErsatzTom is offline
Sage Expert
 
Join Date: Dec 2003
Location: Southwest Florida
Posts: 712
Send a message via AIM to ErsatzTom
Quote:
Originally posted by malore
Not directly, but it wouldn't take much work to convert from the simple frame numbers my program outputs to the microsecond time codes that VideoReDo can use.
Or, once we get this going maybe the folks who make VideoReDo would be willing to support our format as well. It couldn't be too much work on their part and they would get (even more) good press on our forums.

t
__________________
Thomas Micheline
duff@sage-community.org
http://www.sage-community.org/
Reply With Quote
  #27  
Old 07-31-2004, 01:37 PM
ErsatzTom's Avatar
ErsatzTom ErsatzTom is offline
Sage Expert
 
Join Date: Dec 2003
Location: Southwest Florida
Posts: 712
Send a message via AIM to ErsatzTom
Quote:
Originally posted by Narflex
Actually, I believe there's ways to do it without decoding the MPEG2 stream. There's probably enough information in the MPEG2 encoding that you could use to find scene breaks without decoding the stream. Its much more complicated because you're working in the encoded domain instead of the raw domain.
Don't suppose you already know where to find additional resources for this type of undertaking? Thanks!

t
__________________
Thomas Micheline
duff@sage-community.org
http://www.sage-community.org/
Reply With Quote
  #28  
Old 07-31-2004, 01:38 PM
ErsatzTom's Avatar
ErsatzTom ErsatzTom is offline
Sage Expert
 
Join Date: Dec 2003
Location: Southwest Florida
Posts: 712
Send a message via AIM to ErsatzTom
Oh, and because I didn't say it before...

THANK YOU, THANK YOU, THANK YOU malore!!!

t
__________________
Thomas Micheline
duff@sage-community.org
http://www.sage-community.org/
Reply With Quote
  #29  
Old 07-31-2004, 05:31 PM
Fluffdaddy Fluffdaddy is offline
Sage Icon
 
Join Date: Nov 2003
Location: Philly, Pa
Posts: 1,004
Quote:
Originally posted by ErsatzTom
Oh, and because I didn't say it before...

THANK YOU, THANK YOU, THANK YOU malore!!!

t
Dttio
Reply With Quote
  #30  
Old 07-31-2004, 06:14 PM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
I anyone missed it, I release a beta version for people to try.
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 07:52 AM.


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