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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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