[Asterisk-video] app_rtsp: streaming from vlc

Rene van Weert rvweert at gmail.com
Mon Sep 17 10:13:11 CDT 2007


Hi Everyone,

I'm trying to get a stream coming from my vlc player to work with app_rtsp.

I'm getting the following log:
    -- Executing [s at rtsp:1] Answer("Local/s at rtsp-7686,2", "") in new stack
    -- Executing [s at rtsp:2] rtsp("Local/s at rtsp-7686,2",
"rtsp://10.0.1.145:8080/xyz.sdp") in new stack
[Sep 17 17:07:46] WARNING[4878]: app_rtsp.c:1027 rtsp_play: >rtsp play
[Sep 17 17:07:46] WARNING[4878]: app_rtsp.c:418 RtspPlayerDescribe:
>DESCRIBE [/xyz.sdp]
[Sep 17 17:07:46] WARNING[4878]: app_rtsp.c:439 RtspPlayerDescribe:
<DESCRIBE [/xyz.sdp]
[Sep 17 17:07:46] WARNING[4878]: app_rtsp.c:1068 rtsp_play: -rtsp play loop
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:1128 rtsp_play: -Receiving
describe
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:1128 rtsp_play: -Receiving
describe
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [v=0]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [o=-
69732431000 2 IN IP4 127.0.0.1]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [s=NONE]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [t=0 0]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [a=tool:vlc
0.8.6c]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [c=IN IP4
10.0.1.145]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [m=video
1232 RTP/AVP 96]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:687 CreateMedia: -creating media
[1,m=video 1232 RTP/AVP 96]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line [b=AS:51]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line
[a=rtpmap:96 H263-1998/90000]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:742 CreateSDP: -line
[a=control:trackID=0]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:1206 rtsp_play: -video
[1048576,96,trackID=0]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:502 RtspPlayerSetupVideo: -SETUP
VIDEO [trackID=0]
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:554 RtspPlayerPlay: -PLAY
[/xyz.sdp]
[Sep 17 17:07:47] ERROR[4878]: app_rtsp.c:1330 rtsp_play: No session
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:1468 rtsp_play: -rtsp_play end
loop[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:593 RtspPlayerTeardown:
-TEARDOWN
[Sep 17 17:07:47] WARNING[4878]: app_rtsp.c:1489 rtsp_play: <rtsp_play    --
Executing [s at rtsp:3] Hangup("Local/s at rtsp-7686,2", "") in new stack
  == Spawn extension (rtsp, s, 3) exited non-zero on 'Local/s at rtsp-7686,2'

The settings for vlc are as follows:
:sout=#transcode{acodec=none,vcodec=H263,vb=51,scale=1,width=176,height=144}:rtp{dst=
10.0.1.145,port=8080,sdp=rtsp://10.0.1.145:8080/xyz.sdp}

However when I trie to stream a file from youtube (which are also h263
encoded) I do get app_rtsp working (without the audio).
The stream I'm using there is:
rtsp://208.65.153.241/youtube/videos/k66epna2Sss/video.3gp

Can anyone help me out to get it working with VLC?

Thanks in advance.

René
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20070917/0c83a7b8/attachment.htm 


More information about the asterisk-video mailing list