[vlc] Crash bug in 0.8.6a+b (Win) when RTSP streaming aac

Kim Schulz kim at schulz.dk
Thu Apr 19 11:04:28 CEST 2007


hi,
Just discovered a bug in vlc 0.8.6a+b for windows that makes it crash 
when streaming aac via RTSP (actually libfaad crashes and takes down vlc). 
I am streaming AAC LC 2 channel and it is setup via inline SDP
in the RTSP stream. The sdp looks like:
v=0
o=ABC 2929302000 2929307000 IN IP4 10.123.10.30
s=ABC DEMO
t=0 0
c=IN IP4 10.123.10.30
m=video 8890 RTP/AVP 96
a=rtpmap:96 H264/90000
m=audio 8888 RTP/AVP 97
a=rtpmap:97 MP4A-LATM/90000
a=fmtp:97 profile-level-id=1;cpresent=1

vlc automatically set the libfaad to use 1 channel for the audio, which
is not correct. then when I start the stream, vlc discovers this and gives
some errors. Here is the full message windows output:
main debug: adding playlist item `rtsp://10.123.10.30:9999' ( rtsp://10.123.10.30:9999 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: thread 3992 (input) created at priority 1 (input/input.c:265)
main debug: `rtsp://10.123.10.30:9999' gives access `rtsp' demux `' path `10.123.10.30:9999'
main debug: creating demux: access='rtsp' demux='' path='10.123.10.30:9999'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/H264'
live555 debug: RTP subsession 'audio/MP4A-LATM'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 28 candidates
ffmpeg debug: libavcodec initialized (interface 3349504 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: ffmpeg codec (h264) started
main debug: using decoder module "ffmpeg"
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_h264"
main debug: thread 4164 (decoder) created at priority 0 (input/decoder.c:159)
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "faad"
main debug: thread 4188 (decoder) created at priority 2 (input/decoder.c:159)
main debug: `rtsp://10.123.10.30:9999' successfully opene
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Maximum number of scalefactor bands exceeded
faad warning: Scalefactor out of range
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Channel coupling not yet implemented
faad warning: Invalid number of channels
faad warning: Channel coupling not yet implemented
faad warning: Invalid number of channels
faad warning: Invalid number of channels
faad warning: Maximum number of scalefactor bands exceeded
faad warning: Invalid number of channels
faad warning: Input data buffer too small
faad warning: Maximum number of scalefactor bands exceeded
faad warning: Invalid number of channels
faad warning: Maximum number of scalefactor bands exceeded
faad warning: Gain control not yet implemented
faad warning: Invalid number of channels
faad warning: Gain control not yet implemented

at this point it crashes.

-- 
Kim Schulz

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list