How to rotate the video in vlc for Android?

VLC for Android and Chrome OS specific usage questions
rowa
Blank Cone
Blank Cone
Posts: 30
Joined: 29 Jan 2013 04:34

How to rotate the video in vlc for Android?

Postby rowa » 01 Jun 2013 03:18

I've checked the libVLC.java, and I can not find a function that could rotate the playing video on the mSurface,
I've tried to rotate the parent control of the mSurface:

Code: Select all

LinearLayout view= (LinearLayout)findViewById(R.id.videoPlayView); view.setRotation(180);
but after rotating the parent control, the playing video on the mSurface turn to be a black rectangle

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: How to rotate the video in vlc for Android?

Postby edwardw » 02 Jun 2013 23:06

Wait it out or use the libvlc rotation filter (read the docs)

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: How to rotate the video in vlc for Android?

Postby edwardw » 20 Jun 2013 20:55

Open your video in VLC and pause it so you can fix it without missing anything In the menu, go to Effects and Filters > Geometry and enable the Rotate checkbox. You'll then be able to rotate your video in real time, so you'll be able to spot exactly when you've managed to turn it back to where it's supposed to be!
Wrong section, that is for VLC desktop.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 6 guests