Topic - No sound with mplayer tv.



Reply to this topic

Topic Starter gastonv - Posted on Tuesday, March 2 2010 09:33:04 AM
Hello,
With the following command I can see TV-streams very well, but I don't have any sound.

[gastonv@d51520994 ~]$ mplayer -vo x11 tv://17 -tv driver=v4l2:fps=25:outfmt=i420:mjpeg:decimation=1:quality=0:input=0:alsa:amode=1:audiorate=32000:forceaudio:adevice=hw.$DEV:volume=100:immediatemode=0
MPlayer SVN-r29800-4.4.2 (C) 2000-2009 MPlayer Team
This codecs.conf is too old and incompatible with this MPlayer release! at line 6
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://17.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <[email protected]>
comment: first try, more to come ;-)
Selected device: Pinnacle PCTV Stereo (saa7134)
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilites: video capture video overlay VBI capture device tuner read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; 9 = PAL-M; 10 = PAL-N; 11 = PAL-Nc; 12 = PAL-60; 13 = SECAM; 14 = SECAM-B; 15 = SECAM-G; 16 = SECAM-H; 17 = SECAM-DK; 18 = SECAM-L; 19 = SECAM-Lc;
inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : STEREO
MJP: width 720 height 578
TV channel names detected.
Selected channel: SE5 - 17 ARD Das Erste (freq: 133.250)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 720x578 => 720x578 Planar I420
[swscaler @ 0x9f88c60]using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawi420] vfm: raw (RAW I420)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Selected channel: S39 - 18 ZDF (freq: 447.250)86 0% 31% 0.1% 0 0
Selected channel: S33 - 19 BBC ONE (freq: 399.250)0% 31% 0.1% 0 0
Selected channel: S39 - 18 ZDF (freq: 447.250)20 0% 33% 0.1% 0 0
Selected channel: SE5 - 17 ARD Das Erste (freq: 133.250) 0.1% 2 0
Selected channel: SE10 - 16 France 2 (freq: 168.250) 34% 0.1% 2 0
v4l2: 477 frames successfully processed, 6 frames dropped.0.1% 2 0

Exiting... (Quit)

My TV-card Sound-output is connected with the Sound-input from my soundcard.

My cards:
[gastonv@d51520994 ~]$ cat /proc/asound/cards
0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xec00, irq 17
1 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with ALC655 at 0xdc00, irq 22
2 [SAA7134 ]: SAA7134 - SAA7134
saa7134[0] at 0xdffffc00 irq 18

The second card will not be used.
With this mplayer command the output text doesn't show any error, but I can't hear any sound.
Perhaps I do configure something more or others?

Many thanks in advance for any help.
Kind regards,
Gaston Verhulst.