You are not logged in.

#1 2011-06-03 03:20:03

amoradi
Member
From: Beyond the horizon
Registered: 2010-01-23
Posts: 51
Website

TV tuner Card: Video, but no sound!

Hi all,

I have a Hauppauge HVR 1800 TV tuner and I have successfully got the video working on tvtime using LinuxTV project's awesome guide [1].  However, when I try to use mplayer to also listen to the sound, I get this message:

OSD menu support is not compiled in.

I tried to compile mplayer with menu support but I got a build error (I can't remember what the error was).  What else can I use to listen to the sound of the TV while watching it on tvtime or any other application?

[1] http://linuxtv.org/wiki/index.php/Haupp … V-HVR-1800

Thank you,
amoradi

Offline

#2 2011-06-03 07:32:56

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: TV tuner Card: Video, but no sound!

The tuner maybe has an audio-out, which you connect to audio-in on your sound card via a cable. It the tuner doesn't have that, it delivers sound internally. Tvtime doesn't have support for that, see here for a workaround: https://bbs.archlinux.org/viewtopic.php?id=94844. MPlayer just has to be configured properly. This is for a different tuner, but mplayer setup is the same (except possibly the audiorate): http://linuxtv.org/wiki/index.php/Terra … le#Viewers

Offline

#3 2011-06-03 22:22:56

amoradi
Member
From: Beyond the horizon
Registered: 2010-01-23
Posts: 51
Website

Re: TV tuner Card: Video, but no sound!

Thank you Gusar!

It looks like I have to buy a red/white stereo audio cable.  My TV card has a red/white output (marked R and L, respectively) and my computer also has a red/white *input* (again, marked R and L, respectively).  So, I would think that a red/white to red/white cable should suffice in bringing the TV sound to my computer.

Thank you again,
amoradi

Offline

#4 2011-06-03 22:52:42

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: TV tuner Card: Video, but no sound!

amoradi wrote:

My TV card has a red/white output

Are you sure those are audio-out? I would sooner say they're composite audio-in. Audio out is usually a jack plug and if the tuner uses this method for audio, an appropriate cable is supplied with the tuner.

Yep, this here says they're audio-in: http://www.bjorn3d.com/read.php?cID=1275&pageID=4864. So the tuner likely provides audio internally. So refer to the links I gave to get that working.

Offline

#5 2011-06-04 00:59:52

amoradi
Member
From: Beyond the horizon
Registered: 2010-01-23
Posts: 51
Website

Re: TV tuner Card: Video, but no sound!

Still doesn't work!

I got the cables, they didn't work, so I'm gonna have to return them tomorrow (I got them before I read your second reply!).  Then I tried sox, and that didn't work either.  Then I installed mplayer-svn from AUR (which actually compiles) and added --enable-menu to ./configure.  Now, mplayer doesn't give me any OSD menu errors, but this command:

mplayer /dev/video1 -vo x11 -nobps -autosync 30 -forceidx -hardframedrop -vc ffmpeg12 -idle -menu -cache 16384 -cache-seek-min 50 -mc 0 -ni

gives me:

MPlayer SVN-r33554-4.6.0 (C) 2000-2011 MPlayer Team
163 audiMPlayer SVN-r33554-4.6.0 (C) 2000-2011 MPlayer Team
163 audio & 362 video codecs

Playing /dev/video1.
Cache fill:  0.00% (0 bytes)   

Cache not filling, consider increasing -cache and/or -cache-min!
Invalid seek to negative position!

and mplayer doesn't show me anything and never quits (usless I press Ctrl+C).
I then tried the mplayer in the link you sent, and that didn't work either:

mplayer -vo xv -ao alsa \
-tv driver=v4l2: \
    device=/dev/video0: \
    width=720:height=576: \
    normid=1:chanlist=europe-west: \
    immediatemode=0:adevice=/dev/dsp1:amode=1: \
-vf crop=690:552,pp=li -aspect 4/3 tv://

gives me an mplayer with a green screen and nothing else!
(I just ignored channels=<list of channels> since I didn't know the name of the channels or how to get them)

And, I can't think of anything else I could do to get this sound working sad

Also, since all these commands reference /dev/dsp{1,2}, I thought this might be helpful:

$ ls /dev/*dsp*
/dev/adsp /dev/dsp

Thanks!

Offline

Board footer

Powered by FluxBB