[Mplayer-users] video, but no sound

Andreas Schuldei andreas at schuldei.org
Thu Aug 30 19:28:57 CEST 2001


My sound runs fine, normally. But with mplayer I do not get audio
output. Under Windows I made sure that the file actually has
sound.
I run devfs, but /dev/dsp is still there, due to a symbolic link.

here is the verbose output of an example session.

andreas at johannes:~> mplayer -v  -vo xv


MPlayer CVS-010829-06:00(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)

CommandLine: '-v' '-vo' 'xv' 
num_filenames: 1
Reading /home/andreas/.mplayer/codecs.conf: 16 audio & 36 video codecs
font: can't open file: /home/andreas/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Playing 
File size is 239635608 bytes
Detected AVI file format!
======= AVI Header =======
us/frame: 0  (fps=  inf)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 74523   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  384 x 288
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 1000000/33368 = 29.969
Start: 0   Len: 74523
Suggested BufferSize: 0
Quality -1
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 384
  biHeight 288
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 331776
===========================
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 7963/1 = 7963.000
Start: 0   Len: 19800352
Suggested BufferSize: 0
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 44100
avg byte/sec: 7963
Block align: 1
bits/sample: 0
cbSize: 12
Title     : 
Comment   : 
Copyright : 
Found movie at 0x800 - 0xE350E2F
Reading INDEX block, 79846 chunks for 74523 frames
AVI index offset: 2044
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=217916895
VIDEO:  [DIV3]  384x288  24bpp  29.97 fps  701.1 kbps (85.6 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:384x288  fps:29.97  ftime:=0.0334
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 673
mp3lib: Using SSE! optimized decore.
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 8000->176400
Detected video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
Loading DLL: /usr/lib/win32/divx_c32.ax  OK
Using DirectShow codec: divx_c32.ax
Decoder is capable of YUV output ( flags 0x1 )
m_bIsDivX=1
INFO: Win32/DShow video codec init OK!
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x1024 with depth 16 and 16 bits/pixel (":0.0" => local display)
VO: [xv] 384x288 => 1280x960 Packed YUY2 fs
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(384x288->1280x960,flags=1,'MPlayer',0x32595559)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 46 for hw scaling
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 1280 dh: 1024
[xv-fs] dcx: 4 dcy: 52 dx: 0 dy: 32 dw: 1280 dh: 960
INFO: Video OUT driver init OK!
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 128/128  (1024 bytes/frag)  free: 131072
Start playing...
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 1280 dh: 1024
[xv-fs] dcx: 4 dcy: 52 dx: 0 dy: 32 dw: 1280 dh: 960
XXX initial  v_pts=0.434  a_pos=3719 (0.467) /  1   0%  0%  0.0% 0 0
A:   1.5 V:   1.4 A-V:  0.023 ct:  0.044   44/ 44  19%  9%  2.5% 0 0
Exiting... (Quit)
max framesize was 4649 bytes

I removed some parts for privacy.

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list