Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recorded an FLV stream, but the resulting video has an awkward metadata quirk that prevents successful conversion to other formats. Here is a snapshot of the keyframes at the beginning of the FLV as displayed by the Fix FLV tool in Jaksta (aka Replay Media Catcher):

enter image description here

The first several keyframes have a timestamp of zero. And then it jumps to 4381554 miliseconds and continues normally from there. This is due to the fact that I started recording 5:52:42 into the live-stream. I would like to do two things:

  1. Remove the keyframes with the zero timestamp at the beginning.
  2. Subtract 4381554 from ALL the keyframes so that the first one starts at zero.

Let me note that this video plays in Adobe Media Player, but starts at the 5:52:42 mark, even though you can't actually jump to the range between 0:00:00 and 5:52:41.

An answer to this this question outlines some tools that could be used to generate keyframe information for an FLV file, but I don't think any of them achieve what I would like.

I basically would like to write a script, but I don't know how to export and more importantly import keyframe metadata into an flv.

share|improve this question

1 Answer 1

up vote 1 down vote accepted
+50

From the tools in your link, flvtool2 should do what you demand. See also this article :
Change / Insert FLV Metadata Values (timestamp, dimensions) with Flvtool2

If this doesn't solve the problem, see this thread for multiple other suggestions :
Fix/repair flv files (make flv files seekable,playable,inject metadata,fix duration).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.