[vlc] two questions regaring RTSP and mp3 stream playback

Kim Schulz kim at schulz.dk
Tue May 1 17:07:59 CEST 2007


Hi guys,
I am still having some problems with mp3 playback when I RTSP stream h263+mp3. 
The video is running smoothly now (except from a couple of hickups once in awhile), 
but no sound is being played. So now I am investigating a bit into why. 
The data is being sent to VLC (a wireshark log confirms this). The speed of which 
it is being sent seems correct. 
I have looked in the vlc log and found this: 

[00000308] main decoder debug: looking for decoder module: 28 candidates
[00000308] ffmpeg decoder debug: libavcodec initialized (interface 3349504
 )
[00000308] ffmpeg decoder debug: postprocessing disabled
[00000308] ffmpeg decoder debug: using direct rendering
[00000308] ffmpeg decoder debug: ffmpeg codec (H263) started
[00000308] main decoder debug: using decoder module "ffmpeg"
[00000308] main decoder debug: thread 4228 (decoder) created at priority 0
 (input/decoder.c:159)
[00000344] main decoder debug: looking for decoder module: 28 candidates
[00000344] main decoder debug: using decoder module "mpeg_audio"
[00000344] main decoder debug: thread 4300 (decoder) created at priority 2
 (input/decoder.c:159)
[00000305] main input debug: `rtsp://10.123.10.30:9999' successfully opene
d
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.

especially the last error looks weird. 

1) Could this be the reason to why it does not play?

I looked at the RTSP negotiation and it looks like this: 


Sending request: OPTIONS rtsp://10.123.10.30:9999 RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)


Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY


Sending request: DESCRIBE rtsp://10.123.10.30:9999 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)


Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 2
Content-Type: application/sdp
Content-Length: 233


Need to read 233 extra bytes
Read 233 extra bytes: v=0
o=CSR 1562144000 1562149000 IN IP4 10.123.10.30
s=VDP DEMO
t=0 0
c=IN IP4 10.123.10.30
m=video 8890 RTP/AVP 34
a=rtpmap:34 H263-2000/90000
a=cliprect:0,0,288,352
m=audio 8888 RTP/AVP 97
a=rtpmap:97 MPA/90000/2
b=AS:96

[00000307] live555 demuxer debug: RTP subsession 'video/H263-2000'
Sending request: SETUP rtsp://10.123.10.30:9999/ RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=8890-8891
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)


Received SETUP response: RTSP/1.0 200 OK
CSeq: 3
Date: 01 May 16:54:44 Romance Daylight Time
Session: 0
Transport: RTP/AVP;unicast;client_port=8890-8891;server_port=8888-8891


[00000307] live555 demuxer debug: RTP subsession 'audio/MPA'
Sending request: SETUP rtsp://10.123.10.30:9999/ RTSP/1.0
CSeq: 4
Transport: RTP/AVP;unicast;client_port=8888-8889
Session: 0
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)


Received SETUP response: RTSP/1.0 200 OK
CSeq: 4
Date: 01 May 16:54:44 Romance Daylight Time
Session: 1
Transport: RTP/AVP;unicast;client_port=8888-8889;server_port=8888-8891


Sending request: PLAY rtsp://10.123.10.30:9999 RTSP/1.0
CSeq: 5
Session: 1
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)


Received PLAY response: RTSP/1.0 200 OK
CSeq: 5
Session: 2
Range: npt=0.000-



Afterwards I am streaming video to port 8890 and audio to port 8888 as 
the SDP says. Is somthing wrong here?

cheers

-- 
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