Jump to content

boostboards

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

boostboards's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [quote author=markbett link=topic=108357.msg435889#msg435889 date=1158462315] http://www.codeguru.com/forum/showthread.php?t=319571 [/quote] Hey thanks! That [i]Other[/i] forum helped me!!  ;D ;D Now I know where to get answers  :P  ::) Thank you ohh forum helper.
  2. its pointed to in the quoted code above look for <---------------------------------------------------- line 151 :-\
  3. I have a couple errors to deal with in a script and this one is bugging me the most. Is something missing from this code? -----edit---- The error I get Fatal error: Call to a member function on a non-object in /home/user/public_html/videos/include/function.php on line 151 [code]function video_to_frame($fpath,$name,$mov,$chnl) { <----------------------------------------------------------------------line 151        global $config;         $frcount=$mov->getFrameCount(); if ($frcount > 0) {         $ff_frame[1]= $mov->getFrame(rand(3,$frcount));         $ff_frame[2]= $mov->getFrame(rand(5,$frcount));         $ff_frame[3]= $mov->getFrame(rand(7,$frcount));     for($i=1;$i<=3;$i++)     { while (!$ff_frame[$i]) {     $ff_frame[$i]= $mov->getFrame(rand((2*$i+1),$frcount)); }     }     } else {            $ff_frame[1]= $mov->getFrame(rand(3,40));         $ff_frame[2]= $mov->getFrame(rand(5,40));         $ff_frame[3]= $mov->getFrame(rand(7,40));     for($i=1;$i<=3;$i++)     { while (!$ff_frame[$i]) {     $ff_frame[$i]= $mov->getFrame(rand((2*$i+1),$frcount)); }     }            }[/code] Thanks in advance. -Dave
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.