[vlc] Re: H263 over RTP
chris.2.dobbs at bt.com
chris.2.dobbs at bt.com
Fri Feb 23 13:44:10 CET 2007
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
Save to testH263.sdp
2. Fire up vlc client side like this:
%vlc -vvv file://testh263.sdp
VLC seems to open the sdp ok and waits for stream.
3. At server end(ip 132.146.168.35), I stream out UDP/RTP/H263 (RFC2429)
to port 7775
And set the RTP payload header to dynamic type 98.
Does this sound like I'm on the right track now?
Cheers,
-Chris
-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] On Behalf
Of Ross Finlayson
Sent: 23 February 2007 10:34
To: vlc at videolan.org
Subject: [vlc] Re: H263 over RTP
>chris.2.dobbs at bt.com wrote:
>>Please could someone help with the following:
>>I am writing some code which reads live video , compreses it to H263
>>and transmits across UDP/RTP. I have created the RTP payload according
>>to RFC2190 (4 byte h263 header) and fired it at VLC to test. This
>>doesn't work and I think I know why. VLC expects elementary streams
>>over RTP to be encapsulated inside an MPEG2-TS container - I am
>>unfamiliar witht this and have tried simply adding an MPEG2-TS header
>>(RFC2250) and then the h263 bitstream, but suspect I need to somehow
>>mux the h263 to mpeg2 as this is designed to carry both audio/video
muxed together?
>>Am I completely lost at sea here ? If so could someone quickly explain
>>how I can best achieve what I need to do?
>>Many regards and thanks for a great product - we use it all the time
>>at a certain large UK telco...
>>-Chris Dobbs
>>Software contractor
>Did you compile against the live555 library too? VLC is not restricted
>to rtp inside MPEG-TS. If you use the udp/rtp access module then yes.
>But using the live555 access_demuxer should allow for these kinds of
>rtp streams.
Yes - however, one more piece of information: Don't use the payload
format defined by RFC 2190; that has now been deprecated by the IETF,
and we do not support it in VLC. Instead, use RFC 2429 (which defines
the payload format "video/H263-1998").
The LIVE555 libraries - and thus VLC - can handle this payload format,
but only if you give VLC a proper SDP description for the stream. Note
that the "video/H263-1998" payload format must use a dynamic RTP payload
format code, and therefore the SDP description must use a "a=rtpmap:"
line.
--
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