User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Flip raspivid movies upside-down [solved]

Fri Sep 27, 2013 7:30 am

The RaspiCam is fitted to my quadcopter up-side-down because it then points the camera downwards towards the ground. This is not something I can change easily. However, it means the movies it shoots are also upside down. Can anyone name a suitable (simple) tool to flip the video right-side-up? Windows or RPi equally acceptable.

Thanks
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Re: Flip raspivid movies upside-down

Fri Sep 27, 2013 7:53 am

To make it a bit clearer, I'm using one of these camera cases http://uk.farnell.com/jsp/search/produc ... KU=2334485. When set up as shown in the picture, the camera is the right-way-up, so to have it pointed downwards, I mount it upside-down, and hence the videos are also upside-down. Hence I need to flip them. Suggestions welcomes!
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26716
Joined: Sat Jul 30, 2011 7:41 pm

Re: Flip raspivid movies upside-down

Fri Sep 27, 2013 8:05 am

-hf?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Re: Flip raspivid movies upside-down

Fri Sep 27, 2013 8:47 am

D'oh! Thanks. Never was very good at reading the manual!
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26716
Joined: Sat Jul 30, 2011 7:41 pm

Re: Flip raspivid movies upside-down

Fri Sep 27, 2013 9:15 am

Hove wrote:D'oh! Thanks. Never was very good at reading the manual!
Although I really should have written -vf....
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Re: Flip raspivid movies upside-down

Fri Sep 27, 2013 11:59 am

In the end, I used "-ro 180" as that gave me what I needed.
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26716
Joined: Sat Jul 30, 2011 7:41 pm

Re: Flip raspivid movies upside-down [solved]

Fri Sep 27, 2013 12:00 pm

Hove wrote:In the end, I used "-ro 180" as that gave me what I needed.
Cool, I'll flag the thread as solved.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Re: Flip raspivid movies upside-down [solved]

Fri Sep 27, 2013 12:16 pm

Ta!
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

nasatcom
Posts: 1
Joined: Thu May 02, 2019 5:19 pm

Re: Flip raspivid movies upside-down [solved]

Thu May 02, 2019 5:21 pm

You meant

Code: Select all

-rot 180

Return to “Camera board”