Hi,

I am facing one problem , related to Video Zoom  (trying to zoom a portion 
of video ).

For that I have used FrameLayout within that I am placing my SurfaceView. 

But for every change :Video is still restricted to the device's max width 
and height.

I have tried following things:
1) Changing the layout params of SurfaceView larger than the Screen . NOT 
WORKING (Video is still restricted to the device's max width and height)
2) Set the Window flag : FLAG_LAYOUT_NO_LIMITS 
<http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_LAYOUT_NO_LIMITS>
 . 
and then trying to make the layout params : NOT WORKING
3) trying to set fixed with and height on surfaceCreated callback: NOT 
WORKING
4) Trying to use Androids TvView 
<https://developer.android.com/reference/android/media/tv/TvView.html>. by 
editing it . Where in the onLayout of the TvView was trying to do the 
changes for surfaceView (which TvView is holding) : NOTWORKING.

Other plenty of the options I have tried , but in all the cases it is  NOT 
zooming the Video if the size of surfaceView is larger than the Screen sizes

*NOTE:  *For all the above options, I was trying to remove the graphics 
plane and was observing the VideoPlane , I found:

1) For size less than screen size  : Video plane's video also re-sizing to 
the given size of SurfaceView
2) But when ever the size of surface view is larger than screen , Video 
composition is also restricted to screen max sizes and Video plane's too.

I dont want to use TextureView (Where everything like zooming and cropping 
is possible) as there is some performance issues reported.


Please Help

Thanks
Rankush
[email protected]







-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to