I am trying to use ffmpeg to "flip" gopro videos. I have the "flip" part squared away using either of these options:
-vf hflip,vflip
-vf transpose=1,transpose=1
An example of the full command that I'm using looks like this:
ffmpeg -i inputfile.mp4 -movflags use_metadata_tags -vf hflip,vflip -c:a copy outputfile-rotated.mp4
The problem is the video quality is suffering. How can I rotate the videos and maintain the image and playback quality? ie. bitrate=119 Mb/s, format HEVC, etc
I'm just not sure what options to give ffmpeg.
I know I can set the rotation flag in the metadata, but that wont work for me as not all video players honor the setting. I want the video actually rotated and I understand a re-encode will be required. I've read that ffmpeg might not do HEVC/h265 and that's ok. Even if it re-encodes it as h264, I would be ok with it as long as it maintains the quality.
If anyone can help with the arguments that would retain original quality (as best as possible), it would be appreciated.