Camera rotation when downloading a video

Hello,

We have a BlueROV equiped with a DW exploreHD camera. Due to some circumstances the camera was installed with a 180° rotation but we realized this once the mission was already ongoing so we decided to use the Cockpit tools to rotate the image and visualize it correctly. We recorded around 45min of footage but when downloading it, the recorded video did not show the image correction and the footage is rotated. Is there any way to download the footage with the correction applied?.

The software we can use to rotate the video takes 2 days to render :expressionless:

Another option is to use a video player like VLC to rotate the video while it is being played however this video will be sent to our customers and it will be better if we send it with the image already corrected.

Do you have any other suggestion that can help us with is?

Best regards

Hi @Alex_UJI1 -

What software are you using to rotate the video? I’d recommend asking an AI to to give you the correct command to rotate the video with ffmpeg, which will do a simple mux of the content and should only take a few minutes at most to complete…

Hello @tony-white ,

I was using kdenlive in Ubuntu 22 because I was also trying to crop and do some minor editing, but yes, I asked an AI and got this one liner which solved the issue:

ffmpeg -i input.mkv -vf “hflip,vflip” -c:v libx264 -crf 18 -preset medium -c:a copy output.mp4

Best regards