public function getFrameCount()
    {
        if ($this->frameCount === null) {
            $this->frameCount = (int)($this->getDuration() * $this->getFrameRate());
        }

        return $this->frameCount;
    }
public function getFrameCount()
    {
        if ($this->frameCount === null) {
            $this->frameCount = (int)($this->getDuration() * $this->getFrameRate());
        }

        return $this->frameCount;
    }
public function getFrameCount ( ) { if ( $ this -> frameCount === null ) { $ this -> frameCount = ( int ) ( $ this -> getDuration ( ) * $ this -> getFrameRate ( ) ) ; } return $ this -> frameCount ; }
Return the number of frames in a movie or audio file.

@return int
Return the number of frames in a movie or audio file .