[Asterisk-video] retrieve stream from a vivotek cam

Ngo-Vi Hoai-Anh hoaianh at gmx.de
Fri Oct 24 09:25:08 CDT 2008


Hi guys,

Has someone tried to retrieve the stream from a VIVOTEK network cam.

I've tried but without success.

My configuration

[sipin]

exten => 333,1,Answer()
exten => 
333,n,transcode(,rtsp at videodemo,h263 at qcif/fps=8/kb=52/qmin=15/qmax=15/gs=12)


[videodemo]

exten => rtsp,1,Answer()
exten => rtsp,n,rtsp(rtsp://192.168.9.111/live.sdp)
exten => rtsp,n,Hangup()

Using xlite to call 333 I've got this output:


Connected to Asterisk 1.4.19.2 currently running on asteria (pid = 23584)
Verbosity is at least 3
    -- Executing [333 at default:1] Answer("SIP/xlite1-b77bcc48", "") in 
new stack
    -- Executing [333 at default:2] transcode("SIP/xlite1-b77bcc48", 
"|rtsp at videodemo|h263 at qcif/fps=8/kb=52/qmin=15/qmax=15/gs=12") in new stack
[Oct 24 16:01:00] WARNING[17811]: app_transcoder.c:896 app_transcode: 
Transcoding [,rtsp at videodemo,h263 at qcif/fps=8/kb=52/qmin=15/qmax=15/gs=12]
    -- Executing [rtsp at videodemo:1] 
Answer("Local/rtsp at videodemo-10df,2", "") in new stack
    -- Executing [rtsp at videodemo:2] rtsp("Local/rtsp at videodemo-10df,2", 
"rtsp://192.168.9.111/live.sdp") in new stack
[Oct 24 16:01:00] WARNING[17813]: app_rtsp.c:1032 rtsp_play: >rtsp play
[Oct 24 16:01:00] WARNING[17813]: channel.c:2755 set_format: Unable to 
find a codec translation path from unknown to unknown
[Oct 24 16:01:01] WARNING[17813]: app_rtsp.c:1531 rtsp_play: 
<rtsp_play    -- Executing [rtsp at videodemo:3] 
Hangup("Local/rtsp at videodemo-10df,2", "") in new stack
  == Spawn extension (videodemo, rtsp, 3) exited non-zero on 
'Local/rtsp at videodemo-10df,2'
  == Auto fallthrough, channel 'SIP/xlite1-b77bcc48' status is 'UNKNOWN'
    -- Executing [h at default:1] NoOp("SIP/xlite1-b77bcc48", "0") in new stack

I assume that I have to configure the VIVOTEK cam to stream in a format 
app_rtsp understands.

Can anybody help? I am very thankfull for any hint.





More information about the asterisk-video mailing list