Any way to straighten tilted video?

Moderator: Ken Berry

Post Reply
dalemccl
Posts: 214
Joined: Tue Sep 02, 2008 1:25 am
Location: Fort Wayne, Indiana, USA

Any way to straighten tilted video?

Post by dalemccl »

I took a lot of video on my recent trip to Las Vegas, and even though I didn't drink, many of the video clips look like I had been. They are "crooked", where the horizon is not quite level. I obviously did not have the camcorder level when I shot these clips.

I don't see any tools in VS to staighten them. And indeed this would seem very difficult for video software to do, unlike still photos where it is easy.

A google search didn't turn up any tools either. This is AVCHD, which probably complicates the problem by being hard to edit.

Any ideas on how to staighten video clips with minimal loss of quality?
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Post by Ken Berry »

Don't worry -- I recently did some editing for friends who had never used a video camera before. They had been on a long trip through the game parks of South Africa, and thought some shots might look better with the camera turned on its side, like they were used to doing with a still camera!! Hmmm...

But I bet you would find that just about all users here regularly find that, even though they think they have their camera's held horizontally, a slight -- or even more pronounced - slant is there in the final. Personally, I just ignore it.

The only way to get round it in existing video is to do a lot of very tedious cropping, but that will not only take a lot of time, it will reduce the frame size of the resulting video. Or if you can use it in the overlay track and expand it upwards to fit the frame, probably resulting in a noticeable drop in quality.

The only safe way of avoiding it while actually filming is to use a tripod -- but that rather defeats the purpose of a 'handy cam'!!! :cry: :roll:
Ken Berry
Black Lab
Posts: 7429
Joined: Wed Dec 15, 2004 3:11 pm
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
Location: Pottstown, Pennsylvania, USA

Post by Black Lab »

You may want to check out Virtual Dub. I happened to find the following:
But sometimes, the default 90 or 180 degree rotation isn¡¦t enough and you need to rotate a video by some custom angle like say 45 degrees. In that case you would need VirtualDub - a lightweight but exceptionally useful video program.

Open the video clip inside VirtualDub and press Ctrl+F to load the filters menu. Now a add a filter that says ¡§rotate2″ - this allows you rotate video clips by any arbitrary angle.

VirtualDub supports most video formats and can also be used to straighten videos captured via mobile phone cameras.
dalemccl
Posts: 214
Joined: Tue Sep 02, 2008 1:25 am
Location: Fort Wayne, Indiana, USA

Post by dalemccl »

Thanks Black Lab, I'll check out Virtual Dub's capabilites.

Otherwise, Ken is probably right, it may be best to just ignore it and try to do better next time by using the horizontal line that the camcorder can super-impose on the LCD/VF as an aid to keeping the camera level with the horizon.

Update: I downloaded Virtual Dub (the price is right - free). As far as I can tell, it doesn't support AVCHD.
boxy
Posts: 118
Joined: Thu Dec 06, 2007 4:24 pm

Re: Any way to straighten tilted video?

Post by boxy »

dalemccl wrote:Update: I downloaded Virtual Dub (the price is right - free). As far as I can tell, it doesn't support AVCHD.
Does anyone know if Virtualdub will support HDV?
mitchell65
Posts: 1200
Joined: Sat Feb 14, 2009 7:50 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell Inc. 04GJJT A00
processor: 2.80 gigahertz AMD Athlon II X4 630 Quad Core
ram: 4Gb
Video Card: ATI Radeon HD 4200
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 560Gb Sata
Location: Cornwall UK

Re: Any way to straighten tilted video?

Post by mitchell65 »

Not sure if the latest version does but as it is open source why not download and install it and give it a try?
John Mitchell
We all make mistakes, that's why pencils have erasers on the end!
Accolades
Posts: 468
Joined: Sun May 28, 2006 8:38 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte GA-EX58-UD4
processor: QuadCore Intel Core i7 920 2833 MHz 21 x 135
ram: 12 GB DDR3
Video Card: Nvidia GeForce GTX 295
sound_card: On Board 5.1 Surround - Realtek ALC888 - 1200
Hard_Drive_Capacity: 4TB +
Location: Brisbane, Queensland Australia
Contact:

Re: Any way to straighten tilted video?

Post by Accolades »

Maybe the CROP FILTER ? in VS3 would help?

Even the ROTATE FILTER applied to the video will work.
My You Tube Channel:
My Vimeo Channel:
SONY MOVIE STUDIO PLATINUM HD 10, Corel Video Studio X3, Corel Draw Graphics Suite X4 (Draw, Paint), Adobe Photo Shop CS4, Adobe Bridge CS4, DivX 8, Irfranview, FRAPS, Deamon Tools, VLC, MyDefrag, Nero, AVG, Winamp, Autopano, VMware...
boxy
Posts: 118
Joined: Thu Dec 06, 2007 4:24 pm

Re: Any way to straighten tilted video?

Post by boxy »

Accolades wrote:Maybe the CROP FILTER ? in VS3 would help?

Even the ROTATE FILTER applied to the video will work.
I am using X2 and I do not see a 'ROTATE' filter.

However, the clip in question is a tripod shot that is tilted one degree off of center and I found that using the 'distort' effect - the little green squares on the corners - I can straighten it out and the amount of distortion is so miniscule it's unnoticable!
Black Lab
Posts: 7429
Joined: Wed Dec 15, 2004 3:11 pm
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
Location: Pottstown, Pennsylvania, USA

Re: Any way to straighten tilted video?

Post by Black Lab »

The Rotate filter is in X3.
Post Reply