Skip to main content
Jan 29, 2010 10:01 AM UTC
Question

Getting flv file's duration

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 is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Jan 29, 2010 12:26 PM UTC

    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).

    Translate