-1

I have to create a circular video player using textureview in android. I don't have idea how to achieve this. Kindly help.

ak sacha
  • 2,149
  • 14
  • 19
  • https://github.com/developer-anees/android-round-camera2video-preview this sample may help you – Saku Oct 03 '19 at 12:37

2 Answers2

0

It's possible to modify the Camera output as you record it, but this has nothing to do with TextureView. You can use a GLES fragment shader or apply a mask bitmap with GLES. Grafika ( github.com/google/grafika ) has some relevant code, but doesn't do what you're specifically asking for

vijay chhalotre
  • 396
  • 2
  • 11
0

You can achieve by providing overlay of TextureView

here is sample how you can achieve!

Community
  • 1
  • 1
Kishore Jethava
  • 6,666
  • 5
  • 35
  • 51