[vlc-devel] mpga to dummy audio output

Stream Alerts support at streamalerts.com
Thu Mar 5 22:00:03 CET 2009


Hello again, Another silly question. I'm trying to play MP3 files and 
streams through vlclib while using the dummy audio output and I can't get 
it to build the output pipeline properly. It does seem to continue and play 
as I receive a libvlc_MediaPlayerEndReached event at the end of the file. 
However I need to be able to tack a filter onto the pipeline to process 
fl32 or s16l. If I change the audio output to "Default", then it plays 
properly and uses DirectSound and my custom filter receives an input format 
of mpga instead of fl32 or s16l. 

It looks like the DirectSound filter loads "mpgatofixed32" but the dummy 
output can't. Is there a way to force the pipeline to load "mpgatofixed32" 
before the dummy output? I'll post both debugs below. Thank you all for 
your help!

*** aout=dummy ***
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - 
(c)
1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  
'--host=i5
86-mingw32msvc' '--build=i386-linux' '--enable-mkv' '--enable-release' 
'--withou
t-contrib' '--enable-nls' '--enable-shared-libvlc' '--enable-update-check' 
'--en
able-lua' '--enable-faad' '--enable-flac' '--enable-theora' 
'--enable-twolame' '
--enable-quicktime' '--enable-real' '--enable-realrtsp' '--enable-ffmpeg' 
'--wit
h-ffmpeg-mp3lame' '--with-ffmpeg-faac' 
'--with-ffmpeg-config-path=/usr/win32/bin
' '--with-ffmpeg-zlib' '--enable-live555' 
'--with-live555-tree=/usr/win32/live.c
om' '--ena
[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: recursively browsing `\modules'
[00000001] main libvlc debug: recursively browsing `\plugins'
[00000001] main libvlc debug: recursively browsing `\plugins'
[00000001] main libvlc debug: module bank initialized, found 264 modules
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE 
SSE2 F
PU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000360] main interaction debug: thread 4960 (Interaction control) 
created at
priority 0 (interface/interaction.c:382)
[00000360] main interaction debug: thread started
[00000362] main preparser debug: waiting for thread initialization
[00000362] main preparser debug: thread started
[00000362] main preparser debug: thread 5012 (preparser) created at 
priority 0 (
playlist/thread.c:79)
[00000363] main fetcher debug: waiting for thread initialization
[00000363] main fetcher debug: thread started
[00000363] main fetcher debug: thread 5032 (fetcher) created at priority 0 
(play
list/thread.c:108)
[00000361] main playlist debug: waiting for thread initialization
[00000361] main playlist debug: thread started
[00000361] main playlist debug: rebuilding array of current - root 
Playlist
[00000361] main playlist debug: rebuild done - 0 items, index -1
[00000361] main playlist debug: thread 5036 (playlist) created at priority 
0 (pl
aylist/thread.c:117)
[00000364] main interface debug: looking for interface module: 1 candidate
[00000364] logger interface: VLC media player - version 0.9.8a Grishenko - 
(c) 1
996-2008 the VideoLAN team
[00000364] logger interface:
Warning: if you can't access the GUI anymore, open a command-line window, 
go to
the directory where you installed VLC and run "vlc -I qt"
[00000365] main interface debug: looking for interface module: 1 candidate
[00000365] main interface debug: using interface module "hotkeys"
[00000365] main interface debug: TIMER module_Need() : 0.000 ms - Total 
0.000 ms
 / 1 intvls (Avg 0.000 ms)
[00000365] main interface debug: thread 5056 (interface) created at 
priority 0 (
interface/interface.c:168)
[00000365] main interface debug: thread started
[00000361] main playlist debug: adding item `' (  )

----- try to play....
[00000366] main input debug: Creating an input for 'crickets.mp3'
[00000366] main input debug: waiting for thread initialization
[00000366] main input debug: thread started
[00000366] main input debug: `C:\temp\crickets.mp3' gives access `' demux 
`' pat
h `C:\temp\crickets.mp3'
[00000366] main input debug: thread 6180 (input) created at priority 1 
(input/in
put.c:370)
[00000366] main input debug: creating demux: access='' demux='' 
path='C:\temp\cr
ickets.mp3'
[00000367] main demux debug: looking for access_demux module: 1 candidate
[00000367] main demux debug: TIMER module_Need() : 1.000 ms - Total 1.000 
ms / 1
 intvls (Avg 1.000 ms)
[00000366] main input debug: creating access '' 
path='C:\temp\crickets.mp3'
[00000368] main access debug: looking for access module: 5 candidates
[00000368] vcd access debug: trying .cue file: C:\temp\crickets.cue
[00000368] vcd access debug: could not find .cue file
[00000368] access_file access debug: opening file `C:\temp\crickets.mp3'
[00000368] main access debug: using access module "access_file"
[00000368] main access debug: TIMER module_Need() : 1.000 ms - Total 1.000 
ms /
1 intvls (Avg 1.000 ms)
[00000369] main stream debug: Using AStream*Stream
[00000369] main stream debug: pre-buffering...
[00000369] main stream debug: received first data for our buffer
[00000366] main input debug: creating demux: access='' demux='' 
path='C:\temp\cr
ickets.mp3'
[00000370] main demux debug: ID3v2.3 revision 0 tag found, skipping 40 
bytes
[00000370] main demux debug: looking for demux module: 51 candidates
[00000371] main packetizer debug: looking for packetizer module: 18 
candidates
[00000371] main packetizer debug: using packetizer module "mpeg_audio"
[00000371] main packetizer debug: TIMER module_Need() : 1.000 ms - Total 
1.000 m
s / 1 intvls (Avg 1.000 ms)
[00000370] main demux debug: using demux module "mpga"
[00000370] main demux debug: TIMER module_Need() : 1.000 ms - Total 1.000 
ms / 1
 intvls (Avg 1.000 ms)
[00000370] main demux debug: looking for meta reader module: 2 candidates
[00000370] main demux debug: using meta reader module "taglib"
[00000370] main demux debug: TIMER module_Need() : 1.000 ms - Total 1.000 
ms / 1
 intvls (Avg 1.000 ms)
[00000370] main demux debug: removing module "taglib"
[00000366] main input debug: `C:\temp\crickets.mp3' successfully opened
@@@@@@@@@@@@@ Caught event: libvlc_MediaPlayerPlaying
[00000371] mpeg_audio packetizer debug: MPGA channels:2 samplerate:11025 
bitrate
:32
[00000366] main input debug: selecting program id=0
[00000372] main decoder debug: looking for decoder module: 37 candidates
[00000372] main decoder debug: using decoder module "mpeg_audio"
[00000372] main decoder debug: TIMER module_Need() : 1.000 ms - Total 1.000 
ms /
 1 intvls (Avg 1.000 ms)
[00000372] main decoder debug: thread 6280 (decoder) created at priority 2 
(inpu
t/decoder.c:217)
[00000372] main decoder debug: thread started
[00000372] mpeg_audio decoder debug: MPGA channels:2 samplerate:11025 
bitrate:32

[00000372] main decoder debug: no aout present, spawning one
[00000373] main audio output debug: looking for audio output module: 5 
candidate
s
[00000373] main audio output debug: using audio output module "dummy"
[00000373] main audio output debug: TIMER module_Need() : 0.000 ms - Total 
0.000
 ms / 1 intvls (Avg 0.000 ms)
[00000373] main audio output debug: output 'mpga' 11025 Hz Stereo frame=576 
samp
les/1053 bytes
[00000373] main audio output debug: mixer 'fl32' 11025 Hz Stereo frame=1 
samples
/8 bytes
[00000373] main audio output debug: filter(s) 'fl32'->'mpga' 11025 
Hz->11025 Hz
Stereo->Stereo
[00000374] main audio output debug: looking for audio filter module: 24 
candidat
es
[00000374] main audio output debug: TIMER module_Need() : 0.000 ms - Total 
0.000
 ms / 1 intvls (Avg 0.000 ms)
[00000373] main audio output error: couldn't find a filter for the 
conversion
[00000373] main audio output error: couldn't create audio output pipeline
[00000373] main audio output debug: removing module "dummy"
[00000366] main input debug: control type=1

*** aout=default ***
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - 
(c)
1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  
'--host=i5
86-mingw32msvc' '--build=i386-linux' '--enable-mkv' '--enable-release' 
'--withou
t-contrib' '--enable-nls' '--enable-shared-libvlc' '--enable-update-check' 
'--en
able-lua' '--enable-faad' '--enable-flac' '--enable-theora' 
'--enable-twolame' '
--enable-quicktime' '--enable-real' '--enable-realrtsp' '--enable-ffmpeg' 
'--wit
h-ffmpeg-mp3lame' '--with-ffmpeg-faac' 
'--with-ffmpeg-config-path=/usr/win32/bin
' '--with-ffmpeg-zlib' '--enable-live555' 
'--with-live555-tree=/usr/win32/live.c
om' '--ena
[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: recursively browsing `\modules'
[00000001] main libvlc debug: recursively browsing `\plugins'
[00000001] main libvlc debug: recursively browsing `\plugins'
[00000001] main libvlc debug: module bank initialized, found 264 modules
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE 
SSE2 F
PU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000360] main interaction debug: thread 4960 (Interaction control) 
created at
priority 0 (interface/interaction.c:382)
[00000360] main interaction debug: thread started
[00000362] main preparser debug: waiting for thread initialization
[00000362] main preparser debug: thread started
[00000362] main preparser debug: thread 5012 (preparser) created at 
priority 0 (
playlist/thread.c:79)
[00000363] main fetcher debug: waiting for thread initialization
[00000363] main fetcher debug: thread started
[00000363] main fetcher debug: thread 5032 (fetcher) created at priority 0 
(play
list/thread.c:108)
[00000361] main playlist debug: waiting for thread initialization
[00000361] main playlist debug: thread started
[00000361] main playlist debug: thread 5036 (playlist) created at priority 
0 (pl
aylist/thread.c:117)
[00000361] main playlist debug: rebuilding array of current - root 
Playlist
[00000361] main playlist debug: rebuild done - 0 items, index -1
[00000364] main interface debug: looking for interface module: 1 candidate
[00000364] logger interface: VLC media player - version 0.9.8a Grishenko - 
(c) 1
996-2008 the VideoLAN team
[00000364] logger interface:
Warning: if you can't access the GUI anymore, open a command-line window, 
go to
the directory where you installed VLC and run "vlc -I qt"

[00000365] main interface debug: looking for interface module: 1 candidate
[00000365] main interface debug: using interface module "hotkeys"
[00000365] main interface debug: TIMER module_Need() : 1.000 ms - Total 
1.000 ms
 / 1 intvls (Avg 1.000 ms)
[00000365] main interface debug: thread 5056 (interface) created at 
priority 0 (
interface/interface.c:168)
[00000365] main interface debug: thread started
[00000361] main playlist debug: adding item `' (  )

----- try to play....
[00000366] main input debug: Creating an input for 'crickets.mp3'
[00000366] main input debug: waiting for thread initialization
[00000366] main input debug: thread started
[00000366] main input debug: `C:\temp\crickets.mp3' gives access `' demux 
`' pat
h `C:\temp\crickets.mp3'
[00000366] main input debug: thread 6300 (input) created at priority 1 
(input/in
put.c:370)
[00000366] main input debug: creating demux: access='' demux='' 
path='C:\temp\cr
ickets.mp3'
[00000367] main demux debug: looking for access_demux module: 1 candidate
[00000367] main demux debug: TIMER module_Need() : 0.000 ms - Total 0.000 
ms / 1
 intvls (Avg 0.000 ms)
[00000366] main input debug: creating access '' 
path='C:\temp\crickets.mp3'
[00000368] main access debug: looking for access module: 5 candidates
[00000368] vcd access debug: trying .cue file: C:\temp\crickets.cue
[00000368] vcd access debug: could not find .cue file
[00000368] access_file access debug: opening file `C:\temp\crickets.mp3'
[00000368] main access debug: using access module "access_file"
[00000368] main access debug: TIMER module_Need() : 2.000 ms - Total 2.000 
ms /
1 intvls (Avg 2.000 ms)
[00000369] main stream debug: Using AStream*Stream
[00000369] main stream debug: pre-buffering...
[00000369] main stream debug: received first data for our buffer
[00000366] main input debug: creating demux: access='' demux='' 
path='C:\temp\cr
ickets.mp3'
[00000370] main demux debug: ID3v2.3 revision 0 tag found, skipping 40 
bytes
[00000370] main demux debug: looking for demux module: 51 candidates
[00000371] main packetizer debug: looking for packetizer module: 18 
candidates
[00000371] main packetizer debug: using packetizer module "mpeg_audio"
[00000371] main packetizer debug: TIMER module_Need() : 0.000 ms - Total 
0.000 m
s / 1 intvls (Avg 0.000 ms)
[00000370] main demux debug: using demux module "mpga"
[00000370] main demux debug: TIMER module_Need() : 2.000 ms - Total 2.000 
ms / 1
 intvls (Avg 2.000 ms)
[00000370] main demux debug: looking for meta reader module: 2 candidates
[00000370] main demux debug: using meta reader module "taglib"
[00000370] main demux debug: TIMER module_Need() : 1.000 ms - Total 1.000 
ms / 1
 intvls (Avg 1.000 ms)
[00000370] main demux debug: removing module "taglib"
[00000366] main input debug: `C:\temp\crickets.mp3' successfully opened
@@@@@@@@@@@@@ Caught event: libvlc_MediaPlayerPlaying
[00000371] mpeg_audio packetizer debug: MPGA channels:2 samplerate:11025 
bitrate
:32
[00000366] main input debug: selecting program id=0
[00000372] main decoder debug: looking for decoder module: 34 candidates
[00000372] main decoder debug: using decoder module "mpeg_audio"
[00000372] main decoder debug: TIMER module_Need() : 1.000 ms - Total 1.000 
ms /
 1 intvls (Avg 1.000 ms)
[00000372] main decoder debug: thread 6404 (decoder) created at priority 2 
(inpu
t/decoder.c:217)
[00000372] main decoder debug: thread started
[00000372] mpeg_audio decoder debug: MPGA channels:2 samplerate:11025 
bitrate:32

[00000372] main decoder debug: no aout present, spawning one
[00000373] main audio output debug: looking for audio output module: 5 
candidate
s
[00000373] aout_directx audio output debug: OpenAudio
[00000373] aout_directx audio output debug: found device: Primary Sound 
Driver
[00000373] aout_directx audio output debug: found device: Speakers / 
Headphones
(IDT High Definition Audio CODEC)
[00000373] aout_directx audio output debug: found device: Independent 
(R.T.C.) H
eadphones (IDT High Definition Audio CODEC)
[00000373] aout_directx audio output debug: device supports 2 channels 
(DEFAULT!
)
[00000373] aout_directx audio output debug: device supports 2 channels
[00000373] aout_directx audio output debug: device supports 1 channel
[00000373] aout_directx audio output debug: Windows says your SpeakerConfig 
is s
tereo
[00000373] aout_directx audio output debug: creating DirectSoundThread
[00000374] main generic debug: thread 6596 (DirectSound Notification 
Thread) cre
ated at priority 15 (directx.c:392)
[00000373] main audio output debug: using audio output module 
"aout_directx"
[00000374] main generic debug: thread started
[00000373] main audio output debug: TIMER module_Need() : 92.000 ms - Total 
92.0
00 ms / 1 intvls (Avg 92.000 ms)
[00000374] aout_directx generic debug: DirectSoundThread ready
[00000373] main audio output debug: output 's16l' 11025 Hz Stereo frame=1 
sample
s/4 bytes
[00000373] main audio output debug: mixer 'fl32' 11025 Hz Stereo frame=1 
samples
/8 bytes
[00000373] main audio output debug: filter(s) 'fl32'->'s16l' 11025 
Hz->11025 Hz
Stereo->Stereo
[00000375] main audio output debug: looking for audio filter module: 24 
candidat
es
[00000375] main audio output debug: using audio filter module 
"converter_float"
[00000375] main audio output debug: TIMER module_Need() : 0.000 ms - Total 
0.000
 ms / 1 intvls (Avg 0.000 ms)
[00000373] main audio output debug: found a filter for the whole 
conversion
[00000373] main audio output debug: looking for audio mixer module: 3 
candidates

[00000373] main audio output debug: using audio mixer module 
"float32_mixer"
[00000373] main audio output debug: TIMER module_Need() : 1.000 ms - Total 
1.000
 ms / 1 intvls (Avg 1.000 ms)
[00000373] main audio output debug: input 'mpga' 11025 Hz Stereo frame=576 
sampl
es/1053 bytes
[00000373] main audio output debug: filter(s) 'mpga'->'fl32' 11025 
Hz->11025 Hz
Stereo->Stereo
[00000376] main audio output debug: looking for audio filter module: 24 
candidat
es
[00000376] main audio output debug: using audio filter module 
"mpgatofixed32"
[00000376] main audio output debug: TIMER module_Need() : 1.000 ms - Total 
1.000
 ms / 1 intvls (Avg 1.000 ms)
[00000373] main audio output debug: found a filter for the whole 
conversion
[00000373] main audio output debug: filter(s) 'fl32'->'fl32' 12127 
Hz->11025 Hz
Stereo->Stereo
[00000377] main audio output debug: looking for audio filter module: 24 
candidat
es
[00000377] main audio output debug: using audio filter module 
"bandlimited_resam
pler"
[00000377] main audio output debug: TIMER module_Need() : 1.000 ms - Total 
1.000
 ms / 1 intvls (Avg 1.000 ms)
[00000373] main audio output debug: found a filter for the whole 
conversion
[00000366] main input debug: control type=1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090305/81f073c7/attachment.html>


More information about the vlc-devel mailing list