[MPlayer-users] devices

Ian Molton spyro at f2s.com
Wed Nov 27 23:31:02 CET 2002


On 27 Nov 2002 20:04:28 +0000
gabor <gabor at realtime.sk> wrote:

> > I /did/ rtfm, and found it lacking. I tried the '-ao
> > oss:/dev/sound/dsp' option as documented, and it failed.
> 
> come on, now you really assume that with this info 'it failed' we will
> be able to tell you how to solve it?

Sorry. I assumed the line you quoted was corrct and decided Id try it
later (hence I didnt expand further on my original problem).

> what about a proper bugreport? DOCS/bugreports.html
> 
> or at least tell us:
> what soundcard, what driver ( oss/alsa )?

evidently, oss ;-)

> failed/... how did it fail? ( the output of mplayer -v -ao
> oss:/deve/sound/dsp your.avi)

bash-2.05a$ mplayer -v -ao oss:/dev/sound/dsp
Movies/Shrek_-_english.divx3.avi 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/apps/share/locale


MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

[cfg] read config file: /home/ian/.mplayer/gui.conf
parameter must be >= 0: -1
/home/ian/.mplayer/gui.conf(34): cache
[cfg] config file read error ...
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0" => local
display)
Reading /home/ian/.mplayer/codecs.conf: can't open
'/home/ian/.mplayer/codecs.conf': No such file or directory
Reading /usr/apps/etc/mplayer/codecs.conf: 38 audio & 110 video codecs
CommandLine: '-v' '-ao' 'oss:/dev/sound/dsp'
'Movies/Shrek_-_english.divx3.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: No such file or directory (mplayer should be
setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/ian/.mplayer/input.conf'
Can't open input config file /home/ian/.mplayer/input.conf : No such
file or directory
Can't open input config file /usr/apps/etc/mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) input config
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
get_path('Skin') -> '/home/ian/.mplayer/Skin'
SKIN dir 1: '/home/ian/.mplayer/Skin'
SKIN dir 2: '/usr/apps/share/mplayer/Skin'
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
get_path('subfont.ttf') -> '/home/ian/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
get_path('subfont.ttf') -> '/home/ian/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.

Playing Movies/Shrek_-_english.divx3.avi
Not an URL!
File size is 735295488 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 126571   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  512 x 384
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 126571
Suggested BufferSize: 70986
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 512
  biHeight 384
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 589824
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 219959
Suggested BufferSize: 384
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 15999
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x230C
hdr=Software  size=15
Software  : Nandub v1.0rc2
hdr=Name  size=13
Name      : Shrek *ViTE*
hdr=Subject  size=13
Subject   : Shrek *ViTE*
hdr=Artist  size=5
Artist    : ViTE
hdr=Copyright  size=5
Copyright : ViTE
hdr=Comments  size=5
Comments  : ViTE
Broken chunk?  chunksize=1260  (id=JUNK)
list_end=0x2B7F16CA
Found movie at 0x280C - 0x2B7F16CA
Reading INDEX block, 346530 chunks for 126571 frames (fpos=0x2b7f16d2)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=726746751
VIDEO:  [DIV3]  512x384  24bpp  23.98 fps  1101.3 kbps (134.4 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:512x384  fps:23.98  ftime:=0.0417
Clip info: 
 Software: Nandub v1.0rc2
 Name: Shrek *ViTE*
 Subject: Shrek *ViTE*
 Artist: ViTE
 Copyright: ViTE
 Comments: ViTE
get_path('sub/') -> '/home/ian/.mplayer/sub/'
=======================================================================
===
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
=======================================================================
===
=======================================================================
===
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4
v3))
=======================================================================
===
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: Can't open audio device /dev/dsp: No such file or directory
couldn't open/init audio device -> no sound
uninit audio: mp3lib  
Audio: no sound!!!
Freeing 19 unused audio chunks
Start playing...
VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (512x384->512x384,flags=0,'MPlayer',0x32315659)
VO: [xv] 512x384 => 512x384 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 61 for hw scaling
[xv] dx: 0 dy: 0 dw: 512 dh: 384
*** [vo] Allocating mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
get_path('subfont.ttf') -> '/home/ian/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[xv] dx: 0 dy: 0 dw: 512 dh: 384
*** [vo] Allocating mp_image_t, 512x384x12bpp YUV planar, 294912 bytes




More information about the MPlayer-users mailing list