I want to rotate video that comes from android device that always display in landscape form; so how we convert into portrait form with a same quality. I am using these code but unable to find exact code.
$ ffmpeg -i $inputfile -vf "transpose=1" $outputfile
$ ffmpeg -i $inputfile -acodec copy -vcodec copy -vf transpose=1 $outputfile
Not worked for me...
jpegtran), and filters require you to re-encode, so you may have to accept some quality loss (but you may not notice), or use a lossless encoder, but lossless usually makes outputs with giant file sizes. – llogan Dec 11 '14 at 23:48