bramp / flvtool-plus-plus

flvtool++
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

flvtool++ 1.0

This source is part of flvtool, a generic FLV file editor Copyright 2008 Andrew Brampton, Lancaster University

This is a C++ re-write of a similar closed source tool FLVMDI and a open source Ruby app named flvtool2. I originally wrote flvtool++ due to the lack of large file support in the two previous tools. Well those tools do support large files, however it seems they require at least as much RAM as the size of the file, and when I was working with >1GB files this became a problem. Additionally this tool compiles cleanly on different OSes so I was not limited to just windows.

This tool has the following features:

I will add soon:

Usage

flvtool++ is used from the command line, so far it has a few simple parameters

Takes the input file, indexes it and writes it out to the output file. The start and end times may optionally specify timecodes in seconds that are used to chop the FLV file.

flvtool++ <input file> <output file> (<start time> <end time>)

Displays all the metadata and tag information about the input file.

flvtool++ -i <input file>

Compiling

Windows:

Download the source package and locate the flvtool++.sln file. This is a Visual Studio 2003 solution and should build cleanly without modification. I have not tested this under Visual Studio 2005 or later, but I believe it should compile fine.

It should also be possible to compile this with other compilers under windows (such as GCC) however this is a exercise I leave to the reader

Linux/FreeBSD:

flvtool++ compiles cleanly under GCC, a makefile is provided such that you only need to extract the source package, and then type make.