[Asterisk-video] app_rtsp connecting to vlc server ?

Bruno Voigt Bruno.Voigt at ic3s.de
Tue Mar 27 13:09:03 MST 2007


Hi,
I'm playing with app_rtsp, app_transcoder, app_h324m etc.

I would like to be able to use my 3G phone to dial in to an TE410 board
PRI E1 EuroISDN
and watch the rtsp-stream provided from a vlc 0.8.6a instance serving
the content of an USB-Webcam.

Is app_rtsp compatible/tested with vlc?

Unfortunately the call just falls thru, see call log below.
Is it right that app_h324m is not needed in this scenario?

- - -
I started the vlc-instance like this:

#!/bin/bash
OUTIP=172.17.33.82
VB=51
#VCODEC=H263
VCODEC=mp4v
PORT=1234

vlc v4l:// $EXTRAOPT --v4l-vdev=/dev/video0 --v4l-norm=3
--v4l-frequency=-1 --no-interact -I http --http-host=127.0.0.1:8081
--no-audio 
--sout='#transcode{vcodec='$VCODEC',vb='$VB',scale=1}:rtp{dst='$OUTIP',port='$PORT',sdp=rtsp://'$OUTIP':8080/xyz.sdp}'

extensions.conf:

[pri]
exten => 12345,1,Answer
exten =>
12345,2,transcode(,s at video-cam1,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)

[video-cam1]
exten => s,1,Answer
exten => s,n,rtsp(rtsp://172.17.33.82:8080/xyz.sdp)
exten => s,n,HangUp


   -- Accepting call from '01701234567' to '12345' on channel 1/9, span 1
    -- Executing [12345 at pri1:1] Answer("Zap/9-1", "") in new stack
    -- Executing [12345 at pri1:2] transcode("Zap/9-1",
"|s at video-cam1|h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50") in new stack
    -- Executing [s at video-cam1:1] Answer("Local/s at video-cam1-a243,2",
"") in new stack
    -- Executing [s at video-cam1:2] rtsp("Local/s at video-cam1-a243,2",
"rtsp://172.17.33.82:8080/xyz.sdp") in new stack
    -- Executing [s at video-cam1:3] Hangup("Local/s at video-cam1-a243,2",
"") in new stack
  == Spawn extension (video-cam1, s, 3) exited non-zero on
'Local/s at video-cam1-a243,2'
  == Auto fallthrough, channel 'Zap/9-1' status is 'UNKNOWN'
    -- Hungup 'Zap/9-1'

- - -
BTW: I didn't yet manage to get the app_mp4 demo with record & play to work,
asterisk segfaults upon trying to play the recorded file, although
playing another manually converted&hinted video file works..

This is on an debian/unstable system with nearly all dev-libs (but 
/usr/src/pwlib_v1_10_3/) from the debian repository.

Thanks for any hints,
Bruno
--
bruno.voigt at ic3s.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bruno.Voigt.vcf
Type: text/x-vcard
Size: 269 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-video/attachments/20070327/08eae2d2/Bruno.Voigt.vcf


More information about the asterisk-video mailing list