[MPlayer-users] realaudio index

Raphael Clifford raphael at clifford.net
Tue Jul 29 17:24:37 CEST 2003


Is there any way to skip/seek in a readaudio file.  When I attempt to I get
"Cannot seek in this file."

mplayer -idx doesn't make any difference to this. I tried mplayer 
-forceidx but unfortunately that segfaulted. I will provide a backtrace 
if it turns out I didn't make a stupid mistake.

MPlayer dev-CVS-030729-11:38-3.1.  redhat 7.3 with gcc 3.1 installed and 
mplayer compiled from daily CVS snapshot with live enabled.

Here is the output of mplayer -v

-------------------------------------------------------------------------------------------------------------------------
MPlayer dev-CVS-030729-11:38-3.1 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon 
(Family: 6, Stepping: 2)
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: No such file or 
directory
Reading config file /home/clifford/.mplayer/config
Reading /home/clifford/.mplayer/codecs.conf: can't open 
'/home/clifford/.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
CommandLine: '-v' 'newsquiz.ra' '2'
get_path('font/font.desc') -> '/home/clifford/.mplayer/font/font.desc'
font: can't open file: /home/clifford/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/clifford/.mplayer/input.conf'
Can't open input config file /home/clifford/.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
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('newsquiz.ra.conf') -> '/home/clifford/.mplayer/newsquiz.ra.conf'

Playing newsquiz.ra
Not an URL!
[file] File size is 9775222 bytes
STREAM: [file] newsquiz.ra
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x850cbd8 
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x850cbd8 
Checking for REAL
REAL file format detected.
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x178
Flags (2): [perfect play (more buffers)]
Chunk: CONT (544e4f43) (size: 0x5d, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xcd, offset: 0xa1)
Found new stream (id: 0)
skip_str: 45 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
frame_size: 640
sub_packet_size: 128
samplerate: 44100, channels: 2
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 26
Unknown extra header dump: [80] [0] [10] [0] [17] [0] [80] [2] [10] [0] 
[1] [0] [0] [3] [8] [0] [0] [25] [0] [0] [0] [0] [0
] [2] [0] [4]
===========================
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x927980, offset: 0x16e)
Packets in file: 14999
Auto-selected RM audio ID = 0
Clip info:
 name: Radio 4 Saturday Comedy
 author: BBC Radio 4
 copyright: (C) British Broadcasting Corporation 2003
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/real/cook.so.6.0'
Audio codec: [23] 44 Kbps Stereo Music High - RA8
Audio bitrate: 44.100 kbit/s (5513 bps) 
dec_audio: Allocating 10240 bytes for input buffer
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 5513->176400 (44.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 
and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
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 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 
and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 
and bps = 2
Video: no video
Freeing 0 unused video chunks
Starting playback...

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

Raphael




More information about the MPlayer-users mailing list