Skip to main content
January 29, 2010
Question

Getting flv file's duration

  • January 29, 2010
  • 1 reply
  • 440 views

Is it possible using command line, or a php file to get the duration of an flv file using the flash media server.

I used the flvcheck file to fix the meta data, and was using the duration operator but it didn't come up with anything.

I am guessing the duration operator just shows if there is errors with this?

I hope someone can help me out.

Thanks

    This topic has been closed for replies.

    1 reply

    January 29, 2010

    If you're using FMIS,  you can use Stream.length() in your server side actionscript to get the duration.

    You can also use FLVMDI to inspect the file (flvmdi as a CLI).