|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
<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 |
#22
|
||||
|
||||
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 |
#23
|
||||
|
||||
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?
|
#24
|
||||
|
||||
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 Founder of SageTV |
#25
|
||||
|
||||
Quote:
|
#26
|
||||
|
||||
Quote:
t |
#27
|
||||
|
||||
Quote:
t |
#28
|
||||
|
||||
Oh, and because I didn't say it before...
THANK YOU, THANK YOU, THANK YOU malore!!! t |
#29
|
|||
|
|||
Quote:
|
#30
|
||||
|
||||
I anyone missed it, I release a beta version for people to try.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|