[MPlayer-users] MPlayer & RAM files
Steve Waller
qprfact at yahoo.co.uk
Sat Dec 22 14:20:58 CET 2007
Aha! I seem to be getting somewhere here. I went back to the website I
mentioned
earlier and ran the "svn checkout " command.
I then tried my RAM file again and heard it playing the streaming audio, but
it
only played for about 30 secs. This was the output:
Macintosh:RAM Files me$ mplayer -playlist mon1830.ram -v
MPlayer dev-CVS-041116-19:27-3.3 (C) 2000-2004 MPlayer Team
AltiVec found
CPU: PowerPC
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /Users/me/.mplayer/config
Reading /Users/me/.mplayer/codecs.conf: Can't open
'/Users/me/.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: '-playlist' 'mon1830.ram' '-v'
init_freetype
get_path('font/font.desc') -> '/Users/me/.mplayer/font/font.desc'
font: can't open file: /Users/me/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using Unoptimized OnScreenDisplay
Using Darwin accurate timing
get_path('input.conf') -> '/Users/me/.mplayer/input.conf'
Can't open input config file /Users/me/.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
get_path('mon1830.ra.conf') -> '/Users/me/.mplayer/mon1830.ra.conf'
Playing rtsp://rmv8.bbc.net.uk/radio4/comedy/mon1830.ra.
Filename for url is now rtsp://rmv8.bbc.net.uk/radio4/comedy/mon1830.ra
Filename for url is now rtsp://rmv8.bbc.net.uk/radio4/comedy/mon1830.ra
Resolving rmv8.bbc.net.uk for AF_INET6...
Couldn't resolve name for AF_INET6: rmv8.bbc.net.uk
Resolving rmv8.bbc.net.uk for AF_INET...
Connecting to server rmv8.bbc.net.uk[212.58.252.7]:554 ...
Cache size set to 640 KBytes
Connected to server: rmv8.bbc.net.uk
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 18.75% (0 bytes) Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 0
real: File version: 0
Chunk: PORP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x16e
Flags (12): [perfect play (more buffers)]
Chunk: TNOC (544e4f43) (size: 0x5b, offset: 0x44)
Chunk: RPDM (5250444d) (size: 0xc5, offset: 0x9f)
Found new stream (id: 0)
skip_str: 45 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
header size: 70
frame_size: 744
sub_packet_size: 186
samplerate: 44100, channels: 2
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 64083
Block align: 744
bits/sample: 16
cbSize: 18
Unknown extra header dump: [0] [ba] [0] [14] [0] [c] [2] [e8] [0] [8] [1]
[0]
[0] [2] [8] [0] [0] [25]
===========================
### skipping 0 bytes of codec info
Chunk: ATAD (41544144) (size: 0xdc3d40, offset: 0x164)
Packets in file: 19400
Auto-selected RM audio ID = 0
Clip info:
name: Radio 4 Monday Comedy
author: BBC Radio 4
copyright: (C) British Broadcasting Corporation 2007
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/Library/Application
Support/ffmpegX/reallib/cook.so.6.0'
Error: dlopen(/Library/Application Support/ffmpegX/reallib/cook.so.6.0, 1):
image not found
ERROR: Could not open required DirectShow codec cook.so.6.0.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
ERROR: Could not open required DirectShow codec cook3260.dll.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/Library/Application
Support/ffmpegX/reallib/cook.bundle/Contents/MacOS/cook'
Audio codec: [12] 64 Kbps Stereo Music
Audio bitrate: 64.083 kbit/s (8010 bps)
dec_audio: Allocating 14880 bytes for input buffer.
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer.
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 8010->176400 (64.1 kbit)
Selected audio codec: [racookmac] afm:realaud (Mac OS X 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 = 0x00000000 and
bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit
(Big-Endian)
SDL: buf size = 4096
AO: [sdl] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
AO: Description: SDLlib audio output
AO: Author: Felix Buenemann <atmosfear at users.sourceforge.net>
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000000 and
bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000000 and
bps = 2
Video: no video
Freeing 0 unused video chunks.
Starting playback...
rdt chunk not recognized: got
0x4f
rdt chunk not recognized: got 0x2a
ds_fill_buffer: EOF reached (stream:
audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
EOF code: 1 21.4) 3.4%0%
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: realaud
DEMUXER: freeing demuxer at 0x103c800
DEMUXER: freeing sh_audio at 0xf4f680
SDL: Audio Subsystem shutting down!
Exiting... (End of file)
Macintosh:RAM Files me$
So, the questions I have are:
1. Why does it not play the whole stream? (When I run MPlayer in Linux this
file
works)
2. Can it be made to play to the harddrive, so I don't hear it while
streaming?
(once again, pretty sure Linux doesn't do this)
3. How do I specify output file name (presumably wav?) and location?
4. I can run mplayer from terminal, but how do I put this in my Applications
folder? I can't find a file called mplayer.app anywhere
Thanks in advance!
More information about the MPlayer-users
mailing list