Hello All,
I have a query regarding RTP payload format for H.263.
I am following RFC 2190.
I get RTP H.263 packets from RTSP server. I want to parse these packets and
fed the stream to decoder to get RGB frames.
Following is the procedure that I used.
1. Paser RTP header part. This is 12 bytes header which contains payload
value 34 (so H.263 data)
2. Next comes Payload header. This is H.263 header. I looked @ F and P bits
mentioned in rfc 2190. Depending upon valus for F and P, I come to know packet
type (A/B/C) - so payload header will be (4/8/12 bytes respectively).
3. I have concatenated H.263 bitstream data until I get RTP header with
Marker bit set.
4. Now this concatenated data is given to "FFMpeg" decoder (libavcodec.dll)
I am unable to get video frames.
Questions:-
1. Is there anything wrong in above procedure?
2. While parsing RTP packets, I found that H.263 packet types are varying
between A/B/C - meaning - I get 1 packet of A-type, next is B type or sometimes
some C type packets.
Is this ok?
can anyone please help me resolving issue for decoding this?
Thanks in advace,
-Amol.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user