On Tue, Dec 03, 2024 at 11:22:16 -0600, FFmpeg user discussions wrote:
> I am blind but I'm trying to create a promotional video for my disabled rock
> climbing group. I would like to insert a still image into the video. The
> video has resolution 1280:720 so I resized the image to be less than
> 1280x720. ffprobe seems to indicate this worked:
>
> $ ffprobe -v error -select_streams v:0 -show_entries stream=width,height
> snapshot.jpg
> [STREAM]
> width=960
> height=720
> [/STREAM]

What ffprobe and ffmpeg's decoder (or demuxer?) apparently don't tell
us, is that the image has an "Orientation" flag:

$ identify -verbose snapshot.jpg | grep -i orientation
  Orientation: RightTop

This indicates that it should be rotated 90 degress clock-wise (I
think). Something in ffmpeg's chain is taking that into consideration,
and rotating the image, but not reporting it in the console output
(which you forgot to post, so I had to reproduce this myself).

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to