[Live-devel] Number of frames

Mallikharjuna Reddy (NAVT) ymreddy at ssdi.sharp.co.in
Wed Dec 27 19:49:13 PST 2006


Hi Ross,

Thanks for the information.

I am looking on the server side for finding which packet belongs to which
frame.

Thanks and Regards
Y. Mallikharjuna Reddy


-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com]On Behalf Of Ross Finlayson
Sent: Wednesday, December 27, 2006 7:34 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Number of frames


>We are using RTP server and client test programs to stream MPEG II files.
We
>need to find out which packet belongs to which frame. In the LIVE555 code
>base, the frame refers to picture header/GOP header/slice. However, we are
>looking for the complete video frame (picture). Since one complete frame
>goes in different packets, we need to find which packet belongs to which
>frame.

It wasn't clear from your message whether you are talking about the 
server end or the client end.  I presume you're talking about the 
client (i.e., receiving) end.

In most video RTP payload formats - including MPEG-2 - the RTP "M" 
(marker) bit is used to mark the last RTP packet  for each complete 
video frame.  You can test this bit (at the client end) by calling 
"RTPSource:: curPacketMarkerBit()".  (Note, for example, how the VLC 
code does this - in its "live555.cpp" code.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


More information about the live-devel mailing list