tags:

views:

103

answers:

2

Hi i have to play a video which is not black and white.i need to play it as black and white in iphone .can we do this.if yes then how to do ???

+1  A: 

Unfortunatly, doesnt seem that the MPMoviePlayerController gives you the ability to adjust such a feature, so i would say it is not possible right now with the build in movie player.

Daniel
A: 

Using the right blend mode, and painting a white rectangle (or is it black) on top of the view with the video, may accomplish what you want.

http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/drawingwithquartz2d.pdf

mahboudz
i added a view on to the movie player view and in drawrect method i am setting CGBlendMode to kCGBlendModeHardLight,and tried some other combnation but still not able to get black and white movie
AlexanderDeep
Try it with just an image instead of a movie, just to make sure you got it right.
mahboudz