How To Rotate a Video - step-by-step

macOS specific usage questions
Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How To Rotate a Video - step-by-step

Postby Jean-Baptiste Kempf » 19 Oct 2012 09:06

Not implemented.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jaysten
New Cone
New Cone
Posts: 1
Joined: 31 Oct 2012 17:14

Re: How To Rotate a Video - step-by-step

Postby jaysten » 31 Oct 2012 17:16

Thanks to OP.

In the version I have (2.0.3) It is under Video Effects:

Control+E (or Tools -> Effects & Filters)
Video Effects Tab
Geometry Tab
Check the transform for exact rotation or the rotation box and you can manually rotate.

Enjoy.

dgm3333
New Cone
New Cone
Posts: 2
Joined: 22 Feb 2013 13:36

Re: How To Rotate a Video - step-by-step

Postby dgm3333 » 22 Feb 2013 14:23

I have a number of avi videos which I wish to rotate by 90 degrees.

Ideally I want to use the command line to permanently save a file with no alteration except a rotation
I've tried command lines with both -video-filter and -vout-filter:
"C:\Program Files\VideoLAN\VLC\VLC.exe" --vout-filter=transform --transform-type=90 "20120709-122536 - IMGP2831.AVI" --sout=test.AVI
"C:\Program Files\VideoLAN\VLC\VLC.exe" --video-filter=transform --transform-type=90 "20120709-122536 - IMGP2831.AVI" --sout=test.AVI
With both these, the file is output totally unchanged (ie no rotation). Other transform-type options (90,180,270,hflip,vflip) also have no effect.
Both versions produce a file exactly the same as the input file (ie no rotation)

I don't want to do with the GUI as I want a permanant modification to the file, but thought this might at least allow me to play the files, but I am having problems here too.
If I use the GUI and select tools/effects/video/geometry/transform (rotate 90) it rotates it, but instead of being tall and narrow the image is fat and wide (ie takes up exactly the same size on the screen) with 2.0.4 and very narrow and tall (cropping the sides) in 2.0.5. For both versions the image is largely grey-scale with some of the colours smeared horizontally.
If I use the GUI and select tools/effects/video/geometry/rotate (and set dial to 90) it rotates it correctly (ie aspect ratio and colors are OK), but crops it so the height is the same as the original file, thus chopping off the top and bottom of the view.

I've tested this in both VLC 2.0.4 and 2.0.5 under XP, and neither work properly. I've also tried a couple of different output codecs and deinterlace modes, which seems to make no difference to the output.

Can anyone help, especially with the correct command-line syntax to get the view rotated with no cropping.
I don't really want to install another program, but perhaps if anyone knows of a tool which can do the job could use that instead. I've tried:-
MEncoder does the best job with: mencoder "20120709-122536 - IMGP2831.AVI" -o output.avi -vf rotate=1 -oac copy -ovc lavc -lavcopts vcodec=mjpeg
But vlc playback has little lines which weren't present in the original.
MJPEG Lossless Rotate (http://mjpeglossless.sourceforge.net/) rotates correctly and apparently without re-encoding, but suffers lines in playback (and isn't command line).
DVDVideoSoft has a free tool which rotates the video correctly, but also decreases the quality (and isn't command line), so no good.

Just wondering - the lines aren't present in other players, but do seem to occur with a variety of codecs under VLC, so perhaps is a bug with VLC. Perhaps someone has suggestions on how to get rid of them instead.
Thanks
David

Makulu
New Cone
New Cone
Posts: 1
Joined: 03 Mar 2013 21:06

Re: How To Rotate a Video - step-by-step

Postby Makulu » 03 Mar 2013 21:16

I don't usually participate in forums like this, but after finally discovering how to rotate a video in VLC Media Player I decided to post the CORRECT method so that you won't waste your time with all of the other INCORRECT posts. If you follow these instructions EXACTLY you will be able to easily rotate your video:

1. Open video with VLC Media Player
2. Right click on the video while playing
3. Left click ‘Tools – Effects and Filters’
4. Left click ‘Video Effects’
5. Left click ‘Geometry’
6. Check ‘Transform’ box
7. Select ‘Rotate by XX degrees’
8. Left click ‘Close’ button

Voilà! No need to thank me.

linmonkey
New Cone
New Cone
Posts: 1
Joined: 26 Mar 2013 22:02

Re: How To Rotate a Video - step-by-step

Postby linmonkey » 26 Mar 2013 22:11

Please help, I did exactly as per instructions (except I checked the rotate box as well, but have now unchecked it ) and now when I play a vedio it has sound but just a black screen, I know its probably something simple dut I dare not do anything in case I make it worse. Any help greatly appreciated. :? :(

alpinestars69
Blank Cone
Blank Cone
Posts: 49
Joined: 15 Jun 2012 22:33
VLC version: 2.2.1
Operating System: mac os

Re: How To Rotate a Video - step-by-step

Postby alpinestars69 » 28 Mar 2013 09:38

your instructions are very different from what i am seeing,

----With the video open, go to "Window" > Extended Controls.
- In the EX popup, select "Video Filter" from the drop down. Then check "Transformation".
- The video will close.
- Re-open the video file. It should be rotated. If it's not rotated correctly, go back to Preferences and adjust the degree of rotation---

^^^ all of this part was no where to be found anywhere...
[/img][/img]

alpinestars69
Blank Cone
Blank Cone
Posts: 49
Joined: 15 Jun 2012 22:33
VLC version: 2.2.1
Operating System: mac os

Re: How To Rotate a Video - step-by-step

Postby alpinestars69 » 28 Mar 2013 15:09

Voilà! No need to thank me.[/quote


oh no i am going to thank you, thank you very much because i find it far & few when you can get an answer & a correct answer on this forum, very frustrated with vlc & just trying to understand it, the rotated videos in my library are now fixed, to thank you thank you !!! any idea how they got rotated to begin with..
[/img][/img]

satheshshiva
New Cone
New Cone
Posts: 1
Joined: 16 Sep 2013 08:07

Re: How To Rotate a Video - step-by-step

Postby satheshshiva » 16 Sep 2013 08:13

My video was flipped by 90* and because of the bug mentioned above, the movie was running correctly on VLC app. I just exported that video to actually covert by 90*.

The following instructions are for the VLC on mac.

1) File -> Streaming/Export Wizard
2) Transcode/Save to File
3) Select video to convert from Playlist(You should have played the file atleast once.
4) Next
5) Select MOV format
6) Select a filename ending with .mov extension
7) Next and finish

VLC will save the new flipped video which is ready to playback on Quicktime player.

bob66
New Cone
New Cone
Posts: 1
Joined: 21 Mar 2015 02:00

Re: How To Rotate a Video - step-by-step

Postby bob66 » 21 Mar 2015 02:06

Put the movie(s) into Picasa. Picasa lets you rotate them with the click of a button. If you export the rotated movies, they are actually rotated in the new files and will appear rotated when viewed in quicktime or VLC.

fapandemic
New Cone
New Cone
Posts: 1
Joined: 22 Jan 2016 18:41

Re: How To Rotate a Video - step-by-step

Postby fapandemic » 22 Jan 2016 19:26

Hi! How I can rotate capture device desktop?

Image

Never seen twisted feedback in VLC 2.2.1..

This possibility available in VLC 2.2.1?

Looks like available, but i can't find answer about few mounts with this forum and wiki.videolan.org.

Non profit organization kill brains of innocent people who simply want to watch feedback in VLC.
Where is pro?
Tell me answer!!!


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests