I have to create a circular video player using textureview in android. I don't have idea how to achieve this. Kindly help.
            Asked
            
        
        
            Active
            
        
            Viewed 939 times
        
    -1
            
            
        - 
                    https://github.com/developer-anees/android-round-camera2video-preview this sample may help you – Saku Oct 03 '19 at 12:37
2 Answers
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
- 
                    I have to use the textureview to play a video in circular shape. – Ajay Choudhary Feb 28 '17 at 13:38
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
 
    