[MPlayer-users] no audio output playing wma files - mplayer crosscompile for ARM
just4emmett
just4emmett at yahoo.com
Wed Jun 24 20:47:52 CEST 2009
Hello all! I have successfully cross-compiled mplayer (svn version 29382) for a Freescale i.MX27 (ARM) cpu on the MCIMX27ADSE development board. It is running OK, and I can play .mp3, .aac, .ra files no problem, but when I play .wma files I get no audio output. I tried directing the audio output to a .wav file, but the file is just silence. (Works OK for other formats).
I created the .wma file using Windows Media Encoder 9.00.00.2980. The encoding settings were CBR, 128 kbps, 44 KHz, stereo, audio codec: Windows Media Audio 9.2.
I have included the mplayer -v -v -v output below. If anyone has an idea what might be wrong, or suggestions on how to proceed, it would be greatly appreciated. Thanks! P.S. I tried playing this same file on a PC running Fedora 10 (MPlayer SVN-r28461-4.3.2) and it works fine.
-sh-2.05b# ./mplayer -v -v -v -ao pcm:waveheader:file=test3.wav 01_pastu.wma
this_opt = option: v
Setting v=-ao
this_opt = option: ao
Setting ao=pcm:waveheader:file=test3.wav
Adding file 01_pastu.wma
Config pushed level is now 2
Config pushed level is now 3
MPlayer UNKNOWN-4.1.2 (C) 2000-2009 MPlayer Team
CPU: ARM
get_path('codecs.conf') -> '//.mplayer/codecs.conf'
Reading //.mplayer/codecs.conf: Can't open '//.mplayer/codecs.conf': No such fil
e or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf':
No such file or directory
Using built-in default codecs.conf.
Configuration: --disable-armvfp --disable-jpeg --disable-termcap --disable-menco
der --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-libd
vdcss-internal --enable-cross-compile --cc=arm-none-linux-gnueabi-gcc --host-cc=
/usr/bin/gcc --extra-ldflags=-L/home/pete/ltib-imx27ads-20071219/rootfs/usr/lib
--extra-cflags=-I/home/pete/ltib-imx27ads-20071219/rootfs/usr/include --prefix=/
usr --target=arm-linux --mandir=/usr/share/man
CommandLine: '-v' '-v' '-v' '-ao' 'pcm:waveheader:file=test3.wav' '01_pastu.wma'
get_path('font/font.desc') -> '//.mplayer/font/font.desc'
font: can't open file: //.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '//.mplayer/input.conf'
Can't open input config file //.mplayer/input.conf: No such file or directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or direct
ory
Falling back on default (hardcoded) input config
get_path('01_pastu.wma.conf') -> '//.mplayer/01_pastu.wma.conf'
[[[init getch2]]]
Playing 01_pastu.wma.
get_path('sub/') -> '//.mplayer/sub/'
[file] File size is 824043 bytes
STREAM: [file] 01_pastu.wma
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
s->pos=0 newpos=0 new_bufpos=0 buflen=0
LAVF_check: ASF format
DEMUXER: freeing demuxer at 0xbfb868
s->pos=8000 newpos=0 new_bufpos=0 buflen=0
DEMUXER: freeing demuxer at 0xbfb868
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0xbfb868
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes, stream: 8 bytes ID: 1
unk1: 0 unk2: 41AF6C8
FILEPOS=0x145D
==> Found audio stream: 1
[asfheader] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 16002
Block align: 5945
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [0] [0] [0] [0]
==========================================================================
ASF: audio scrambling: 1 x 1 x 5945
ASF: packets: 137 flags: 2 max_packet_size: 5976 min_packet_size: 5976 max_b
itrate: 128639 preroll: 1579
Title: The Pasture
Author: Robert Frost
Copyright: Public Domain
Comment: Librivox recording of Selected Poems by Robert Frost, as chosen and re
ad by Becky Miller, Canal Winchester, Ohio.
Rating: Great!
============ ASF Stream group == START ===
stream count=[0x1][1]
stream id=[0x1][1]
max bitrate=[0x1f67f][128639]
============ ASF Stream group == END ===
Found movie at 0x14D3 - 0xC92EB
ASF: 1 audio and 0 video streams found
ASF: Searching for audio stream (id:-1).
82 00 00 08 5D 04 00 00 00 00 73 01 01 02 00 00
seg 0: 01 02 00 00 00 00 08 39 17 00 00 2B 06 00 00 09
Auto-selected ASF audio ID = 1
82 00 00 08 5D 04 73 01 00 00 73 01 01 03 00 00
seg 0: 01 03 00 00 00 00 08 39 17 00 00 70 07 00 00 18
Clip info:
title: The Pasture
author: Robert Frost
copyright: Public Domain
comments: Librivox recording of Selected Poems by Robert Frost, as chosen and r
ead by Becky Miller, Canal Winchester, Ohio.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'pcm', options 'waveheader:file=test3.wav'
[AO PCM] File: test3.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: RAW PCM/WAVE file writer audio output
AO: Author: Atmosfear
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
82 00 00 08 5D 04 E7 02 00 00 73 01 01 04 00 00
seg 0: 01 04 00 00 00 00 08 39 17 00 00 E2 08 00 00 28
82 00 00 08 5D 04 5A 04 00 00 73 01 01 05 00 00
seg 0: 01 05 00 00 00 00 08 39 17 00 00 56 0A 00 00 38
82 00 00 08 5D 04 CE 05 00 00 73 01 01 06 00 00
seg 0: 01 06 00 00 00 00 08 39 17 00 00 CA 0B 00 00 48
82 00 00 08 5D 04 41 07 00 00 73 01 01 07 00 00
seg 0: 01 07 00 00 00 00 08 39 17 00 00 3D 0D 00 00 58
82 00 00 08 5D 04 B5 08 00 00 73 01 01 08 00 00
seg 0: 01 08 00 00 00 00 08 39 17 00 00 B0 0E 00 00 67
82 00 00 08 5D 04 28 0A 00 00 73 01 01 09 00 00
seg 0: 01 09 00 00 00 00 08 39 17 00 00 01 10 00 00 77
82 00 00 08 5D 04 9C 0B 00 00 73 01 01 0A 00 00
seg 0: 01 0A 00 00 00 00 08 39 17 00 00 47 11 00 00 87
82 00 00 08 5D 04 0F 0D 00 00 73 01 01 0B 00 00
seg 0: 01 0B 00 00 00 00 08 39 17 00 00 80 12 00 00 99
82 00 00 08 5D 04 83 0E 00 00 73 01 01 0C 00 00
seg 0: 01 0C 00 00 00 00 08 39 17 00 00 22 14 00 00 A8
82 00 00 08 5D 04 F6 0F 00 00 73 01 01 0D 00 00
seg 0: 01 0D 00 00 00 00 08 39 17 00 00 96 15 00 00 B9
82 00 00 08 5D 04 6A 11 00 00 73 01 01 0E 00 00
seg 0: 01 0E 00 00 00 00 08 39 17 00 00 43 17 00 00 C8
82 00 00 08 5D 04 DD 12 00 00 73 01 01 0F 00 00
seg 0: 01 0F 00 00 00 00 08 39 17 00 00 C0 18 00 00 D8
82 00 00 08 5D 04 51 14 00 00 73 01 01 10 00 00
seg 0: 01 10 00 00 00 00 08 39 17 00 00 30 1A 00 00 E7
82 00 00 08 5D 04 C4 15 00 00 73 01 01 11 00 00
seg 0: 01 11 00 00 00 00 08 39 17 00 00 6F 1B 00 00 F6
82 00 00 08 5D 04 38 17 00 00 73 01 01 12 00 00
seg 0: 01 12 00 00 00 00 08 39 17 00 00 90 1C 00 00 08
82 00 00 08 5D 04 AB 18 00 00 73 01 01 13 00 00
seg 0: 01 13 00 00 00 00 08 39 17 00 00 F9 1D 00 00 18
82 00 00 08 5D 04 1F 1A 00 00 73 01 01 14 00 00
seg 0: 01 14 00 00 00 00 08 39 17 00 00 6C 1F 00 00 28
82 00 00 08 5D 04 92 1B 00 00 73 01 01 15 00 00
seg 0: 01 15 00 00 00 00 08 39 17 00 00 D4 20 00 00 37
82 00 00 08 5D 04 06 1D 00 00 73 01 01 16 00 00
seg 0: 01 16 00 00 00 00 08 39 17 00 00 26 22 00 00 47
82 00 00 08 5D 04 79 1E 00 00 73 01 01 17 00 00
seg 0: 01 17 00 00 00 00 08 39 17 00 00 5F 23 00 00 59
82 00 00 08 5D 04 ED 1F 00 00 73 01 01 18 00 00
seg 0: 01 18 00 00 00 00 08 39 17 00 00 13 25 00 00 68
82 00 00 08 5D 04 60 21 00 00 73 01 01 19 00 00
seg 0: 01 19 00 00 00 00 08 39 17 00 00 80 26 00 00 77
82 00 00 08 5D 04 D4 22 00 00 73 01 01 1A 00 00
seg 0: 01 1A 00 00 00 00 08 39 17 00 00 D0 27 00 00 88
82 00 00 08 5D 04 47 24 00 00 73 01 01 1B 00 00
seg 0: 01 1B 00 00 00 00 08 39 17 00 00 38 29 00 00 98
82 00 00 08 5D 04 BB 25 00 00 73 01 01 1C 00 00
seg 0: 01 1C 00 00 00 00 08 39 17 00 00 AC 2A 00 00 A8
82 00 00 08 5D 04 2E 27 00 00 73 01 01 1D 00 00
seg 0: 01 1D 00 00 00 00 08 39 17 00 00 1F 2C 00 00 B6
82 00 00 08 5D 04 A2 28 00 00 73 01 01 1E 00 00
seg 0: 01 1E 00 00 00 00 08 39 17 00 00 36 2D 00 00 C7
82 00 00 08 5D 04 15 2A 00 00 73 01 01 1F 00 00
seg 0: 01 1F 00 00 00 00 08 39 17 00 00 7B 2E 00 00 D7
82 00 00 08 5D 04 89 2B 00 00 73 01 01 20 00 00
seg 0: 01 20 00 00 00 00 08 39 17 00 00 B4 2F 00 00 E8
82 00 00 08 5D 04 FC 2C 00 00 73 01 01 21 00 00
seg 0: 01 21 00 00 00 00 08 39 17 00 00 34 31 00 00 F8
82 00 00 08 5D 04 70 2E 00 00 73 01 01 22 00 00
seg 0: 01 22 00 00 00 00 08 39 17 00 00 9B 32 00 00 07
82 00 00 08 5D 04 E4 2F 00 00 73 01 01 23 00 00
seg 0: 01 23 00 00 00 00 08 39 17 00 00 F2 33 00 00 17
82 00 00 08 5D 04 57 31 00 00 73 01 01 24 00 00
seg 0: 01 24 00 00 00 00 08 39 17 00 00 26 35 00 00 28
82 00 00 08 5D 04 CB 32 00 00 73 01 01 25 00 00
seg 0: 01 25 00 00 00 00 08 39 17 00 00 99 36 00 00 38
82 00 00 08 5D 04 3E 34 00 00 73 01 01 26 00 00
seg 0: 01 26 00 00 00 00 08 39 17 00 00 0D 38 00 00 47
82 00 00 08 5D 04 B2 35 00 00 73 01 01 27 00 00
seg 0: 01 27 00 00 00 00 08 39 17 00 00 5E 39 00 00 58
82 00 00 08 5D 04 25 37 00 00 73 01 01 28 00 00
seg 0: 01 28 00 00 00 00 08 39 17 00 00 D1 3A 00 00 68
82 00 00 08 5D 04 99 38 00 00 73 01 01 29 00 00
seg 0: 01 29 00 00 00 00 08 39 17 00 00 39 3C 00 00 78
82 00 00 08 5D 04 0C 3A 00 00 73 01 01 2A 00 00
seg 0: 01 2A 00 00 00 00 08 39 17 00 00 C1 3D 00 00 89
82 00 00 08 5D 04 80 3B 00 00 73 01 01 2B 00 00
seg 0: 01 2B 00 00 00 00 08 39 17 00 00 4F 3F 00 00 99
82 00 00 08 5D 04 F3 3C 00 00 73 01 01 2C 00 00
seg 0: 01 2C 00 00 00 00 08 39 17 00 00 06 41 00 00 A8
82 00 00 08 5D 04 67 3E 00 00 73 01 01 2D 00 00
seg 0: 01 2D 00 00 00 00 08 39 17 00 00 6F 42 00 00 B8
82 00 00 08 5D 04 DA 3F 00 00 73 01 01 2E 00 00
seg 0: 01 2E 00 00 00 00 08 39 17 00 00 E3 43 00 00 C9
82 00 00 08 5D 04 4E 41 00 00 73 01 01 2F 00 00
seg 0: 01 2F 00 00 00 00 08 39 17 00 00 8F 45 00 00 D7
MPlayer interrupted by signal 2 in module: decode_audio
A: 17.5 (17.5) of 50.0 (50.0) 23.0%
*** uninit(0x6CA)
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: ffmpeg
DEMUXER: freeing demuxer at 0xbfb868
DEMUXER: freeing sh_audio at 0xbfdb18
[[[uninit getch2]]]
Exiting... (Quit)
max framesize was 0 bytes
More information about the MPlayer-users
mailing list