I have some FLV clips with wrong metadata. I have used yamdi to get the information in xml, and they show <duration>0.0</duration>, thus they do not play at all. The framerate is also wrong at times.

I would like to know how to edit these values. I assume yamdi, flvtool, FLVMDI etc. can do this, but I do not know how to use them for this purpose. Can anybody provide an example of how the command-line would look like in order to change the duration and framerate?

Thanks in advance.