Asus TV FM card + S/PDIF digital audio - possible?

A

Andy B

Hi,

I've just bought a brand new HP pavalion which came bundled with the
Asus TV FM card, and a Realtek HD onboard audio card. I've got the
digital audio output hooked up to my surround receiver, and working
fine in 5.1 dolby, e.g when watching DVD's but any audio from the Asus
card is only output via the analog output on the PC...nothing goes
through the digital output.

I'm slightly confused....is this an issue with the sound card, the
capture card, or the software (InterVideo home theater) ? How is the
audio on the audio card connected through to the sound card ? Do I
need a new capture card that has a digital output, and route that to
the sound card's digital input ? Am I trying to do the impossible ?

Any help is much appreciated.

Andy
 
P

Paul

Hi,

I've just bought a brand new HP pavalion which came bundled with the
Asus TV FM card, and a Realtek HD onboard audio card. I've got the
digital audio output hooked up to my surround receiver, and working
fine in 5.1 dolby, e.g when watching DVD's but any audio from the Asus
card is only output via the analog output on the PC...nothing goes
through the digital output.

I'm slightly confused....is this an issue with the sound card, the
capture card, or the software (InterVideo home theater) ? How is the
audio on the audio card connected through to the sound card ? Do I
need a new capture card that has a digital output, and route that to
the sound card's digital input ? Am I trying to do the impossible ?

Any help is much appreciated.

Andy

First question. How is sound supported. The first method
is what happens when you have a separate sound card, while the
second method has a sound chip on the motherboard, and that
sound chip is either AC97 or HDaudio standard. HDaudio is
just a doubling of the datarate of the output to the AC97
chip, and many of the functions in the hardware work the
same way.

PCI sound:
| |<--- Sound
Processor - NB - SB - PCI_Bus - PCI_Plugin_Soundcard |<--- Card
| |<--- Jacks

Onboard sound (your system):
|<--- Jacks
Processor - NB - SB - ACLink - Codec |<--- on
|<--- motherboard

Onboard sound uses a digital stream, that is decoded by a CODEC
chip (coder/ decoder). The CODEC is the glue between the digital
and the analog world.

A PCI plugin card, like a SoundBlaster or an Audigy, performs
many of the same functions. The PCI bus is used to transfer
blocks of data into the Soundcard. The hardware on the soundcard
makes a stream of data, and coder/decoder circuits on the PCI
card make the analog signals, just like with onboard sound.

One difference between the two sound solutions, is the AC97/HDaudio
type solutions are constrained by their architecture, to having
many standardized features. The PCI cards, on the other hand,
are completely under the control of the designers, like
Creative. They can put whatever they want on there.

Another difference between sound solutions, is they use varying
amounts of CPU. Gamers sometimes complain about these differences,
but from a hardware perspective, there is no excuse for a difference
between the two solutions. (And as I result, I cannot explain why
one solution is more efficient than the other.)

Now, the next issue is software. Obviously, a Microsoft OS is only
going to support doing certain things with the sound hardware.
There could be hardware capabilities in there that go unused,
for reasons of licensing or for DRM reasons (like preventing you
from making exact copies of media).

Not everything we need to know about your problem, is written
down somewhere.

Asus has a couple of TV FM cards. These look to be different
from one another, and not simple copies.

http://usa.asus.com/products/vga/tvfm_7135/overview.htm
http://usa.asus.com/products/vga/tvfm/overview.htm

The 7135 has an internal audio cable, and that will plug
into a header on the motherboard. The other card uses
a male-to-male 1/8" stereo cable, and that goes from
audio out on the TV FM card, to line in on the motherboard.

In both cases, it should be possible for aux_in or line_in
analog audio signals, to be looped to the lineout analog
output. That path is right in the hardware, and you've proved
it works already.

But, for an analog AC97 input to come out on a digital
output like S/PDIF output, requires cooperation from the OS.
The analog signal is converted to digital form, and
travels across the AClink to the processor. It is up
to the OS, to turn the data stream around, make it
go back across the AClink, and out on the SPDIF output.

Digital rights management prevents certain paths from
working through the OS. For example, SPDIF_in to SPDIF_out
will be forbidden, when the "pro" bit in the SPDIF
stream is set to consumer mode. That is a way for the OS
to enforce DRM and prevent an exact copy of the source
material.

There is less reason to be doing that, for what you want to
do. In your case, turning an analog input back around, for
output on the digital side, is a degrading step, so an
exact copy doesn't happen. There is no reason for DRM to
stop something like that, that I can think of.

As for how the SPDIF output works:

SPDIF is by nature a two channel (stereo) hardware interface.
The only way to get 5.1 channels across it, is via a compression
format called AC3. When you play a DVD, there is already a
digital stream encoded in AC3 format, and the computer does
not interact with the stream at all. The computer just
passes the AC3 stream out the SPDIF_out, and the external
audio device is responsible for decoding the AC3 and making
the 5.1 signals. You've tested that and it works.

Encoding AC3 (i.e. converting 5.1 analog signals into the
two channel digital stream) is done by a Dolby Audio encoder.
This is licensed from Dolby. The Realtek ALC880 (assuming that
is the chip on your motherboard) comes in two versions, and
I believe the 880D version comes with a bundled AC3 software
encoder.

What the software encoder would allow, is taking an arbitrary
5.1 audio source, and converting to AC3, so it can pass over
SPDIF_out. I've seen one posting, concerning a Cmedia
implementation that does the same thing, and they report
the latency for conversion is 1.5 seconds. That makes it hard
to line up audio and video (lipsink), for example, unless
the video stream can be tracked via a timestamp somehow.

HP may or may not have bought the 880D version, for use on
your computer. And, in any case, software solutions like that
have limited utility (i.e. Windows desktop sound, like an
alert sound, taking 1.5 seconds before it reaches your
SPDIF equipped audio solution, would suck).

I wish I could answer your "analog in to digital out loopback"
question, but I don't know if OSes prevent this path on
purpose, or the absence of the path is just a driver bug
or oversight. Certainly, your question has been asked before.

SPDIF is a "Swiss cheese" that needs quite a few holes filled.
It is not a very useful standard.

To learn more about your onboard sound chip, try:
http://www.realtek.com.tw/products/products1-1.aspx?lineid=2004052

HTH,
Paul
 
A

Andy B

Hi Paul,

Thanks for your very informative reply, and apologies for my late
repsonse.

Since posting I've found a few things. Opened up the box to see how
the TV card was connected, and it is via an cable into the CD in on
the mother board.

According to Realtek (BTW, it's an 880D), they said this maybe
configured by choosing an option "Output digital and analog" from
their control panel applet. No such option exists. They then replied
by saying:
This function only support PCM Mode ( not Dolby digital ) .
We support this feature by motherboard model .
Maybe your motherboard didn't be supported by our driver .

Which is interesting, but confusing since both PCM and Dolby Digital
output are supported, just not the analog in...digital out.

I've also raised the question to HP, who where useless, but this is in
Hong Kong and their tech support here are handled by a 3rd party
contractor...

I've since stumbled on a software solution to this problem. You may
have heard of Snapstream Beyond TV, this has allows you to "pause live
TV". With this software, which I supposed must constantly record and
playing back in realtime, I get the audio output via the digital
output perfectly :)

The downside is I find their software occasionally hangs my PC....but
that's another issue altogether !

I'm still toying with the idea of buying another capture card. For
instance one based on this chipset appears to support bus mastering of
audio as well as video.

http://www.semiconductors.philips.com/acrobat_download/literature/9397/75010468.pdf

They state "It features a single slot PCI
card for analog video and TV stereo sound decoding and capture
through the PCI bus to the graphic frame buffer or directly to system
memory (e.g. for time-shift recording). A stereo audio signal can be
captured
from the line in (stereo) connector or decoded from the tuner's
sound IF signal. Once captured, the audio signal can be looped via an
analog audio loop-back cable, to the sound card, or bus mastered on
the host PCI bus."

This may provide another solution to my problem, and I could use any
TV capture software I like - maybe something that doesn't crash, and
that could flip channels quicker than Snapstream, would be nice ;)

Cheers,
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top