[FFmpeg-user] converting iphone .mov files to mp4 to played on HTML5 players like jwplayer!!

Henk D. Schoneveld belcampo at zonnet.nl
Tue Jun 16 00:58:46 CEST 2015


On 15 Jun 2015, at 01:23, Dani A <danix4u-at-yahoo.com at ffmpeg.org> wrote:

> I am still struggling with the iphone .mov files I want to convert them to mp4 but they are rotated because they were recorded while the phone is vertical. I am using the below command:
> ffmpeg -i video.MOV -acodec libvo_aacenc -vcodec libx264 -metadata:s:v:0 rotate=0 -movflags +faststart video.mp4
> 
> Is there any away from ffmpeg we can know what angle the video was recorded in the phone?
You recorded vertical, so you need to rotate 90degrees to the left or to the right. rotate=0 as you used says as far as I understand DON’T rotate.
Look at 9.85.1 Examples how to do it.
> 
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list