[vlc-devel] Play audio error on 0.9.0-test2

hce webmail.hce at gmail.com
Thu Aug 7 07:58:50 CEST 2008


Hi,

I found that the ffmpeg was not configurated and built properly in
0.9. I could not even find ffmpeg in 0.9 configure (Linux Centos 5.2).
Could anyone please to explain what has been changed in 0.9 and how to
pass a ffmpeg local path to the configure?

[0.9/bin]$ ./vlc -list | grep ffmpeg
VLC media player 0.9.0-test2 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.0-test2
Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
'--prefix=/home/project/work/project/MediaPlayer/Install.0.9'
'--enable-ffmpeg'
'--with-ffmpeg-tree=/home/project/work/Tools/Media/Ffmpeg/ffmpeg'
'--enable-faad'
'--with-faad-tree=/home/project/work/Tools/Media/Faad2/faad2'
'--with-ffmpeg-zlib' '--disable-mad' '--disable-libmpeg2'
'--with-dvbpsi=/home/project/work/Tools/Media/Libdvbpsi/Install'
'--with-live555-tree=/home/project/work/Tools/Media/Live555/live'
'--enable-live555' '--disable-wxwidgets' '--disable-skins2'
'--disable-a52'
[00000001] main libvlc debug: translation test: code is "C"

[0.8/bin]$ ./vlc --list | grep ffmpeg
VLC media player 0.8.6i Janus
  ffmpeg                FFmpeg audio/video decoder/encoder
((MS)MPEG4,SVQ1,H263,WMV,WMA)
  ffmpeg                FFmpeg chroma conversion
  ffmpeg                FFmpeg audio/video encoder
  ffmpeg                FFmpeg demuxer
  ffmpeg                FFmpeg muxer
  ffmpeg                FFmpeg video filter
  ffmpeg                FFmpeg crop padd filter
  ffmpeg                FFmpeg deinterlace video filter



vlc-0.9.0-test2]$ ./configure --help | grep ffmpeg

<EMPTY>

vlc-0.8.6i]$ ./configure --help | grep ffmpeg
  --enable-ffmpeg         ffmpeg codec (default enabled)
  --enable-ffmpegaltivec  ffmpegaltivec codec (DO NOT USE)
    --with-ffmpeg-mp3lame specify if ffmpeg has been compiled with
mp3lame support
    --with-ffmpeg-faac    specify if ffmpeg has been compiled with faac support
    --with-ffmpeg-dts     specify if ffmpeg has been compiled with dts support
    --with-ffmpeg-dca     specify if ffmpeg has been compiled with dca support
    --with-ffmpeg-vorbis    specify if ffmpeg has been compiled with
vorbis support
    --with-ffmpeg-theora    specify if ffmpeg has been compiled with
theora support
    --with-ffmpeg-ogg    specify if ffmpeg has been compiled with ogg support
    --with-ffmpeg-zlib    specify if ffmpeg has been compiled with zlib support
    --with-ffmpeg-tree=PATH ffmpeg tree for static linking
    --with-ffmpeg-config-path=PATH ffmpeg-config path (default search in \$PATH)

On Thu, Aug 7, 2008 at 11:55 AM, hce <webmail.hce at gmail.com> wrote:
> Hi,
>
> I can build both release version 0.8.6i and 0.9.0-test2. But I can
> play audio from release version 0.8.6i, could not play audio from the
> 0.9.0-test2, please see following log message. What I was missing in
> 0.9.0-test2?
>
> I also learned from mailing list that 0.9 is now support QT4, does
> that mean enable QT (or QT is enabled by default) to produce a GUI
> based on QT4? I run the vlc, it only came a command line, no gui.
>
>
> [project at dev bin]$ ./vlc -vvv /home/project/work/AudioFile/morning_mist.mp3
> VLC media player 0.9.0-test2 Grishenko
> [00000001] main libvlc debug: VLC media player - version 0.9.0-test2
> Grishenko - (c) 1996-2008 the VideoLAN team
> [00000001] main libvlc debug: libvlc was configured with ./configure
> '--prefix=/home/project/work/project/MediaPlayer/Install0.9'
> '--enable-ffmpeg'
> '--with-ffmpeg-tree=/home/project/work/Tools/Media/Ffmpeg/ffmpeg'
> '--enable-faad'
> '--with-faad-tree=/home/project/work/Tools/Media/Faad2/faad2'
> '--with-ffmpeg-zlib' '--disable-mad' '--disable-libmpeg2'
> '--with-dvbpsi=/home/project/work/Tools/Media/Libdvbpsi/Install'
> '--with-live555-tree=/home/project/work/Tools/Media/Live555/live'
> '--enable-live555' '--disable-wxwidgets' '--disable-skins2'
> '--disable-a52'
> [00000001] main libvlc debug: translation test: code is "C"
> [00000001] main libvlc debug: checking builtin modules
> [00000001] main libvlc debug: checking plugin modules
> [00000001] main libvlc debug: loading plugins cache file
> /home/project/.cache/vlc/plugins-04041e.dat
> [00000001] main libvlc debug: recursively browsing
> `/home/project/work/project/MediaPlayer/Install0.9/lib/vlc'
> [00000001] main libvlc warning: cannot load module
> `/home/project/work/project/MediaPlayer/Install0.9/lib/vlc/codec/libavcodec_plugin.so'
> (/home/project/work/project/MediaPlayer/Install0.9/lib/vlc/codec/libavcodec_plugin.so:
> undefined symbol: uncompress)
> [00000001] main libvlc warning: cannot load module
> `/home/project/work/project/MediaPlayer/Install0.9/lib/vlc/demux/libavformat_plugin.so'
> (/home/project/work/project/MediaPlayer/Install0.9/lib/vlc/demux/libavformat_plugin.so:
> undefined symbol: avcodec_init)
> [00000001] main libvlc warning: cannot load module
> `/home/project/work/project/MediaPlayer/Install0.9/lib/vlc/video_filter/libimgresample_plugin.so'
> (/home/project/work/project/MediaPlayer/Install0.9/lib/vlc/video_filter/libimgresample_plugin.so:
> undefined symbol: av_free)
> [00000001] main libvlc debug: module bank initialized, found 238 modules
> [00000001] main libvlc debug: opening config file
> (/home/project/.config/vlc/vlcrc)
> [00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT
> SSE SSE2 FPU
> [00000001] main libvlc debug: looking for memcpy module: 3 candidates
> [00000001] main libvlc debug: using memcpy module "memcpymmxext"
> [00000314] main interaction debug: thread 3084503952 (Interaction
> control) created at priority 0 (interface/interaction.c:379)
> [00000316] main input debug: Creating an input for 'Media Library'
> [00000314] main interaction debug: thread started
> [00000316] main input debug: Input is a meta file: disabling unneeded options
> [00000316] main input debug:
> `file/xspf-open:///home/project/.local/share/vlc/ml.xspf' gives access
> `file' demux `xspf-open' path `/home/project/.local/share/vlc/ml.xspf'
> [00000316] main input debug: creating access 'file'
> path='/home/project/.local/share/vlc/ml.xspf'
> [00000317] main access debug: looking for access module: 3 candidates
> [00000317] access_mmap access debug: opening file
> /home/project/.local/share/vlc/ml.xspf
> [00000317] main access debug: using access module "access_mmap"
> [00000317] main access debug: TIMER module_Need() : 0.434 ms - Total
> 0.434 ms / 1 intvls (Avg 0.434 ms)
> [00000321] main stream debug: Using AStream*Block
> [00000321] main stream debug: pre buffering
> [00000321] main stream debug: received first data for our buffer
> [00000317] access_mmap access debug: at end of memory mapped file
> [00000316] main input debug: creating demux: access='file'
> demux='xspf-open' path='/home/project/.local/share/vlc/ml.xspf'
> [00000322] main demux debug: looking for demux module: 1 candidate
> [00000322] playlist demux debug: using XSPF playlist reader
> [00000322] main demux debug: using demux module "playlist"
> [00000322] main demux debug: TIMER module_Need() : 0.337 ms - Total
> 0.337 ms / 1 intvls (Avg 0.337 ms)
> [00000316] main input debug:
> `file/xspf-open:///home/project/.local/share/vlc/ml.xspf' successfully
> opened
> [00000337] main xml debug: looking for xml module: 2 candidates
> [00000337] main xml debug: using xml module "xml"
> [00000337] main xml debug: TIMER module_Need() : 0.618 ms - Total
> 0.618 ms / 1 intvls (Avg 0.618 ms)
> [00000317] access_mmap access debug: at end of memory mapped file
> [00000322] playlist demux debug: parsed 0 tracks successfully
> [00000337] main xml debug: removing module "xml"
> [00000316] main input debug: EOF reached
> [00000316] main input debug: control type=1
> [00000322] main demux debug: removing module "playlist"
> [00000317] main access debug: removing module "access_mmap"
> [00000316] main input debug: TIMER input launching for 'Media Library'
> : 3.265 ms - Total 3.265 ms / 1 intvls (Avg 3.265 ms)
> [00000339] main preparser debug: waiting for thread completion
> [00000339] main preparser debug: thread started
> [00000339] main preparser debug: thread 3074014096 (preparser) created
> at priority 0 (playlist/thread.c:80)
> [00000340] main fetcher debug: waiting for thread completion
> [00000340] main fetcher debug: thread started
> [00000340] main fetcher debug: thread 3063524240 (fetcher) created at
> priority 0 (playlist/thread.c:110)
> [00000315] main playlist debug: waiting for thread completion
> [00000315] main playlist debug: thread started
> [00000315] main playlist debug: thread 3053034384 (playlist) created
> at priority 0 (playlist/thread.c:119)
> [00000341] main interface debug: looking for interface module: 1 candidate
> [00000341] main interface debug: using interface module "hotkeys"
> [00000341] main interface debug: TIMER module_Need() : 3.141 ms -
> Total 3.141 ms / 1 intvls (Avg 3.141 ms)
> [00000341] main interface debug: thread 3042544528 (interface) created
> at priority 0 (interface/interface.c:164)
> [00000343] main interface debug: looking for interface module: 1 candidate
> [00000315] main playlist debug: rebuilding array of current - root Playlist
> [00000315] main playlist debug: rebuild done - 0 items, index -1
> [00000341] main interface debug: thread started
> [00000343] main interface debug: using interface module "inhibit"
> [00000343] main interface debug: TIMER module_Need() : 6.993 ms -
> Total 6.993 ms / 1 intvls (Avg 6.993 ms)
> [00000343] main interface debug: thread started
> [00000343] main interface debug: thread 3032054672 (interface) created
> at priority 0 (interface/interface.c:164)
> [00000345] main interface debug: looking for interface module: 1 candidate
> [00000345] main interface debug: using interface module "screensaver"
> [00000345] main interface debug: TIMER module_Need() : 0.357 ms -
> Total 0.357 ms / 1 intvls (Avg 0.357 ms)
> [00000345] main interface debug: thread 3021564816 (interface) created
> at priority 0 (interface/interface.c:164)
> [00000315] main playlist debug: adding item `morning_mist.mp3' (
> /home/project/work/AudioFile/morning_mist.mp3 )
> [00000347] main interface debug: looking for interface module: 17 candidates
> [00000347] main interface debug: using interface module "signals"
> [00000347] main interface debug: TIMER module_Need() : 0.320 ms -
> Total 0.320 ms / 1 intvls (Avg 0.320 ms)
> [00000347] main interface debug: thread 3000585104 (interface) created
> at priority 0 (interface/interface.c:164)
> [00000001] main libvlc: Running vlc with the default interface. Use
> 'cvlc' to use vlc without interface.
> [00000349] main interface debug: looking for interface module: 1 candidate
> [00000347] main interface debug: thread started
> [00000345] main interface debug: thread started
> Remote control interface initialized. Type `help' for help.
> [00000349] main interface debug: using interface module "rc"
> [00000349] main interface debug: TIMER module_Need() : 0.673 ms -
> Total 0.673 ms / 1 intvls (Avg 0.673 ms)
> [00000349] main interface debug: thread 2990095248 (interface) created
> at priority 0 (interface/interface.c:164)
> [00000349] main interface debug: thread started
> [00000315] main playlist debug: starting new item
> [00000315] main playlist debug: processing request item null node
> Playlist skip 0
> [00000315] main playlist debug: rebuilding array of current - root Playlist
> [00000315] main playlist debug: rebuild done - 1 items, index -1
> [00000315] main playlist debug: creating new input thread
> [00000351] main input debug: Creating an input for 'morning_mist.mp3'
> [00000351] main input debug: waiting for thread completion
> [00000351] main input debug: thread started
> [00000351] main input debug:
> `/home/project/work/AudioFile/morning_mist.mp3' gives access `' demux
> `' path `/home/project/work/AudioFile/morning_mist.mp3'
> [00000351] main input debug: creating demux: access='' demux=''
> path='/home/project/work/AudioFile/morning_mist.mp3'
> [00000351] main input debug: thread 2977954704 (input) created at
> priority 10 (input/input.c:367)
> [00000352] main demux debug: looking for access_demux module: 2 candidates
> [00000352] main demux debug: TIMER module_Need() : 1.198 ms - Total
> 1.198 ms / 1 intvls (Avg 1.198 ms)
> [00000351] main input debug: creating access ''
> path='/home/project/work/AudioFile/morning_mist.mp3'
> [00000356] main access debug: looking for access module: 6 candidates
> [00000356] vcd access debug: trying .cue file:
> /home/project/work/AudioFile/morning_mist.cue
> [00000356] vcd access debug: could not find .cue file
> [00000356] access_mmap access debug: opening file
> /home/project/work/AudioFile/morning_mist.mp3
> [00000356] main access debug: using access module "access_mmap"
> [00000356] main access debug: TIMER module_Need() : 0.349 ms - Total
> 0.349 ms / 1 intvls (Avg 0.349 ms)
> [00000358] main stream debug: Using AStream*Block
> [00000358] main stream debug: pre buffering
> [00000358] main stream debug: received first data for our buffer
> [00000358] main stream debug: prebuffering done 1048576 bytes in 0s -
> 40960000 kbytes/s
> [00000351] main input debug: creating demux: access='' demux=''
> path='/home/project/work/AudioFile/morning_mist.mp3'
> [00000359] main demux debug: ID3v2.3 revision 0 tag found, skipping 4096 bytes
> [00000359] main demux debug: looking for demux module: 46 candidates
> [00000372] main packetizer debug: looking for packetizer module: 16 candidates
> [00000372] main packetizer debug: using packetizer module "mpeg_audio"
> [00000372] main packetizer debug: TIMER module_Need() : 2.035 ms -
> Total 2.035 ms / 1 intvls (Avg 2.035 ms)
> [00000372] mpeg_audio packetizer debug: MPGA channels:2
> samplerate:44100 bitrate:128
> [00000351] main input debug: selecting program id=0
> [00000359] main demux debug: using demux module "mpga"
> [00000359] main demux debug: TIMER module_Need() : 3.351 ms - Total
> 3.351 ms / 1 intvls (Avg 3.351 ms)
> [00000351] main input debug: looking for a subtitle file in
> /home/project/work/AudioFile/
> [00000394] main decoder debug: looking for decoder module: 21 candidates
> [00000394] main decoder debug: TIMER module_Need() : 1.927 ms - Total
> 1.927 ms / 1 intvls (Avg 1.927 ms)
> [00000394] main decoder error: no suitable decoder module for fourcc `mpga'.
> VLC probably does not support this sound or video format.
> [00000394] main decoder debug: killing decoder fourcc `mpga', 0 PES in FIFO
> [00000359] main demux debug: looking for meta reader module: 0 candidates
> [00000359] main demux error: no meta reader module matched "any"
> [00000359] main demux debug: TIMER module_Need() : 0.079 ms - Total
> 0.079 ms / 1 intvls (Avg 0.079 ms)
> [00000351] main input debug:
> `/home/project/work/AudioFile/morning_mist.mp3' successfully opened
> [00000351] main input debug: control type=1
> j[00000372] mpeg_audio packetizer debug: emulated startcode (no
> startcode on following frame)
> [00000356] access_mmap access debug: at end of memory mapped file
> [00000351] main input debug: EOF reached
> [00000315] main playlist debug: finished input
> [00000315] main playlist debug: dying input
> [00000315] main playlist debug: dying input
> [00000372] main packetizer debug: removing module "mpeg_audio"
> [00000359] main demux debug: removing module "mpga"
> [00000356] main access debug: removing module "access_mmap"
> [00000351] main input debug: thread ended
> [00000315] main playlist debug: dead input
> [00000001] main libvlc warning: input 351 destroyed while thread alive
> (VLC might crash)
> [00000351] main input debug: thread 2977954704 joined (misc/objects.c:308)
> [00000351] main input debug: TIMER input launching for
> 'morning_mist.mp3' : 9.666 ms - Total 9.666 ms / 1 intvls (Avg 9.666
> ms)
> [00000315] main playlist debug: starting new item
> [00000315] main playlist debug: changing item without a request (current 0/1)
> [00000315] main playlist debug: nothing to play
>



More information about the vlc-devel mailing list