[#4635] EZ-KIT BF 527: VLC cannot play mp3 file
Submitted By: David Field
Open Date
2008-11-11 18:09:22 Close Date
2009-01-20 23:22:19
Priority:
Medium Assignee:
Yi Li
Status:
Closed Fixed In Release:
N/A
Found In Release:
2008R1.5-RC3 Release:
2008R1.5RC3
Category:
uClinux-dist applications Board:
EZKIT Lite
Processor:
BF527 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
1.1.6-2008R1.5 Toolchain version or rev.:
08r1-8
App binary format:
N/A
Summary: EZ-KIT BF 527: VLC cannot play mp3 file
Details:
Hi,
mp3play can play mp3 file, vlc cannot.
I tried with 3 different mp3 files with same result.
Opening online radio leads to the same result.
root:/> vlc toto.mp3
VLC media player 0.8.6b Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************
It is potentially dangerous, and might not even work properly.
Remote control interface initialized. Type `help' for help.
status change: ( new input: toto.mp3 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
[00000224] access_file access error: read failed (Bad address)
Thanks,
David
Follow-ups
--- Yi Li 2009-01-08 03:31:36
Tested on both 2008R1.5 and SVN trunk on BF537-STAMP, it seems VLC cannot play
mp3 correctly. VLC broken? Or I am not using VLC correctly?
root:/> lsmod
Module Size Used by
snd_pcm_oss 30664 0
snd_mixer_oss 11252 1 snd_pcm_oss
snd_ad1836 16276 0
snd_pcm 47628 2 snd_pcm_oss,snd_ad1836
snd_timer 13952 1 snd_pcm
snd_page_alloc 4352 1 snd_pcm
snd 31756 5
snd_pcm_oss,snd_mixer_oss,snd_ad1836,snd_pcm,snd_timer
root:/> vlc -vvv /mnt/09\ -\ Farewell,\ Angelina.mp3
VLC media player 0.8.6b Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************
It is potentially dangerous, and might not even work properly.
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file
/root/.vlc/cache/plugins-04041e.dat
[00000001] main private warning: could not open plugins cache file
/root/.vlc/cache/plugins-04041e.dat for reag
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 168 modules
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private warning: config file /root/.vlc/vlcrc does not exist
yet
[00000001] main private debug: CPU has capabilities
[00000001] main private debug: looking for memcpy module: 1 candidate
[00000001] main private debug: using memcpy module "memcpy"
default thread stack size: 12288
[00000216] main playlist debug: waiting for thread completion
[00000216] main playlist debug: thread 1026 (playlist) created at priority 0
(../../vlc-0.8.6b/src/playlist/pl)
default thread stack size: 12288
[00000217] main private debug: waiting for thread completion
[00000217] main private debug: thread 2051 (preparser) created at priority 0
(../../vlc-0.8.6b/src/playlist/pl)
[00000218] main interface debug: looking for interface module: 1 candidate
[00000218] main interface debug: using interface module "hotkeys"
default thread stack size: 12288
[00000218] main interface debug: thread 3076 (interface) created at priority 0
(../../vlc-0.8.6b/src/interface)
[00000216] main playlist debug: adding playlist item `/mnt/09 - Farewell,
Angelina.mp3' ( /mnt/09 - Farewell, )
[00000219] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000219] main interface debug: using interface module "rc"
default thread stack size: 12288
[00000216] main playlist debug: creating new input thread
[00000219] main interface debug: thread 4101 (manager) created at priority 0
(../../vlc-0.8.6b/src/interface/i)
default thread stack size: 12288
status change: ( new input: /mnt/09 - Farewell, Angelina.mp3 )
status change: ( audio volume: 256 )
[00000220] main input debug: waiting for thread completion
[00000220] main input debug: creating statistics handler
[00000220] main input debug: `/mnt/09 - Farewell, Angelina.mp3' gives access `'
demux `' path `/mnt/09 - Farew'
[00000220] main input debug: creating demux: access='' demux='' path='/mnt/09 -
Farewell, Angelina.mp3'
[00000222] main demuxer debug: looking for access_demux module: 1 candidate
[00000220] main input debug: creating access '' path='/mnt/09 - Farewell,
Angelina.mp3'
[00000223] main access debug: looking for access2 module: 2 candidates
[00000223] access_file access debug: opening file `/mnt/09 - Farewell,
Angelina.mp3'
[00000223] main access debug: using access2 module "access_file"
[00000224] main private debug: pre-buffering...
[00000220] main input debug: thread 5126 (input) created at priority 0
(../../vlc-0.8.6b/src/input/input.c:265)
status change: ( play state: 1 )
[00000224] main private debug: received first data for our buffer
[00000224] main private debug: pre-buffering done 131068 bytes in 0s - 761
kbytes/s
[00000220] main input debug: creating demux: access='' demux='' path='/mnt/09 -
Farewell, Angelina.mp3'
[00000225] main demuxer debug: ID3v2.3 revision 0 tag found, skipping 2217
bytes
[00000225] main demuxer debug: looking for demux2 module: 38 candidates
[00000226] main packetizer debug: looking for packetizer module: 14 candidates
[00000226] main packetizer debug: using packetizer module
"mpeg_audio"
[00000226] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100
bitrate:256
[00000220] main input debug: selecting program id=0
[00000225] main demuxer debug: looking for id3 module: 0 candidates
[00000225] main demuxer error: no id3 module matched "any"
[00000225] main demuxer debug: using demux2 module "mpga"
[00000220] main input debug: looking for a subtitle file in /mnt/
[00000227] main decoder debug: looking for decoder module: 19 candidates
[00000227] ffmpeg decoder debug: libavcodec initialized (interface 3354624 )
[00000227] ffmpeg decoder debug: ffmpeg codec (MPEG Audio layer 1/2) started
[00000227] main decoder debug: using decoder module "ffmpeg"
default thread stack size: 12288
[00000227] main decoder debug: thread 6151 (decoder) created at priority 0
(../../vlc-0.8.6b/src/input/decoder)
[00000220] main input debug: `/mnt/09 - Farewell, Angelina.mp3' successfully
opened
invalid new backstep 799
[00000227] main decoder debug: no aout present, spawning one
[00000228] main audio output debug: looking for audio output module: 1
candidate
[00000228] main audio output debug: using audio output module "dummy"
[00000228] main audio output debug: output 's16l' 44100 Hz Stereo frame=1
samples/4 bytes
[00000228] main audio output debug: mixer 'fi32' 44100 Hz Stereo frame=1
samples/8 bytes
[00000228] main audio output debug: filter(s) 'fi32'->'s16l' 44100
Hz->44100 Hz Stereo->Stereo
[00000229] main private debug: looking for audio filter module: 21 candidates
[00000229] main private debug: using audio filter module
"fixed32tos16"
[00000228] main audio output debug: found a filter for the whole conversion
[00000228] main audio output debug: looking for audio mixer module: 3
candidates
[00000228] main audio output debug: using audio mixer module
"trivial_mixer"
[00000228] main audio output debug: input 's16l' 44100 Hz Stereo frame=1
samples/4 bytes
[00000228] main audio output debug: filter(s) 's16l'->'fi32' 44100
Hz->44100 Hz Stereo->Stereo
[00000230] main private debug: looking for audio filter module: 21 candidates
[00000230] main private debug: using audio filter module
"s16tofixed32"
[00000228] main audio output debug: found a filter for the whole conversion
[00000228] main audio output debug: filter(s) 'fi32'->'fi32' 48510
Hz->44100 Hz Stereo->Stereo
[00000231] main private debug: looking for audio filter module: 21 candidates
[00000231] main private debug: using audio filter module
"ugly_resampler"
[00000228] main audio output debug: found a filter for the whole conversion
invalid new backstep 799
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 800
invalid new backstep 799
invalid new backstep 800
invalid new backstep 516
--- Yi Li 2009-01-08 03:40:56
From the debug message:
"[00000227] main decoder debug: no aout present, spawning one
[00000228] main audio output debug: looking for audio output module: 1
candidate
[00000228] main audio output debug: using audio output module
"dummy"
"
It looks VLC is not enable any audio output module. So -- we just cannot play
any audio?
--- Mike Frysinger 2009-01-08 03:47:30
look in the vlc plugin dir to see what audio modules you actually have
--- Yi Li 2009-01-08 04:13:28
Thanks Mike.
It looks VLC does not build any audio_out plug-in. May need to configure VLC to
build audio_out plugins.
root:/> ls /usr/lib/vlc/
access control packetizer video_output
access_output misc stream_out visualization
codec mux video_filter
--- Yi Li 2009-01-08 05:10:22
Configure VLC to build oss and alsa audio_output plugin. Fixed in svn trunk and
tested on bf537-stamp (ad1836 plays mp3 files on SD card).
--- Yi Li 2009-01-20 23:19:38
fixed and close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found
Save changes