User User name Password  
   
Sunday 3.8.2025 / 14:28
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video - everything else > how do i flip a video 90 degress?
Show topics
 
Forums
Forums
How do I flip a video 90 degress?
  Jump to:
 
Posted Message
Astralogic
Newbie
_
6. January 2012 @ 04:52 _ Link to this message    Send private message to this user   
Hello, I would like to know how to flip a video 90 degress clockwise but I don't mean inside a media player, I mean to actually change the video file itself.

Edit: For example let say I had a video that is 400x300 I want to flip it to 300x400.

How can I do this?
Thanks

This message has been edited since posting. Last time this message was edited on 6. January 2012 @ 04:59

Advertisement
_
__
AfterDawn Addict
_
6. January 2012 @ 06:28 _ Link to this message    Send private message to this user   
What type of file is it (avi, mkv,?)Do you want to rotate it ninety degrees or resize it.
If you make it 300 x 400 it distorts the image.









Astralogic
Newbie
_
6. January 2012 @ 06:56 _ Link to this message    Send private message to this user   
EDIT: Yes I would like to make my videos like your second image. They are AVI files. Do you know how to batch process this operation?

This message has been edited since posting. Last time this message was edited on 6. January 2012 @ 06:58

AfterDawn Addict
_
6. January 2012 @ 08:54 _ Link to this message    Send private message to this user   
Place all the source AVI files in a folder and create an empty folder to receive the processed files.
Create a script using VirtualDub.

Download VirtualDub.
Download and install the XviD codec (unless it's installed already).

Run VirtualDub
Load/drag one of the source files into the window.

Video > Filters > Add, then double click 'Rotate'.
Select the rotation and 'OK' then 'OK'
(the output pane should show the rotated video).
Video > Compression and select 'XviD' and 'OK'.


File > Save processing settings
Give the file a name e.g. rotate
Exit

Run VirtualDub
File > Load processing settings (select the 'rotate.vdscript' file).
File > Job control
Edit > Process directory

First, select the folder containing the source videos
Second,select the empty destination folder.
The files to be processed should appear in the window, remove any you don't want to process.

Start.
Astralogic
Newbie
_
6. January 2012 @ 18:18 _ Link to this message    Send private message to this user   
Thanks a lot for the information I really appreciate it.
Astralogic
Newbie
_
7. January 2012 @ 19:29 _ Link to this message    Send private message to this user   
Originally posted by Astralogic:
Thanks a lot for the information I really appreciate it.
Hi again, I have a question. Is there a way I can rotate the image, but keep the videos resolution unchanged?
AfterDawn Addict
_
7. January 2012 @ 20:55 _ Link to this message    Send private message to this user   
It's now w300 x h400 which 3:4 or .75 aspect ratio.
If the width is stretched out to 400, the height has to be (400/.75=533) else the image will be distorted.
(The actual width would be 528 to satisfy the codec).

Why do you need this.
Astralogic
Newbie
_
8. January 2012 @ 03:53 _ Link to this message    Send private message to this user   
I do understand that the image will be distorted when played on my computer, but I'm trying to find a way to play videos fullscreen on my very crappy w100i spiro. If the image gets distorted that's fine because my phone will stretch the video out sideways if set to fullscreen.

I rotated a video but for some reason it didn't, the phone wouldn't give me the option to go to fullscreen, but does if I don't rotate the vid files so I need to now try to rotate the image only and leave the x-y dimensions of the video alone.

EDIT: Just to be clear I mean forget about rotating the video as in my first question, that's didn't work. Now I want to try rotating the image on an unrotated video.

This message has been edited since posting. Last time this message was edited on 8. January 2012 @ 03:56

AfterDawn Addict
_
8. January 2012 @ 05:37 _ Link to this message    Send private message to this user   
You want the canvas to remain 400x300, but the image rotated/resized to fit that canvas?



Astralogic
Newbie
_
8. January 2012 @ 05:52 _ Link to this message    Send private message to this user   
Originally posted by attar:
You want the canvas to remain 400x300, but the image rotated/resized to fit that canvas?



Let's say I go to youtube right now and download a video, I would then want to rotate the image 90 degrees clockwise but make absolutely no changes to the videos resolution, so the resolution will be exactly the same after the rotation.

Is that what you re showing me how to do?

EDIT: The 400x300 was just an example, I have no need for that resolution(or any particular resolution.

This message has been edited since posting. Last time this message was edited on 8. January 2012 @ 07:26

Astralogic
Newbie
_
8. January 2012 @ 05:56 _ Link to this message    Send private message to this user   
In that image of the filters windows in VD, you see the middle line under input and output for the rotate filter? input is 288x224 then output is reversed 224x288, I want to rotate but leave the resolution unchanged. In my first post I DID ask for the resolution to change with the rotation but now I don't want that.

I feel like I'm having trouble saying it in the right way.
AfterDawn Addict
_
8. January 2012 @ 09:09 _ Link to this message    Send private message to this user   
I don't see the reason to rotate the image (rotate the device instead?) - but to rotate and keep the original resolution you either resize the image to a new canvas (which becomes part of the image) or distort the image.

Since this is for a mobile device (I don't have one) it may be best to post the question at the Videohep site while waiting for more helpful responses here.
Perhaps mention the name of the media player if you post there.
http://forum.videohelp.com/forums/18-Newbie-General-discussions
Astralogic
Newbie
_
8. January 2012 @ 10:10 _ Link to this message    Send private message to this user   
Originally posted by attar:
I don't see the reason to rotate the image (rotate the device instead?) - but to rotate and keep the original resolution you either resize the image to a new canvas (which becomes part of the image) or distort the image.
Yes that's what I need, I need to distort the image. I didn't realise it earlier but those last screenshots you posted are not what I'm looking for because the output image is not distorted, and I need the distortion, so I think we can forget about canvases and such.

It's a simple thing, am I making sense? I realize I could be making this sound more complicated then I mean to.


EDIT: My phones screen doesnt rotate if I rotate my phone, thats why I need to manually rotate the video by 90 degrees.

This message has been edited since posting. Last time this message was edited on 8. January 2012 @ 10:15

Astralogic
Newbie
_
8. January 2012 @ 10:14 _ Link to this message    Send private message to this user   
<double post>

This message has been edited since posting. Last time this message was edited on 8. January 2012 @ 10:15

AfterDawn Addict
_
8. January 2012 @ 10:19 _ Link to this message    Send private message to this user   
It's distorted, thus:



Advertisement
_
__
 
_
Astralogic
Newbie
_
10. January 2012 @ 19:08 _ Link to this message    Send private message to this user   
Thanks again attar, that should do nicely.
afterdawn.com > forums > digital video > video - everything else > how do i flip a video 90 degress?
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork