Sevenforge Sevenforge by Curtis Spencer home

Add Duration to FLV files using flvtool2

February 17, 2009

I have been messing around with the Open Source FLV Player, and I have found that the FLV’s i was pointing it to didn’t have duration meta data. That can remedied by this simple shell command (as long as you have flvtool2 installed):

$ sudo gem install flvtool2
$ cat movie.flv | flvtool2 -U stdin movie.flv

Fork me on GitHub