[vlc] Re: Zaurus 5500 - No Sound?

Jean-Paul Saman saman at natlab.research.philips.com
Wed Nov 5 16:38:30 CET 2003


Masiyowski, John wrote:
> Hello,
> 
> I have installed vlc on a Sharp Zaurus SL-5500.  I am able to obtain 
> video, but no sound via the headphones.
> The build in media player on the Zaurus is able to play an mpeg movie 
> (video and audio) just fine.
> I have included the logs from both the SL-5600 version of the Zaurus 
> which plays the same file just fine, and from
> the SL-5500 which there is no audio..  Any clues?

Does SL-5500 use ALSA sound layer for sound? VLC 0.5.3 uses OSS sound 
layer and is not capable of ALSA yet.

The way solve it for you is installing the alsa oss emulation and 
configuring it in the right way.

> reduncant messages: [00000126] qte video output debug: Manage 
> have been removed to decrease the size of this mail message...

That is fine. I should not have left this message in there it is way to 
verbose.

I made some comments in the vlc log. You miss the library librt, go and 
get it from the zaurus download page.

> ------------------------------- SL 5500
> SL-5500  Good Video, no audio
> VideoLAN Client 0.5.3 Natalya
> [00000000] main root debug: VLC media player - version 0.5.3 Natalya - 
> (c) 1996-2003 VideoLAN
> [00000000] main root debug: libvlc was configured with ./configure 
> --mandir=/share/man --infodir=/share/info --host=arm-linux 
> --target=arm-linux --enable-release --prefix=/usr --disable-plugins 
> --disable-gtk --disable-gnome --disable-qt --disable-kde --disable-xosd 
> --enable-qte --disable-x11 --enable-dummy --enable-fb --enable-sdl 
> --disable-alsa --disable-xvideo --disable-dvd --disable-dvdread 
> --disable-vcd --disable-maxosx --enable-mad --enable-ffmpeg 
> --disable-familiar --with-tuning=strongarm1100 
> --with-mad-tree=/home/jpsaman/iPaq/src/mad-0.14.2b 
> --with-sdl-config-path=/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop/bin 
> --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop 
> --with-qte=/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop 
> --with-ffmpeg-tree=/home/jpsaman/svn/ipaq/Work/ffmpeg
> 
> [00000001] main vlc debug: translation test: code is "C"
> [00000001] main vlc debug: opening config file /root/.vlc/vlcrc
> [00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist 
> yet
> [00000000] main root debug: checking builtin modules
> [00000000] main root debug: checking plugin modules
> [00000000] main root debug: recursively browsing `modules'
> [00000000] main root debug: recursively browsing `/usr/lib/vlc'
> [00000119] main module warning: cannot find symbol "vlc_entry__0_5_3" in 
> file `/usr/lib/vlc/librt-2.1.3.so' (/usr/bin/vlc: undefined symbol: 
> _vlc_entry__0_5_3)

Install librt from the package on 
www.videolan.org/vlc/download-zaurus.html it is needed by vlc !

> 
> [00000000] main root debug: recursively browsing `plugins'
> [00000001] main vlc debug: module bank initialized, found 109 modules
> [00000001] main vlc debug: opening config file /root/.vlc/vlcrc
> [00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist 
> yet

This is no problem it only means you have not user preferences.

> [00000001] main vlc debug: CPU has capabilities
> [00000001] main vlc debug: looking for memcpy module
> [00000001] main vlc debug: probing 1 candidate
> [00000021] main module debug: using memcpy module "memcpy"
> [00000120] main playlist debug: waiting for thread completion
> [00000120] main playlist debug: thread 1026 (playlist) created at 
> priority 0 (src/playlist/playlist.c:79)
> [00000120] main playlist debug: adding playlist item « /var/a.mpeg »
> [00000121] main interface debug: looking for interface module
> [00000121] main interface debug: probing 1 candidate
> [00000018] main module debug: using interface module "rc"
> [00000121] main interface debug: interface initialized
> [00000121] main interface debug: thread 2051 (manager) created at 
> priority 0 (src/interface/interface.c:118)
> [00000120] main playlist debug: creating new input thread
> [00000122] main input: playlist item `/var/a.mpeg'
> [00000122] main input debug: waiting for thread completion
> [00000122] main input debug: access `', demux `', name `/var/a.mpeg'
> [00000122] main input debug: looking for access module
> [00000122] main input debug: probing 2 candidates
> [00000122] access_file input debug: opening file `/var/a.mpeg'
> [00000086] main module debug: using access module "access_file"
> [00000122] main input debug: thread 3076 (input) created at priority 0 
> (src/input/input.c:158)
> [00000122] main input debug: looking for demux module
> [00000122] main input debug: probing 12 candidates
> [00000122] mp4 input warning: MP4 plugin discarded (not a valid file)
> [00000122] avi input warning: avi module discarded (invalid headr)
> [00000122] asf input warning: ASF v1.0 plugin discarded (not a valid file)
> [00000122] ts input warning: TS module discarded (no sync)
> [00000122] a52sys input warning: a52 module discarded (no startcode)
> [00000122] es input warning: ES module discarded (system startcode)
> [00000122] wav input warning: WAV plugin discarded (not a valid file)
> [00000122] au input warning: AU plugin discarded (not a valid file)
> [00000122] main input debug: looking for id3 module
> [00000122] main input debug: probing 1 candidate
> [00000122] id3 input debug: Checking for ID3 tag
> [00000076] main module debug: using id3 module "id3"
> [00000076] main module debug: unlocking module "id3"
> [00000122] main input debug: looking for mpeg-system module
> [00000122] main input debug: probing 1 candidate
> [00000025] main module debug: using mpeg-system module "mpeg_system"
> [00000122] main input debug: selecting ES 0xe0
> [00000123] main decoder debug: looking for decoder module
> [00000123] main decoder debug: probing 11 candidates
> [00000005] main module debug: using decoder module "mpeg_video"
> [00000123] main decoder debug: looking for motion compensation module
> [00000123] main decoder debug: probing 1 candidate
> [00000008] main module debug: using motion compensation module "motion"
> [00000123] main decoder debug: looking for idct module
> [00000123] main decoder debug: probing 2 candidates
> [00000007] main module debug: using idct module "idctclassic"
> [00000123] main decoder debug: thread 4101 (decoder) created at priority 
> 0 (src/input/input_dec.c:141)
> [00000122] main input debug: selecting ES 0xc0
> [00000124] main decoder debug: looking for decoder module
> [00000124] main decoder debug: probing 11 candidates
> [00000034] main module debug: using decoder module "mpeg_audio"
> [00000124] main decoder debug: thread 5126 (decoder) created at priority 
> 0 (src/input/input_dec.c:141)
> [00000122] main input debug: dumping stream ID 0x0 [OK:0/D:0]
> [00000122] main input debug: seekable stream, position: 0/4859920 
> (-:--:--/-:--:--)
> [00000122] main input debug: dumping program 0x0, version 0 (partial)
> [00000122] main input debug: ES 0xe0, stream 0xe0, fourcc `mpgv', 
> selected [OK:0/ERR:0]
> [00000122] main input debug: ES 0xbe, stream 0xbe, fourcc `    ', not 
> selected [OK:0/ERR:0]
> [00000122] main input debug: ES 0xc0, stream 0xc0, fourcc `mpga', 
> selected [OK:0/ERR:0]
> [00000026] main module debug: using demux module "ps"
> [00000123] main decoder debug: no usable vout present, spawning one
> [00000126] main video output debug: looking for video output module
> [00000126] main video output debug: probing 5 candidates
> [00000126] main video output debug: looking for gui-helper module
> [00000126] main video output debug: probing 1 candidate
> [00000127] main private debug: waiting for thread completion
> [00000127] main private debug: thread 6151 (qte_main) created at 
> priority 0 (modules/misc/qte_main.cpp:100)
> [00000118] main module debug: using gui-helper module "qte_main"
> [00000126] qte video output debug: OpenDisplay (h=240,w=320)
> [00000128] main private debug: waiting for thread completion
> [00000126] qte video output debug: RunQtThread Starting
> [00000126] qte video output debug: RunQtThread applicaton attached
> [00000128] main private debug: thread 7176 (QT Embedded Thread) created 
> at priority 0 (modules/video_output/qte/qte.cpp:536)
> 
> [00000126] qte video output debug: RunQtThread ready
> [00000126] qte video output debug: RunQtThread running
> [00000115] main module debug: using video output module "qte"
> [00000126] main video output debug: thread 8201 (video output) created 
> at priority 0 (src/video_output/video_output.c:397)
> 
> [00000123] mpeg_video decoder warning: dts != current_pts (-307993)
> [00000126] main video output debug: got 2 direct buffer(s)
> [00000126] main video output debug: picture in 352x240, chroma 
> 0x30323449 (I420), aspect ratio 4:3
> [00000126] main video output debug: picture out 320x240, chroma 
> 0x36315652 (RV16), aspect ratio 4:3
> [00000126] main video output debug: looking for chroma module
> [00000126] main video output debug: probing 4 candidates
> [00000072] main module debug: using chroma module "i420_rgb"
> [00000126] main video output debug: indirect render, mapping render 
> pictures 0-7 to system pictures 2-9

> [00000124] main decoder debug: no aout present, spawning one

starting audio .. at least trying

> [00000129] main audio output debug: looking for audio output module
> [00000129] main audio output debug: probing 4 candidates
> [00000126] qte video output debug: Manage
> [00000123] mpeg_video decoder warning: vpar synchro warning: pts != 
> current_date (-33367)
> [00000129] oss audio output error: cannot get fragment size

hmm ... can't it read from the audio device ??

> [00000016] main module debug: using audio output module "dummy"

I miss a message saying
	"main module debug: using audio output module "oss""

instead it defaults now to the "dummy" audio output module.

So VLC could not open the sound device and everything that happens 
hereafter has no effect for the audio.

> [00000129] main audio output debug: output 's16l' 44100 Hz Mono frame=1 
> samples/2 bytes
> [00000129] main audio output debug: mixer 's16l' 44100 Hz Mono frame=1 
> samples/2 bytes
> [00000129] main audio output debug: filter(s) 'fi32'->'s16l' 44100 
> Hz->44100 Hz Mono->Mono
> [00000130] main private debug: looking for audio filter module
> [00000130] main private debug: probing 20 candidates
> [00000055] main module debug: using audio filter module "fixed32tos16"
> [00000129] main audio output debug: found a filter for the whole conversion
> [00000129] main audio output debug: looking for audio mixer module
> [00000129] main audio output debug: probing 3 candidates
> [00000068] main module debug: using audio mixer module "trivial_mixer"
> [00000129] main audio output debug: looking for audio mixer module
> [00000129] main audio output debug: probing 3 candidates
> [00000068] main module debug: using audio mixer module "trivial_mixer"
> [00000129] main audio output debug: input 'mpga' 44100 Hz Mono 
> frame=1152 samples/1262 bytes
> [00000129] main audio output debug: filter(s) 'mpga'->'fi32' 44100 
> Hz->44100 Hz Mono->Mono
> [00000131] main private debug: looking for audio filter module
> [00000131] main private debug: probing 20 candidates
> [00000009] main module debug: using audio filter module "mpgatofixed32"

good!

> [00000129] main audio output debug: found a filter for the whole conversion
> [00000129] main audio output debug: filter(s) 'fi32'->'fi32' 48510 
> Hz->44100 Hz Mono->Mono
> [00000132] main private debug: looking for audio filter module
> [00000132] main private debug: probing 20 candidates
> [00000063] main module debug: using audio filter module "ugly_resampler"
> [00000129] main audio output debug: found a filter for the whole conversion

good!

> [00000129] main audio output warning: PTS is out of range (-6233), 
> dropping buffer
> [00000129] main audio output warning: PTS is out of range (-31890), 
> dropping buffer
> [00000129] main audio output warning: buffer is 26123 in advance, 
> triggering downsampling

hmmm, audio is too late now .. vlc tries to downsample the buffer it has.

> [00000123] mpeg_video decoder warning: stream periodicity changed from 
> B[1] to B[2]
> [00000126] qte video output debug: Manage
> [00000126] main video output warning: late picture skipped (-33476)
> [00000126] main video output warning: late picture skipped (-14132)
> 
> -------------------------------------------------  End of SL-5500 Log
> 

I hope this helps you !

-- 
Kind greetings,

Jean-Paul Saman

VLC iPaq maintainer.


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list