4

I have written a program where i get udp packet from a multicast address. Now i need to extract the mpegts from this packet. I am able to take the payload of the udp packet. Can some one help me to extract the mpeg header from the udp packet.

4

1 回答 1

4

MpegTS 通常通过带有 RTP 的 UDP 传输。跳过 RTP 标头。其余的(188*7 字节)是有效载荷,7 个 TS 数据包。每个数据包应以 0x47 开头。

更新

有多个打包层,每个打包/分块序列。上层非常好,底层(基本流)依赖于编解码器并且非常混乱。

MPEG TS - MPEG PES - MPEG ES

于 2011-07-12T08:53:47.973 回答