This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Video Processing Workflow

Video Processing Workflow

Postby Don_Megga » Mar 5, 2012 @ 9:45pm

Greetings! I have a few questions for video processing using Edgellib.

In the documentation for the new Camera Class it states that the video frame is available for post processing.
How do you access the video frame? I would like to manipulate it in real time with Core Image filters in iOS.

Also, Is there a class that can read a local video file/asset, and then make the video frames available for post processing?

Can I pump my own frames through to FrameToSurface?

Do you have any benchmarks?
pm Member
Posts: 10
Joined: Sep 5, 2009 @ 9:54pm

Re: Video Processing Workflow

Postby edge » Jun 7, 2012 @ 11:41am


Edgelib provides a cross-platform interface to individual camera frames, many of which have a different architecture than Edgelib's event-based model. This conversion step makes it generally impossible to safely mix Edgelib interfaces with native interfaces. If you require native iOS functions, you should implement your own AV stream as well. The alternative is to do the post-processing modifications in software, without iOS calls.

The OnCameraFrame callback provides the to your application. Any form of postprocessing can be performed in the same function. FrameToSurface is basically the "common" implementation of that postprocessing by converting and rescaling the input data to fit a Surface object with a pixel format matching the display. It's use is not limited to camera frames - you can indeed provide your own pixel data and have Edgelib do the conversion.

We unfortunately do not have benchmarks available.

- Marcel
EDGELIB: Cross-platform mobile development at your fingertips
User avatar
pm Member
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands

Return to EDGELIB


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.



Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum