FLVMeta - FLV Metadata Editor
flvmeta is a command-line utility aimed at manipulating Adobe(tm) Flash Video files (FLV), through several commands, only one of which can be used for each invocation of the program.
This program has the ability to compute and inject a variety of values in the
onMetaData event tag, including keyframe indices used by most video players to allow random-access seeking, notably for HTTP pseudo-streamed files via a server-side module, by having the client send the file offset looked up for the nearest desired keyframe.
Tools such as flvmeta must be used in the case the initial encoding process is unable to inject those metadata.
It can also optionally inject the
onLastSecond event, used to signal the end of playback, for example to revert the player software to a 'stopped' state.
File information and metadata dumping
flvmeta also has the ability to dump metadata and full file information to standard output, in a variety of textual output formats, including XML, YAML, and JSON.
File validity checking
Finally, the program can analyze FLV files to detect potential problems and errors, and generate a textual report in a raw format, or in XML. It has the ability to detect more than a hundred problems, going from harmless to potentially unplayable, using real world encountered issues.
flvmeta can operate on arbitrarily large files, and can handle FLV files using extended (32-bit) timestamps. It can guess video frame dimensions for all known video codecs supported by the official FLV specification.
Its memory usage remains minimal, as it uses a two-pass reading algorithm which permits the computation of all necessary tags without loading anything more than the file's tags headers in memory.
See the INSTALL.md file for build and installation instructions.
- Marc Noirot email@example.com
I would like to thank the following contributors:
- Neutron Soutmun firstname.lastname@example.org - spelling fixes, patches and Debian package maintenance
- Eric Priou email@example.com - support and MacOSX builds
- Zou Guangxian firstname.lastname@example.org - VP60 related bug fix
- email@example.com - malformed metadata related bug fix
- Robert M. Hall, II firstname.lastname@example.org - sample files to implement extended timestamp support
- email@example.com - extended timestamp related bug report
- Anton Gorodchanin firstname.lastname@example.org - command line and AVC bugfixes
The FLVMeta source package includes and uses the following software:
- the libyaml YAML parser and emitter (http://pyyaml.org/wiki/LibYAML).
FLVMeta is provided "as is" with no warranty. The exact terms under which you may use and (re)distribute this program are detailed in the GNU General Public License, in the file LICENSE.md.
See the CHANGELOG.md file for a description of major changes in this release.
See the file TODO for ideas on how you could help us improve FLVMeta.