Saturday, May 29, 2004

The Sound Demon (not daemon) on Linux

I was playing a bengali song on my PC - the rich silky voice of Lopamudra Mitra on XMMS ...
I had built and installed MPlayer some days back.
I thought of just starting a video simultaneously.
As soon I did the following :
mplayer /win1/movies/The\ Matrix/Part1.DAT

Once or twice the video screen came up and then disappeared failing on some count or the other
All the codecs are in place and mplayer install was successful and yet it does not work.
Then the screen came up and remained blank - it neither played video nor audio.
But the XMMS output changed to a strange voice of some man (remember it was playing a female voice a few minutes back)
Then I stopped mplayer and again started and the audio output became even more morphed like the voice of some ghost.
I closed and restarted XMMS but the audio remains like an old ghost/demon - thus came the audio ghost into my system.


CAN YOU DECIPHER THE FOLLOWING OUTPUT OF MPlayer :
Most probably the bitrate or frequency of output of the sound card was reset to some unearthly value by the audio drivers on loading mplayer - hence the ghost !

Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 352x288 => 384x288 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
A: -4.8 V: 0.0 A-V: -4.833 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%


THE COMPLETE DUMP FROM MPLAYER - THE WINDOW COMES UP BUT DOES NOT PLAY
MPlayer 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 451.3 MHz (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing /win1/movies/The Matrix/Part1.DAT.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO: MPEG1 352x288 (aspect 8) 25.000 fps 1151.6 kbps (144.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/devices.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 352x288 => 384x288 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
Broken pipe 0.0 A-V: -4.833 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%




No comments:

Post a Comment