top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Resizing vedio in Android

0 votes

How can I resize the vedio say from 640 *480 resolution to 480 * 400 resolution.

posted Mar 18, 2013 by superuser

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

If it's with a MediaPlayer class so you can use a SurfaceView and a surfaceHolder to your video and change it... See this page, I used it at my application... There's a part where it says "Set a size for the video screen", there's the magic!

BTW you can set your video to start automatically with some changes at the code, worked great for me.

answer Mar 18, 2013 by Nora Jones
Similar Questions
0 votes

Have you even seen OutOfMemoryError in system server? If yes, how do you find the root case of OOM? Do you have any tools that help finding the root cause in production code or during development?

0 votes

In android-O, there is "app" folder in vendor partition.(/vendor/app)If app is in that folder and is ran, is that a vendor process?

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.