[vlc] Re: H263 over RTP

chris.2.dobbs at bt.com chris.2.dobbs at bt.com
Mon Feb 26 15:44:04 CET 2007


Also noticed this in the vlc log:

sap warning: unable to parse c field (1)



-Chris 

-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] On Behalf
Of Ross Finlayson
Sent: 23 February 2007 13:00
To: vlc at videolan.org
Subject: [vlc] Re: H263 over RTP

>I have had a re-think and correct me if I'm wrong but I think I need to

>do the following:
>
>1. Create an sdp that looks like this:
>
>v=0
>o=- 49451 3 IN IP4 132.146.168.35
>s=Test H263 stream
>i=Parameters for the session streamed by "testH263"
>t=0 0
>m=video 49170 RTP/AVP 98
>a=rtpmap:98 H263-1998/7775
>a=fmtp:98 profile=0; level=40
>b=TIAS:2048000

There are at least a couple of things wrong with this:

1/ You need a "c=" line, to specify the destination network address. 
Because you're not using RTSP, you should use multicast - i.e., specify
a multicast address in the "c=" line.  (I don't think you'll be able to
get unicast streaming to work without using RTSP.)

2/ The number following "H263-1998/" in the "a=rtpmap:" line is supposed
to be the RTP timestamp frequency.  7775 is wrong - for this RTP payload
format, it must be 90000 (i.e., 90 kHz).

>3. At server end(ip 132.146.168.35), I stream out UDP/RTP/H263 
>(RFC2429) to port 7775

No, the port number is the number given in your "m=" line - in this
case, 49170.  (Note that the port number should be even, as it is in
this case.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

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

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