Page 1 of 1

MP4 audio missing: "Failed to create audio filter"

Posted: 21 Dec 2010 19:27
by belltown
I am running VLC media player 1.1.5 under Windows 7. I am trying to stream an MP4 file to Wowza Media Server using MPEG-TS. The video streams perfectly; however, there is no audio at all.

This is what I have tried so far:
1. View>Add interface>Debug logging
2. Select Media>Streaming...>File tab>Add... [Enter the path to sample.mp4]>Stream>Next
3. Under Stream Output/Destinations select RTP / MPEG Transport Stream then Add
4. Enter Address: 127.0.0.1 and Base port: 10000
6. Use the default encoding: Video - H.264 + AAC (MP4); Next
5. This gives a Generated stream output string of:

Code: Select all

:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep
7. Click Stream
8. The debug log shows:

Code: Select all

[04990214] logger interface: VLC media player - 1.1.5 The Luggage [04990214] logger interface: Copyright c 1996-2010 the VideoLAN team [04990214] 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" [04990214] logger interface: using logger. [009f15c4] main stream out error: Failed to create audio filter [009f15c4] stream_out_transcode stream out error: Failed to find conversion filt er for resampling [009f15c4] stream_out_transcode stream out error: cannot create audio chain [0831888c] main decoder error: cannot create packetizer output (mp4a) x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1 x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 x264 [info]: profile High, level 2.1
The messages "Failed to create output filter" and "Failed to find conversion filter for resampling" seem to imply that I have a missing filter or some other misconfiguration problem. Any idea how I would configure VLC or find the required filter so that I get the audio to work?

Re: MP4 audio missing: "Failed to create audio filter"

Posted: 22 Dec 2010 18:13
by VLC_help
Does it work if you remove samplerate=44100 or use samplerate=48000 ?

Re: MP4 audio missing: "Failed to create audio filter"

Posted: 22 Dec 2010 19:08
by belltown
Does it work if you remove samplerate=44100 or use samplerate=48000 ?
Yes!!! It works in both cases. Just curious to know why that is.

Also, I'm getting a continuous stream of messages in the debug log like:

Code: Select all

[004e1bf4] main mux warning: late buffer for mux input (1576761) [004e1bf4] main mux warning: late buffer for mux input (1537831) [004e1bf4] main mux warning: late buffer for mux input (1498777)
Is that something I need to be concerned about?

Thanks again for your help.

Re: MP4 audio missing: "Failed to create audio filter"

Posted: 23 Dec 2010 18:03
by VLC_help
VLCs samplerate code isn't perfect. So there is prolly a bug in there.

Those messages itself are harmless.