3
I'm having some trouble with this, I've got a source video that has been recorded upside down. I need this video to be rotated and have a couple of transparent PNG files overlayed on top of it. I'm using this command:
ffmpeg -i Upside_Down.mov -r 1 -i overlays_%d.png -c:v libx264 -r 30 -pix_fmt yuv420p -filter_complex "overlay=0:0" output.mkv
The above command works perfectly but keeps my source video upside down obviously, I know rotation can be achieved by -vf vflip:hflip but that doesn't seem to work. Is there a way to achieve this goal or is the only option to flip the source video and apply the overlay in a second run i.e. first do ffmpeg -i Upside_Down.mov -vf vflip:hflip
then run the code code above upon completion?