[MPlayer-users] Problem with audio

Fabio S. fast at ferrara.linux.it
Wed Aug 9 20:08:49 CEST 2006


Hi all.
I have a strange problem: if I use mplayer to watch the tv then I can't 
get the audio.

Please let me be more precise in describing the problem.
First of all, the tv works fine: I can see and ear it with xawtv.

Now to mplayer.
When I try the command

 	mplayer -tv driver=v4l2:input=0  tv://

I can see the tv but without audio. On the other hand, if I try

 	mplayer -tv driver=v4l:input=0  tv://

then I can ear the audio but I can't see the video!!!!

So, what is going on?!?

I must also say that I have a dual boot: mandriva LE 2005 / ubuntu 6.06. 
Well, the command

 	mplayer -tv driver=v4l2:input=0  tv://

works fine for mandriva: I have the problem only under ubuntu.
I installed mplayer via apt-get, using multiverse.
mplayer, on the other hand, works correctly on all avi files I have.

Any idea?

Thank you for any help

Fabio

PS: to help you, I inlude the output of the two commands (under ubuntu):



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[coccobill 19:46:37]$ mplayer -tv driver=v4l2:input=0  tv://
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.


91 audio & 204 video codecs
Playing tv://.
Selected driver: v4l2
  name: Video 4 Linux 2 input
  author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
  comment: first try, more to come ;-)
Selected device: BT878 video (Pinnacle PCTV Stud
  Tuner cap:
  Tuner rxs: MONO
  Capabilites:  video capture  video overlay  VBI capture device  tuner 
read/write  streaming
  supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = 
PAL-N; 6 = NTSC-JP; 7 = PAL-60;
  inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
  Current input: 0
  Current format: YVU420
v4l2: current audio mode is : MONO
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V:   0.0  96/ 96 ??% ??% ??,?% 0 0


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[coccobill 19:49:54]$ mplayer -tv driver=v4l:input=0  tv://
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.


91 audio & 204 video codecs
Playing tv://.
Selected driver: v4l
  name: Video 4 Linux input
  author: Alex Beregszaszi
  comment: under development
=================================================================
  WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
  As the V4L1 compatibility layer is broken, this may not work.
  If you encounter any problems, use driver=v4l2 instead.
  Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: BT878 video (Pinnacle PCTV Stud
  Capabilites: capture tuner overlay clipping scales
  Device type: 171
  Supported sizes: 48x32 => 924x576
  Inputs: 4
   0: Television: tuner audio tv camera  (tuner:1, norm:pal)
   1: Composite1: audio camera  (tuner:0, norm:pal)
   2: Composite2: audio camera  (tuner:0, norm:pal)
   3: S-Video: audio camera  (tuner:0, norm:pal)
Using input 'Television'
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 48 x 32 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 48x32 => 48x32 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
   MJP: returning! 0%  1%  0.0% 0 0





More information about the MPlayer-users mailing list