flvtool++ A command line Flash Video file (FLV) editor

3 Comments

Download Version 0.1: Sorry flvtool++ is no longer available :(

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:

  • Large file support while using minimum memory
  • Add “indexing” metadata, useful for streaming applications
  • Add other metadata such as the video’s duration, or frames per second, etc
  • Displays all the metadata within a FLV file
  • Displays all the tags within a FLV file
  • Displays interesting statistics about the FLV file
  • Can chop the FLV file at arbitrary timecodes
  • Very fast processing time, the main bottleneck is the disk speed
  • Supports Windows, Linux and FreeBSD
  • Source is provided under the BSD licence
  • Has been programmed in a way allowing other apps to easily use my FLV decode/encoding classes

I will add soon:

  • Ability to add arbitrary metadata
  • Demux the FLV into different video and audio files
  • And whatever you request...

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.

Nav Raj

I am trying to chop an flv file using flvtool++. But I cant see the options to chop it. can u help specify the syntax for it

thanks

2009-01-06 09:24:26

bramp

Since I published my version of flvtool++ Facebook have come along and released their own tool, with the same name!

So if you are using my version (which I no longer provide downloads for) then the syntax is simple:
flvtool++ <input file> <output file> <start time> <end time>

Therefore to chop a 100 second file into two halves you do this:
flvtool++ video.flv video-1st.flv 0 50
flvtool++ video.flv video-2nd.flv 50 100

If you are using the Facebook tool, then I don't know the syntax.

2009-01-08 23:52:41

Tobias Schmidbauer

Why do you no longer provide downloads for your tool?

2009-02-12 20:58:42

Warning: The submission system on this blog is flaky at best. Please make a copy of your comment before hitting submit or run the risk of losing it.