Page 1 of 1
To keep orientation number after converting from video file to image file.
Posted: 2018-03-14T16:46:26-07:00
by PleskQuestion
Hello
I'm using a ffmpeg command to convert from a video file to a image file, but after I converted it, it deleted the orientation number of the image. Is there any way to keep the orientation number after converting from a video to a image by the ffmpeg command?
Re: To keep orientation number after converting from video file to image file.
Posted: 2018-03-14T17:15:48-07:00
by fmw42
If you are using FFMPEG and not ImageMagick, then you should consult with a FFMPEG forum. If you are using ImageMagick, you could try adding -auto-orient to your command line. That will orient your images properly, but then the orientation may be lost or reset to the normal orientation. I am not sure which without doing testing, but my guess is the latter.
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at
http://www.imagemagick.org/discourse-se ... f=1&t=9620
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
Re: To keep orientation number after converting from video file to image file.
Posted: 2018-03-15T22:42:53-07:00
by PleskQuestion
Thanks, fmw42,
The update to ffmpeg 3.4 from ffmpeg 2.2 has made the image rotated all right automatically. Thanks for your time and support.