Wednesday, 15 February 2012

android - How to crop the video via the surfaceview/surfaceholder class? -



android - How to crop the video via the surfaceview/surfaceholder class? -

here question: how crop video via surfaceview/surfaceholder class?

in survey, way crop video utilize textureview::settransform/setlayoutparams, right?

but there 1 interface working surfaceholder class in 3rd-party video player library: videoplayer::setdisplay( surfaceholder holder ). if don't utilize textureview class, possible resolve problem?

i forwards every possible suggestions, lot!

you can extend surfaceview , follow illustration of videoview place video screen output way need.

not sure if there other easier options available.

android surfaceview surfaceholder

No comments:

Post a Comment