[MPlayer-users] Re: no joy with latest CVS April 1, 2004

michael higgins michael.higgins at snet.net
Fri Apr 2 02:09:09 CEST 2004


Roberto Togni wrote:

> On 2004.04.01 23:20, michael higgins wrote:
> Hi!
> [...]
> 
>> I installed MPlayer from CVS this morning, got the error (again at  
>> bottom), re-installed to the previous release as I'd mentioned. I  
>> thought, since I'd gotten some help from the list about these  
>> realaudio streams that don't play, I'd at least check out the CVS and  
>> see what happened when I built it. And I posted what happened...  
>> really, that's all there was. Work was slow this morning.
>>
> [...]
> 
>> And alsa:
>>
>> pkg-config --modversion alsa
>> 1.0.2
> 
> [...]
> 
>>> problem in last message seemed not to be the sample but inability to  
>>> open the audio device.
>>
>>
>>
>> Right. It's not a problem but a report of the install from CVS, which  I
>> just undid immediately thereafter.
>>
>> It had nothing to do with the info about the stream, it's just all  
>> there was to post.
>>
>> >Could not open/initialize audio device -> no sound.
>> >Audio: no sound
>> >Video: no video
>>
>> This was the unexpected error.
> 
> 
> That's the problem. Your stream have no video (that's ok, it's audio  
> only), MPlayer was not able to play audio (decoding was ok with  
> liba52), so it had nothing to do and quit.
> 

Okay.

[]

>> However, I'd _like_ to help someone else figure it out, if it helps  
>> the development overall. Is this unreasonable? I haven't followed the  
>> list long enough to judge.

However, by putting my foot in it, I did find the docs that cover much 
of what I couldn't respond to... in appendix 'b'. I don't like to gripe, 
but, imho, the site needs a little, erhm, 'whitespace'.

Wow. And it all exists on my hard drive. I'm an idiot.

> 
> If your problem is with audio device, you should get it with every  
> file. Can you confirm it?

Yes, I'll be working on that. It's an old box, so, it _might_ be done by 
the time I'm done typing.

In retrospect, there was a stream I couldn't play, which prompted me to 
try the CVS to update, since you can't really do anything until that's 
been done.

I have been getting a lot of warnings in the compilation. I've only 
learned of late to log the terminal output so I can look at it later. 
And I enabled ./configure --enable-debug=3 just in case that'd be useful.

> Looks like you're using Alsa (i use oss and everything works ok here):  
> can you try oss emulation mode? (if it works, it can be a workaround)

Good point. Never would've thought of that.

> Else, if you have some time to spare, try to downgrade ao_alsa1x.c  
> (since you're using Alsa 1.0.2) using cvs upgrade -r # libao2/alsa1x.c  
> where # is the version number of the file (current version is 1.43),  
> and check when it broke.

Wow. I could try that if it made any sense to me. To be quite honest, 
this is the first package that came with a configure script so I could 
make it. I don't know squat 'bout CVS. Really. Nada. Zip. Zil.

... Do you mean to install _alsa_ from CVS? And then downgrade that?

I appreciate all this feedback, if nothing else. I know I'm too verbose 
myself. '-)

Given that, should I send the compile log somewhere, with all the errors 
maybe?

Okay. I'll put this here for those who have read this far. Using the OSS 
driver emulation worked.

Below is all the stuff I could've sent the first time if I'd RTFM.

Having read the fine manual, I have to say they are probably the best 
written and most informative documentation I've seen to date for any 
product. It should be adapted for publication.

-- mike higgins

----------------------------------------------------

here are the system infos:

Linux version 2.4.20-8 (bhcompile at porky.devel.redhat.com) (gcc version 
3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 3
model name      : Pentium II (Klamath)
stepping        : 4
cpu MHz         : 267.280
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca 
cmov mmx
bogomips        : 532.48

snd-pcm-oss            44676   0 (autoclean)
snd-mixer-oss          16592   0 (autoclean) [snd-pcm-oss]
snd-sb16                8164   0 (autoclean)
snd-pnp                 5660   0 (autoclean) [snd-sb16]
snd-sb16-dsp            8688   0 (autoclean) [snd-sb16]
snd-pcm                85824   0 (autoclean) [snd-pcm-oss snd-sb16-dsp]
snd-page-alloc         10164   0 (autoclean) [snd-pcm]
snd-mpu401-uart         5360   0 (autoclean) [snd-sb16]
snd-rawmidi            18720   0 (autoclean) [snd-mpu401-uart]
snd-opl3-lib            9028   0 (autoclean) [snd-sb16]
snd-timer              19812   0 (autoclean) [snd-pcm snd-opl3-lib]
snd-seq-device          6204   0 (autoclean) [snd-rawmidi snd-opl3-lib]
snd-sb16-csp           18060   0 (autoclean) [snd-sb16]
snd-sb-common          12292   0 (autoclean) [snd-sb16 snd-sb16-dsp 
snd-sb16-csp]
snd-hwdep               7136   0 (autoclean) [snd-opl3-lib snd-sb16-csp]
snd                    46116   0 (autoclean) [snd-pcm-oss snd-mixer-oss 
snd-sb16 snd-sb16-dsp snd-pcm snd-mpu401-uart snd-rawmidi snd-opl3-lib 
snd-timer snd-seq-device snd-sb16-csp snd-sb-common snd-hwdep]
soundcore               6404   6 (autoclean) [snd]
appletalk              26404   0 (autoclean)
autofs                 13268   0 (autoclean) (unused)
3c59x                  30704   2
ext3                   70784   2
jbd                    51892   2 [ext3]
aic7xxx               141236   1
sd_mod                 13452   2
scsi_mod              107128   2 [aic7xxx sd_mod]

I don't see my card listed in lspci -vvv ... must be ISA?

...

  /lib/libc-2.3.2.so

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

GNU ld version 2.13.90.0.18 20030206

GNU assembler 2.13.90.0.18 20030206

  . . .


Ok. Made and installed. Failed on local dumped stream.

gdb mplayer output follows. I'll save the compile log, or however 
_that's_ reported, for another time, if it's called for.

-- mike higgins

(gdb) run -v /home/col/TOTN01-0.s
Starting program: /usr/local/bin/mplayer -v /home/col/TOTN01-0.s
[New Thread 1078133216 (LWP 15778)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-040401-10:59-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium II Klamath/Pentium II OverDrive 267.7 MHz (Family: 6, 
Stepping: 4)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 61 audio & 169 video codecs
CommandLine: '-v' '/home/col/TOTN01-0.s'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Input config file /root/.mplayer/input.conf parsed: 53 binds
get_path('TOTN01-0.s.conf') -> '/root/.mplayer/TOTN01-0.s.conf'

Playing /home/col/TOTN01-0.s.
[file] File size is 8062442 bytes
STREAM: [file] /home/col/TOTN01-0.s
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x839ee00
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x839ee00
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x839ee00
Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 0
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x12c
Flags (2): [perfect play (more buffers)]
Chunk: CONT (544e4f43) (size: 0x19, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xc5, offset: 0x5d)
Found new stream (id: 0)
skip_str: 45 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
  00 00
  2E 72 61 35
  00 00 00 00
  00 05
  00 00 00 46
  00 78 6D 80
  00 03 AA B7
  00 03 AA B7
frame_size: 558
sub_packet_size: 93
  00 00
  00 00 56 22 00 00
  00 00
samplerate: 22050, channels: 1
  67 65 6E 72
  01 02 00
  00
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 22050
avg byte/sec: 32115
Block align: 558
bits/sample: 16
cbSize: 18
Unknown extra header dump: [5d] [0] [10] [0] [7] [0] [2e] [2] [8] [0] 
[1] [0] [0] [2] [2] [0] [0] [18]
===========================
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x78b56e, offset: 0x122)
Packets in file: 14177

packet#0: pos: 0x134, len: 570, id: 0, pts: 0, flags: 2 rvd:0
Auto-selected RM audio ID = 0
Clip info:
  author: NPR
  copyright: 2003
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/cook.so.6.0'
Audio codec: [7] 32 Kbps Voice
Audio bitrate: 32.041 kbit/s (4005 bps)
dec_audio: Allocating 8928 bytes for input buffer.
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer.
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 4005->44100 (32.0 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
Checking audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 
and bps = 2
AF_pre: af format: 2 bps, 1 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 1ch Signed 16-bit (Little-Endian)
Could not open/initialize audio device -> no sound.
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: realaud
Audio: no sound
Freeing 0 unused audio chunks
Video: no video
Freeing 0 unused video chunks

DEMUXER: freeing demuxer at 0x839ee00
DEMUXER: freeing sh_audio at 0x839ba58
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

Program exited normally.




More information about the MPlayer-users mailing list