ParsePacketizedStream() public méthode

public ParsePacketizedStream ( Stream PacketStream ) : PacketizedStream
PacketStream Stream
Résultat PacketizedStream
Exemple #1
0
 public void ReadPacketizedElementaryStreamHeaderTest()
 {
     MpegPsDemuxer.Packet Packet;
     var MpegPsDemuxer = new MpegPsDemuxer(File.OpenRead("../../../TestInput/test.pmf").SliceWithLength(0x800));
     for (int n = 0; n < 32; n++)
     {
         Packet = MpegPsDemuxer.ReadPacketizedElementaryStreamHeader();
         //if ((Packet.Type & 0xFF0) == 0x1E0)
         //if (Packet.Type == 0x1E0)
         {
             Console.WriteLine("0x{0:X}", Packet.Type);
             MpegPsDemuxer.ParsePacketizedStream(Packet.Stream);
         }
     }
 }