Yamdi is a metadata injection software for FLV files.
One of the reasons why someone might need yamdi is because they have to add metadata to large FLV files (over 1GB). Other free tools like flvmdi and flvtool2 are not suitable for this job since they read the entire file into memory. That's where yamdi comes in because it uses less memory and is faster.
With Yet Another MetaData Injector for FLV, you can add the following metadata to your FLV files: creator, metadatacreator, hasKeyframes, hasVideo, hasAudio, hasMetaData, canSeekToEnd, duration, datasize, videosize, videocodecid, audiosize, audiocodecid, audiosamplerate, audiosamplesize, stereo, filesize, lasttimestamp, lastkeyframetimestamp, lastkeyframelocation, keyframes (filepositions, times), width, height, framerate, videodatarate, and audiodatarate.
To install yamdi, download the source code, and extract it with tar. Then, change into the yamdi directory and compile the source code. Yamdi accepts four parameters: -i (the source FLV file), -o (the resulting FLV file with the metatags), -c (optional string to be written into the creator tag), and -h (displays a description of the available parameters).
Examples of how to use yamdi include:
- yamdi -i sample.flv -o sample_with_metadata.flv
- yamdi -i sample.flv -o - > sample_with_metadata.flv
- yamdi -i sample.flv -o sample_with_metadata.flv -c "John Doe"
In the latest release, the onLastSecond FLVTag has been fixed to have a valid timestamp. Overall, Yet Another MetaData Injector (yamdi) is a useful tool for adding metadata to FLV files without taking up too much memory.
Version 1.4: N/A