Hi, I'm working on an app that among other things will allow the users to 
make short videos, apply funny effects to them and share them with one 
another. To begin with, i'm looking for simple color-effects like grayscale 
sepiatoning, and such.

All this would be very simple by using the camera-class which can apply the 
color effects at recording-time - at least most phone's cameras can - i've 
tested some using *Camera.getParameters().getSupportedColorEffects(); *. 
But the thing is: i need to do it *after *the recording has been done: the 
user would open a video, and choose among a set of effects to apply.

I can't for the love of *** find a good way to do this.

Android doesn't seem to include any videoutilities in the sdk. The *
android.media.effect* package can do some effects, but only *backdropper *for 
videos, the rest are for images. Extracting bitmaps from the surfaceview of 
a videoview during playback doesn't work, it just returns an all-black 
bitmap. It seems like there's no way to intercept the datastream between 
the storage and the screen. and apply the effects there. I've started to 
look into using the FFmpeg library to decode a video file so i can get 
access to the data, but that requires quite a bit of native coding, and 
also requires separate compiles for various CPU architectures, so it's very 
messy. I thought that as the camera can apply these effects (on a Sony 
LT26i: *none, mono, negative, solarize, sepia, posterize*), perhaps one 
could feed the recorder with a videostream not from the camera, but from 
the memory, and by that way use a stored video file?

Do anyone know if there is a way to apply effects to a video - after it has 
been recorded? 
Christian. 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to