metadata for flv's

1 view
Skip to first unread message

Anjo Krank

unread,
Apr 12, 2008, 9:10:07 AM4/12/08
to milenia...@googlegroups.com
In StreamReader.analyze()

if ( bodyType == 0x08 ) {
audioBuffer.registerFrame( position , flvStamp , bodySize);
} else if ( bodyType == 0x09 ) {
videoBuffer.registerFrame( position , flvStamp , bodySize);
} else {
byte pad[] = new byte[4];
byte bytes[] = new byte[bodySize];
streamFile.read(pad);
streamFile.read(bytes);
// create an instance var
metaData = Encoder.decode(bytes);
System.out.println( System.currentTimeMillis( ) + "metaData:
" + metaData);
}

Reply all
Reply to author
Forward
0 new messages