How to find our .fla video lenght

Discussion in 'PHP' started by zaay, Aug 22, 2009.

  1. #1
    Hello everyone !

    I have two input fields:
    Name and File

    And that two fields i can insert into database. In name i just put videos name, and in file i put video location on my server and then i show that fla video on my website index. But i also want to show lenght of the video. Is there any way PHP can check what is the lenght of the .FLA video, and insert it into database ?

    Thanx!:cool:
     
    zaay, Aug 22, 2009 IP
  2. john.peter

    john.peter Well-Known Member

    Messages:
    307
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    138
    #2
    Yes, you can use flvtool, mplayer to get the video duration in PHP...
     
    john.peter, Aug 23, 2009 IP