Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing ffmpeg, PHP and beanstalk
    primarykey
    data
    text
    <p>I am very new to ffmpeg and beanstalk and I need a little help. I want to use beanstalk to queue files for ffmpeg to convert. I've downloaded, installed and started beanstalkd (also installed libevent as it suggests to) and i've downloaded a PHP client for beanstalkd;</p> <p><a href="http://sourceforge.net/projects/beanstalk/" rel="nofollow">http://sourceforge.net/projects/beanstalk/</a></p> <p>Now after download the client and putting it on my server, I have done nothing but use the example from the client and i'm getting this error;</p> <p><strong>Fatal error</strong>: Maximum execution time of 30 seconds exceeded in /Users/wasimkhamlichi/Sites/vibenation/beanstalk/src/BeanStalk.class.php on line 1138 </p> <p>This is the code from the example;</p> <pre><code>$beanstalk = BeanStalk::open(array( 'servers' =&gt; array( '127.0.0.1:11300' ), 'select' =&gt; 'random peek' )); // As in the protocol doc. $beanstalk-&gt;use_tube('foo'); // As in the protocol doc. $beanstalk-&gt;put(0, 0, 120, 'say hello world'); // Add a job to the queue with highest priority, // no delay, 120 seconds TTR, with the contents // 'say hello world'. // NOTE: the put() method here supports a final optional // argument, a tube name. If supplied, the server will // first switch to that tube, write the job, then switch // back to the old tube again. // As in the protocol doc. $job = $beanstalk-&gt;reserve(); // Assuming there was nothing in the queue before // we started, this will give us our 'hello world' // job back. // This is a BeanQueueJob object. echo $job-&gt;get(); // Output: 'say hello world' Beanstalk::delete($job); // Delete the job. </code></pre> <p>Very simple quick script just to say hello but it's timing out. Can anyone help please?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload