[vlc] Re: H263 over RTP

chris.2.dobbs at bt.com chris.2.dobbs at bt.com
Mon Feb 26 15:37:23 CET 2007


Tried this SDP and VLC doesn't seem to be seeing the incoming RTP
traffic at all; ethereal tells me it's there as RTP/H263 (RFC 2429) -
eventho it's trying to decode it as RFC2190 !
I wondered if I need to put the dynamic payload type into the RTP header
instead of type 34?

I am sending RTP traffic from 10.215.131.65 to 10.215.130.112 (where the
vlc palyer is)

v=0
o=- 49451 3 IN IP4 10.215.131.65
s=Test H263 stream
i=Parameters for the session streamed by "ChipsAhoyH263"
t=0 0
c=224.0.0.1
m=video 7776 RTP/AVP 98
a=rtpmap:98 H263-1998/90000
a=fmtp:98 profile=0; level=40
b=TIAS:2048000 



Ethereal output:

Frame 1 (1514 bytes on wire, 1514 bytes captured)
    Arrival Time: Feb 26, 2007 13:56:40.192935000
    Time delta from previous packet: 0.000000000 seconds
    Time since reference or first frame: 0.000000000 seconds
    Frame Number: 1
    Packet Length: 1514 bytes
    Capture Length: 1514 bytes
Ethernet II, Src: 00:05:dc:34:36:42, Dst: 00:15:60:99:63:31
Internet Protocol, Src Addr: 132.146.168.35 (132.146.168.35), Dst Addr:
10.215.130.112 (10.215.130.112)
User Datagram Protocol, Src Port: 7776 (7776), Dst Port: 7776 (7776)
Real-Time Transport Protocol
    10.. .... = Version: RFC 1889 Version (2)
    ..0. .... = Padding: False
    ...0 .... = Extension: False
    .... 0000 = Contributing source identifiers count: 0
    0... .... = Marker: False
    .010 0010 = Payload type: ITU-T H.263 (34)
    Sequence number: 8
    Timestamp: 175195
    Synchronization Source identifier: 703062597
ITU-T Recommendation H.263 RTP Payload header (RFC2190)
    F: False
    p/b frame: False
    Start bit position: 0
    End bit position: 0
    SRC format: forbidden (0)
    Inter-coded frame: False
    Motion vector: False
    Syntax-based arithmetic coding: False
    Advanced prediction option: False
    Reserved field: 2
    Differential quantization parameter: 0
    Temporal Reference for B frames: 0
    Temporal Reference for P frames: 0
    H.263 stream: BC3C0E1017AB3349A11053EC118FC7F0...
 

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