Tools/MetadataGenerator

Metadata Cache Generator

 http://red5.electroteque.org/dev/metadata/MetaDataGenerator.tar.gz

MetaDataGenerator is a tool to help pre-generate the metadata .meta files of new FLV files on the server. When requesting new files depending how big they are, the metadata process could take minutes which sometimes ends up disconnecting clients while it's waiting to process ! Eventually people will give up trying and move on to the next video.

使用法

ant build - will compile the MetaDataGenerator application.
ant start - will start the MetaDataGenerator tool, it will first ask to input the path to the flv files. 
start.sh /path/to/flv - shell script to start the MetaDataGenerator tool and process the files.  

次に示すのは、Java で直接ツールを実行する例です。

java org.red5.client.metadata.MetaDataGenerator /path/to/flv