linux - using FFmpeg converter from .mov format from portrait to landscape mode -
i have critical problem. sharing details you.
problem: - have video file in .mov format, taken iphone. video in portrait mode, want play video on webpage in landscape mode , vice versa.
please suggest me, should convert video portrait landscape mode using ffmpeg. ffmpeg provide conversion feature? if yes, please send exe , command line converting portrait video landscape mode , vice versa. using these commands
ffmpeg -i "inputname.mov" -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b 345k output.webm ffmpeg -i "inputname.mov" -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 output.mp4 ffmpeg -i "inputname.mov" -b 1500k -vcodec libtheora -acodec libvorbis -ab 160000 -g 30 output.ogv
any 1 can solve issue
if trying scale can use:
-vf scale='width':-1
simple replace width desired width. :-1
keep original aspect ratio rather stretching video.
however, if want rotate video, should see answer:
Comments
Post a Comment