Jump to content

Parsing Images from a film - Question of Speed


bhakti

Recommended Posts

I am writing an OO PHP app to parse thousands of frames from a film, which will then each be manipulated and spat out using GD library funcs. Speed is of the essence.

 

To improve speed, I have considered:

 

- Another language!?

- Use of PHP Command Line Interface? ( Working with web browser is surely a slow affair?)

 

If PHP was a standard R6 Yamaha available to Joe Public, what would I have to do to win a GP race - you know - change gearing, alter timing, change exhaust system, rip out the air filter  :)

 

What does the panel suggest?

 

Thanks

 

B

That's opened up some reading for me. I use Sony Vegas to break film up into image sequences and then to stick em together again after manipulation using GD Lib in PHP.

 

Is there documentation anywhere on how to optimize performance of PHP scripts. I guess PHP CLI is one improvement, a faster CPU another. When writing code I am now asking myself, "Well this is neet and tidy but is it fast!?". I guess bench testing with microtime() can tell me through trial and error which is best way to go, but like everybody else, Im painfully aware of inventing yet another wheel  ;)

 

Rgds

 

B

Should anyone be interested in optimization of PHP and perhaps more importantly the speed bottlenecks created by typically server technologies that surround PHP, then you might be interested in this: http://phplens.com/lens/php-book/optimizing-debugging-php.php

 

Rgds

B

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.