Network 版 (精华区)
发信人: zzn (爱你到内伤), 信区: Network
标 题: mms协议英文资料(28)
发信站: 哈工大紫丁香 (2003年08月23日10:56:52 星期六), 站内信件
Lets take an overall view of the ASF packet structure, time codes and codecs
An IP packet is the actual internet packet that arrives at your computer
through a socket.
IP packet lengths are determined by IP socket size, for example - this is pre
set to 8k for windows 98 and the default for windows 2000 is 17.5k, although
this can be changed using the registry.
As you can see from the diagram, there can be many ASF packets in a single IP
packet or sometimes only one.
Inside an ASF packet, there is a MMS pre header with a start time code,
followed by multiple segments.
A Segment has a time code value followed by an actual frame of encoded video
and audio data.
Encoded frame data is viewable data but is encoded by a codec like MPEG or
some other form of compression encoding.
An encoded frame (or segment) must use the right codec type to decode the
frame and render it for viewing on screen. Media player takes care of that by
automatically testing that the player has the required codec installed. If it
does not, it goes on line and downloads the latest version for you.
All time codes are represented to an accuracy of 1 millisecond time
intervals. A time code represents the actual time that a segment is to be
shown. Time codes follow one another in a time line manner, frame by frame,
each time code increases per frame. The values of time codes don’t always
follow exactly in order of time, but are always close to this increasing
order. Presumably, media player re-organises frame segments in the buffering
stage.
The red area showing the TCPIP header could of course be a UDPIP header also.
The same structure applies.
--
如果世界上每个地方都可以看到月亮,
那就让我搬到月亮上去悄悄看你。
※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.243.49]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.235毫秒