Active Topics

 


Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Jan 2008
#1
Hey all,

I am using camera.c from the "How to use the Camera API" tutorial up on maemo.org to store individual still images on my N800.

This all works fine, but the startup time is abysmal.

I'm sure if you've played around with the compiled camera.c application, you'll have noticed that gst_element_link_filtered() takes ~18 seconds to return; out of a 22 second startup time. (Or have you?)

I'm writing some software that will upon "popping" the camera out, start the photo-taking application.

Hence why the performance is important. Popping out the camera and then 22 seconds later having the application appear is just not acceptable functionality.

So, if anyone has any ideas about how to improve the performance of gstreamer, or do it a completely different way, then please: shout up.

...Because i'm slowly running out of ideas

Thanks,
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#2
Just an idea: By default the chat application starts, and does that pretty quick. Perhaps it is easier to just to try to change the default application?
 
zerojay's Avatar
Posts: 2,669 | Thanked: 2,555 times | Joined on Apr 2007
#3
There was a hack of the original camera code done by someone here which made the performance so much better. I believe it was called simplecam or simplecamera. The person included source as well. You should be able to find it on this forum somewhere.
 

The Following User Says Thank You to zerojay For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:11.