faad warning: Unexpected channel configuration change

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
chcdu
New Cone
New Cone
Posts: 7
Joined: 24 Nov 2010 15:03

faad warning: Unexpected channel configuration change

Postby chcdu » 25 Nov 2010 10:20

Using VLC to play a video,video is well, but there is no sound.I think this is caused by "Unexpected channel configuration change".I use faad2 to decode this audio.
Bellow is this video's information:
Z:\video\310-640-x-480mpeg4+MPEG-4AAC-LC.mp4
General
Complete name : Z:\video\310-640-x-480mpeg4+MPEG-4AAC-LC.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 259 MiB
Duration : 34mn 59s
Overall bit rate : 1 035 Kbps
Video #1
ID : 1
Format : MPEG-4 Visual
Format profile : AdvancedSimple@L4
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : 20
Duration : 34mn 59s
Bit rate mode : Variable
Bit rate : 855 Kbps
Maximum bit rate : 3 466 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.111
Stream size : 214 MiB (83%)
Writing library : XviD 1.0.1 (UTC 2004-06-05)
Audio #5
ID : 5
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 34mn 59s
Bit rate mode : Variable
Bit rate : 127 Kbps
Maximum bit rate : 131 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 31.9 MiB (12%)

Bellow are messages gotten from VLC while playing:
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 4805.000 ms - Total 4805.000 ms / 1 intvls (Avg 4805.000 ms)
main debug: window size: 640x480
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 1 candidate
audio_format debug: f32l->s16l, bits per sample: 32->16
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 8 candidates
main debug: using audio filter module "audio_format"
main debug: TIMER module_need() : 4082.000 ms - Total 4082.000 ms / 1 intvls (Avg 4082.000 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 97.000 ms - Total 97.000 ms / 1 intvls (Avg 97.000 ms)
main debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module: 1 candidate
directx debug: creating Vout EventThread
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 47.000 ms - Total 47.000 ms / 1 intvls (Avg 47.000 ms)
main debug: filter(s) 'f32l'->'f32l' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
bandlimited_resampler debug: f32l/52800KHz/2->f32l/48000KHz/2
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: End of audio preroll
directx debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 3 candidates
faad warning: Maximum number of bitstream elements exceeded
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change
faad warning: Unexpected channel configuration change


Any idea to me? I googled for a long time, but now have no idea for it.I know KMplayer can this video well, and hear sound.But with VLC 1.1.5 for Win32,this video is no sound.
Thanks for some ideas. :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: faad warning: Unexpected channel configuration change

Postby Jean-Baptiste Kempf » 25 Nov 2010 15:12

Can you share the video file?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

chcdu
New Cone
New Cone
Posts: 7
Joined: 24 Nov 2010 15:03

Re: faad warning: Unexpected channel configuration change

Postby chcdu » 26 Nov 2010 03:08

Can you share the video file?
Thanks for your reply.The file is more than 200M,so I upload part of it.
This is the file, http://www.speedyshare.com/files/253835 ... C_clip.mp4
Thanks for your help. :)

Lotesdelere
Cone Master
Cone Master
Posts: 10115
Joined: 08 Sep 2006 04:39
Location: Europe

Re: faad warning: Unexpected channel configuration change

Postby Lotesdelere » 26 Nov 2010 19:44

Yes, confirmed, and this occurs with VLC only, it's playing fine in MPlayer and FFplay.

You should create a ticket on the VLC Trac with a link to the non working file.

chcdu
New Cone
New Cone
Posts: 7
Joined: 24 Nov 2010 15:03

Re: faad warning: Unexpected channel configuration change

Postby chcdu » 29 Nov 2010 08:06

Does anyone have some ideas for this issue?

chcdu
New Cone
New Cone
Posts: 7
Joined: 24 Nov 2010 15:03

Re: faad warning: Unexpected channel configuration change

Postby chcdu » 02 Dec 2010 10:08

I hava make a little changes in FAAD2 source codes.Now this video can be played with sound,but the sound isn't perfect for I discard SCE of the audio.I'm confused that other players play this video'audio well.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: faad warning: Unexpected channel configuration change

Postby Jean-Baptiste Kempf » 02 Dec 2010 12:04

I hava make a little changes in FAAD2 source codes.Now this video can be played with sound,but the sound isn't perfect for I discard SCE of the audio.I'm confused that other players play this video'audio well.
Please share the patches :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

chcdu
New Cone
New Cone
Posts: 7
Joined: 24 Nov 2010 15:03

Re: faad warning: Unexpected channel configuration change

Postby chcdu » 02 Dec 2010 12:39

I hava make a little changes in FAAD2 source codes.Now this video can be played with sound,but the sound isn't perfect for I discard SCE of the audio.I'm confused that other players play this video'audio well.
Please share the patches :D
Below is the patch.
Index: faad2/libfaad/specrec.c
===================================================================
diff -u -r1.1.1.1 specrec.c
--- faad2/libfaad/specrec.c 23 Sep 2010 22:43:34 -0000 1.1.1.1
+++ faad2/libfaad/specrec.c 2 Dec 2010 11:14:49 -0000
@@ -924,9 +924,9 @@
/* reset the allocation */
hDecoder->element_alloced[hDecoder->fr_ch_ele] = 0;

- hDecoder->element_output_channels[hDecoder->fr_ch_ele] = output_channels;
+ //hDecoder->element_output_channels[hDecoder->fr_ch_ele] = output_channels;

- //return 21;
+ return 21;
}

if (hDecoder->element_alloced[hDecoder->fr_ch_ele] == 0)

I hope it will be helpful.There would be a better way to let this video'audio played well.You may give me some advice.Thanks :D

chcdu
New Cone
New Cone
Posts: 7
Joined: 24 Nov 2010 15:03

Re: faad warning: Unexpected channel configuration change

Postby chcdu » 03 Dec 2010 03:34

http://www.speedyshare.com/files/255017 ... AAC-LC.mp4
This is the video that can't be played with sound by VLC for Win32.Video is well,but no sound.The video I uploaded last time,isn't a good sample,so I upload a good one.Please use this new one.Thanks for your help.

chcdu
New Cone
New Cone
Posts: 7
Joined: 24 Nov 2010 15:03

Re: faad warning: Unexpected channel configuration change

Postby chcdu » 03 Dec 2010 14:15

I'm happy to say that I just found an important clue. :D
ffmpeg can decode this video'audio well,but it's not the same case with faad.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 43 guests