Nieuwe awesome parser des doods voor RAW tcpflow logs van F4M streams, en hopelijk fix voor F4M streams zelf, nieuwe dataparser voor FLV streams, en awesomeheid in het algemeen

This commit is contained in:
Thulinma 2011-03-21 00:40:49 +01:00
parent 645a1d0910
commit fe6d0fdccf
4 changed files with 132 additions and 3 deletions

View file

@ -42,10 +42,10 @@ class Box {
BoxHeader GetHeader( );
void ResetPayload( );
void Parse( std::string PrintOffset = "" );
private:
BoxHeader header;
uint8_t * Payload;
uint32_t PayloadSize;
private:
BoxHeader header;
};//Box Class
Box::Box() {
@ -385,6 +385,8 @@ void Box::Parse( std::string PrintOffset ) {
std::cerr << PrintOffset << " DiscontinuityIndicator: " << (int)FragmentRunEntryTable[i].DiscontinuityIndicator << "\n";
}
}
} else if ( header.BoxType == 0x6D646174 ) {
std::cerr << "mdat box containing " << PayloadSize << " bytes of payload" << std::endl;
} else {
std::cerr << "BoxType '"
<< (char)(header.BoxType >> 24)