LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   I can't get .asf files to play in mplayer..... (http://www.linuxquestions.org/questions/linux-software-2/i-cant-get-asf-files-to-play-in-mplayer-71534/)

garymansell 07-10-2003 08:21 AM

I can't get .asf files to play in mplayer.....
 
At my place of work we have a integrated email and voicemail system that sends users via email a audio recording of any voicemail messages that they receive.

Unfortunately the voicemail messages are in .asf format and I cannot seem to get them to play.

I have installed mplayer and can use it to listen to most types of audio and video OK.

When I try to listen to the voicemail clip, I get no sound and the following output:

[grma@grma-lap 7] > mplayer content.asf
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /usr2/userdata/grma/.mplayer/config
Reading /usr2/userdata/grma/.mplayer/codecs.conf: can't open '/usr2/userdata/grma/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /usr2/userdata/grma/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
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
Can't open input config file /usr2/userdata/grma/.mplayer/input.conf : No such file or directory
Can't open input config file /etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing content.asf
ASF file format detected.
============ ASF Stream group == START ===
object size = 32
stream count=[0x1][1]
stream id=[0x1][1]
max bitrate=[0x1af4][6900]
============ ASF Stream group == END ===
==========================================================================
Opening audio decoder: [dshow] Win32/DirectShow decoders
AUDIO: 8000 Hz, 1 ch, 16 bit (0x10), ratio: 805->16000 (6.4 kbit)
Selected audio codec: [acelp] afm:dshow (ACELP.net Sipro Lab Audio Decoder)
==========================================================================
Checking audio filter chain for 8000Hz/1ch/16bit -> 8000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 8000 hz, little endian signed int
AF_pre: 8000Hz 1ch Signed 16-bit (Little-Endian)
AO: [oss] 8000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 8000Hz/1ch/16bit -> 8000Hz/2ch/16bit...
Video: no video
Starting playback...
A: -0.0 1.1% 0%
Total Unfree 5046 bytes cnt 12 [(nil),0]

Exiting... (End of file)
[grma@grma-lap 8] >


It would seem to detect the file type OK and has the necessary codec to play it but no sound comes out. I have checked the file with Windows Media Player and it is fine.

What can I do to play it in mplayer (or any other application) ??

Any help gladly received

Regards

Gary Mansell


All times are GMT -5. The time now is 09:10 PM.