Skip to main content
August 25, 2006
Question

missing metadata in FLV

  • August 25, 2006
  • 5 replies
  • 587 views
After transferring an FLV (originally recorded on FMS2) to an http server for progressive download, I experience this problem.
If the FLV is audio only, the player receives the duration via metadata..
However if there is any video content, the meta data does seem to be there. Including the Duratuion.

This makes the usability of a playback controller very, well, non-usable.

Any thoughts?
    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    August 27, 2006
    Thanks Jay

    It is actually stranger than I thought.

    It seems that the metadata (duration) IS there for the first time the file is accessed but then gone after that.

    ex: The first time an FLV is played it contains the duration and a playback head works fine.
    Any future time it is accessed, including if the player is completely closed and restarted, the duration is not there. All metadata seems to be deleted.
    All the player is doing is playing it from an http server. No publishing.

    If I delete my temporary internet files and reload the FLV, it works fine again but only Once.
    This is the case beit I use the player in a browser or as an exe.
    Does windows have the ability to alter an FLV's metadata?
    August 27, 2006
    No... the metatdata won't be rewritten or removed by windows.

    When you trace out the metadata, what do you get? Also, if you open the .flv in notepad, you'll see the metadata at the top of the file (if it's a long .flv, notpad will take a couple of minutes to open it). You should see plain text names for the metadata objects.
    August 28, 2006
    It turns out my problem was that I was doing a seek(0) as soon as the flv starts playing.
    This apparently didn't give the onMetaData a chance to load..and therefore no duration found.

    How far into an flv does the actual onMetaData trigger?
    August 25, 2006
    Yup... it seems that the metadata FMS injects isn't as complete as it could be. Try running your flv's through FLVMDI ( http://buraks.com), and the problem will be corrected.