SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-22-2005, 10:26 PM
Jesse's Avatar
Jesse Jesse is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Marietta, Ga.
Posts: 813
Question HD Software Encoders & CPU Usage

Hello all,

I have not yet jumped on the v3 beta (beta stuff is not good at my house ). But in preparation for a final of v3 I am investigating HD.

Am I correct that all HD capture cards are software encoders? If so how much cpu will I be using for capture only? How much for capture and simultaneous playback of live HD? I ask because my sage machine is used to both capture and playback, it also has the client for my mvp installed, and is used to playback music in two or three zones at any given time. I dont usually have all this going on at once, but it is possible. I dont use the maching for anything other than the above mentioned media related stuff.

Anyone know of any HD hardware encoders in the works?

Machine specs: P4 3.0g HT, 1 gig ram, 9800pro, PVR500, MAudio D410 (x2), Intel D865perl mobo.

Thanks in advance,

Jesse
Reply With Quote
  #2  
Old 09-23-2005, 03:16 AM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
Well HD TV is digitally encoded already so the HD cards just provide the digital stream which is in Mpeg2 form already.

Capturing in the sense of converting analog NTSC signals to Mpeg2 is not involved.

The only issue comes with playing the HD stream.
__________________
Windows 10 64bit - Server: C2D, 6Gb RAM, 1xSamsung 840 Pro 128Gb, Seagate Archive HD 8TB - 2 x WD Green 1TB HDs for Recordings, PVR-USB2,Cinergy 2400i DVB-T, 2xTT DVB-S2 tuners, FireDTV S2
3 x HD300s
Reply With Quote
  #3  
Old 09-23-2005, 08:48 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
An encoding HD in software would require on the order of a 10GHz CPU to do in realtime (based on current architectures).

As Lucas said, HD does not require encoding as it is sent as a compressed datastream.
Reply With Quote
  #4  
Old 09-23-2005, 09:12 AM
Mahoney Mahoney is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 483
Quote:
An encoding HD in software would require on the order of a 10GHz CPU to do in realtime (based on current architectures).
Not doubting you, just eager to learn; why is that? By my reckoning a PAL SD encoder has to cope with 576 line frames at a rate of 25fps = 14400 lines to encode a second. A PAL 720p HD encoder would have to cope with 720 line frames at a rate of 50fps = 36000 lines a second. Now 14400 to 36000 is a big jump (2.5x), but not an exponential one.

If I do the maths taking theoretical horizontal resolution into account, its 10886400 pixels a second compared to 46080000; say 4.5x the amount of data to cope with.
Reply With Quote
  #5  
Old 09-23-2005, 09:50 AM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Quote:
Originally Posted by Mahoney
Not doubting you, just eager to learn; why is that? By my reckoning a PAL SD encoder has to cope with 576 line frames at a rate of 25fps = 14400 lines to encode a second. A PAL 720p HD encoder would have to cope with 720 line frames at a rate of 50fps = 36000 lines a second. Now 14400 to 36000 is a big jump (2.5x), but not an exponential one.

If I do the maths taking theoretical horizontal resolution into account, its 10886400 pixels a second compared to 46080000; say 4.5x the amount of data to cope with.
Ahhh, but don't forget the amount of data in each line. The lines may be longer (widescreen) and the resolution is higher so there's more data in each line.

Take a look at AudioVideo101.com

In the first paragraph of that page you'll see that a Std def digital frame (640x480) has 307,200 pixels and while the highest res HDTV frame (1920x1080) has 2,073,600 - that's over six times the number of pixels!
__________________
Wayne Dunham
Reply With Quote
  #6  
Old 09-23-2005, 10:39 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
HD has a data rate approximately 6x that of SD:

SD (NTSC) ~= 720x480x30x24 = 249Mbps
HD (720p) ~= 1280x720x60x24 = 1.3Gbps = 5.2x SD
HD (1080i) ~= 1920x1080x30x24 = 1.5Gbps = 6x SD

To further complicate the issue the PCI bus would be a limit as well:

33MHz x 32 bit = 1.056Gbps

Also consider that realtime software encoding of SD takes on order of 1.5-2GHz, so if you do the simple extrapelation, it's somewhere between 8 and 12GHz to realtime encode. Also consider that the newer codecs (H.264 and VC-1) are much more demanding than MPEG2.
Reply With Quote
  #7  
Old 09-23-2005, 02:50 PM
Jesse's Avatar
Jesse Jesse is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Marietta, Ga.
Posts: 813
Hello and thanks for the info. I was quite puzzled as to why hardware encoding would be used for standard def and not HD. Now it all makes sense. I guess it is safe to assume that my P4 3.0g / 9800pro can handle playback with no problem?

Thanks again for all the great info.

Jesse
Reply With Quote
  #8  
Old 09-23-2005, 03:58 PM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
Jesse,

I ve played 1280x720p wmv files on my 2.8 system without problems.

Microsoft recommends 2.4 or more for 720p and 3.0 and more for 1080i.
This is for wmv though.

I am not sure what it is for US Based HDTV but my guess is that it would be OK since mpeg2 decoding is not as intensive as other forms (higher compression) decoding.

In our side of the planet HDTV over the air is still a dream.

I base my comments on my experience with mpeg2 satellite based HDTV reception via a DVB-S card.
__________________
Windows 10 64bit - Server: C2D, 6Gb RAM, 1xSamsung 840 Pro 128Gb, Seagate Archive HD 8TB - 2 x WD Green 1TB HDs for Recordings, PVR-USB2,Cinergy 2400i DVB-T, 2xTT DVB-S2 tuners, FireDTV S2
3 x HD300s
Reply With Quote
  #9  
Old 09-23-2005, 04:31 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Jesse
Hello and thanks for the info. I was quite puzzled as to why hardware encoding would be used for standard def and not HD.
No encoding (on the receiving end) is used for HD. SD is transmitted as an uncompressed analog video stream, which must be captured, digitized, and compressed (or it would take 100GB/hour) to MPEG-2. HD is transmitted as a compressed MPEG-2 data stream, all that is done on the receiving end is to demodulate that MPEG-2 data stream and play it or write it to disk.
Reply With Quote
  #10  
Old 09-24-2005, 08:01 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Quote:
Originally Posted by stanger89
No encoding (on the receiving end) is used for HD. SD is transmitted as an uncompressed analog video stream, which must be captured, digitized, and compressed (or it would take 100GB/hour) to MPEG-2. HD is transmitted as a compressed MPEG-2 data stream, all that is done on the receiving end is to demodulate that MPEG-2 data stream and play it or write it to disk.
Technically, I believe you mean to say that analog is transmitted as analog .

Digital cable and DirecTV (and OTA digital) transmit all channels as mpeg2, whether they are SD or HD.
Reply With Quote
  #11  
Old 09-24-2005, 10:02 PM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
Quote:
Originally Posted by stanger89
---------------------

To further complicate the issue the PCI bus would be a limit as well:

33MHz x 32 bit = 1.056Gbps

Also consider that realtime software encoding of SD takes on order of 1.5-2GHz, so if you do the simple extrapelation, it's somewhere between 8 and 12GHz to realtime encode. Also consider that the newer codecs (H.264 and VC-1) are much more demanding than MPEG2.
But a card with an onboard dedicated processor(s) might be an answer for both of these issues. What type of x86 processor do you think that Conexant on your Hauppauge card would compare to? Assuming scalability (maybe have a card that splits up the video to 6 or 8 of those chips) this may not be such a long putt after all...
Reply With Quote
  #12  
Old 09-25-2005, 07:12 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by briands
But a card with an onboard dedicated processor(s) might be an answer for both of these issues. What type of x86 processor do you think that Conexant on your Hauppauge card would compare to?
The problem is they aren't directly compareable. But basically the CX2341x does the work of about 1.5-2GHz of x86 CPU.

Quote:
Assuming scalability (maybe have a card that splits up the video to 6 or 8 of those chips) this may not be such a long putt after all...
That is the ideal solution, but there seems to be no interest in producing a consumer-level hardware encoding HD capture card. Why?:

1) Everything we consumers have access to is already compressed when we get it.
2) The only reason for an end user to record uncompressed HD, is to bypass the copy/access protection mechanisms in place for it.
Reply With Quote
  #13  
Old 09-25-2005, 04:11 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
FWIW, there is actually a card with hardware encoders capable of capturing full HD and compressing, realtime, into MPEG-2. It's the LSI Logic HDTVxpress.
Reply With Quote
  #14  
Old 09-25-2005, 04:13 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Of course, last time I found a price, it was five figures. ~$20,000 IIRC.
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 09:26 PM.


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