I'd like to rotate video (mp4) by 180 degrees, but not flip. Is it possible to do it with avconv?
|
It is possible using the
See |
|||||||||||||
|
|
Yes, but you'll need to add some additional options to your command for it to work properly. Transpose and vflip/hflip should do the trick, but if you don't tell avconv more detail about what you want, you'll likely get very low quality output try:
Notice the |
|||||||||||||
|
|
Additional method with avconv is to use vflip and hflip filters. Should run faster and maybe better quality:
|
|||||||||
|
|
I did this:
Full HD video, great results with non perceivable quality loss |
||||
|
|
|
For avconv or ffmpeg Under 14.04 or later There have been some changes to the libav documentation since @phoibos quality answer to this question. You can rotate a video 180 degrees by chaining 2 90 degree commands together (seperated by a comma) I accomplished this with the command avconv -i inputfile -vf transpose=clock,transpose=clock outputfile for clockwise rotation. in ffmpeg the syntax is the same. ffmpeg -i inputfile -vf transpose=clock,transpose=clock outputfile where inputfile is your supported input video file and outputfile is your desired output file. For counter clockwise rotation replace clock with cclock Sources: https://libav.org/avconv.html#transpose Testing on Ubuntu 14.04.5 LTS |
|||
|
|
protected by Community♦ Feb 27 '17 at 16:31
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
-c:acopy to the command (just before the output filename). I also found that the second version was indistinguishable quality, but about 50% faster than the chained translate version. – Simon Dec 30 '13 at 15:48