Bug 431250 - Rendered videos containing images are ingoring Exif data for image rotation
Summary: Rendered videos containing images are ingoring Exif data for image rotation
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: 20.08.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-07 05:51 UTC by Waz
Modified: 2021-03-16 13:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Waz 2021-01-07 05:51:42 UTC
SUMMARY
When adding an image containing Exif data for rotation, it should be correctly rotated in all areas of the application as well as the final render.  The images are correctly rotated in the Project Bin and timelines, however when rendered out they are in their original non-Exif rotation (i.e. rotated 90 degrees).  This requires users to have to strip out the Exif information manually and re-adding the updated image into the project bin under a new file name, as simply replacing the image doesn't seem to tell Kdenlive to re-read the orientation data from the source image.

STEPS TO REPRODUCE
1. Add a jpeg image to the Project Bin where the camera that took the photo was rotated onto the side (i.e. 90 degrees rotation).
2. Observe that the photo in your file explorer shows the correct image rotated according to the Exif data from the camera.
3. Observe that the photo in the Project Bin also shows the correct image rotation according to the Exif data.
4. Observe that playing back the image in the timeline shows the image correctly oriented in the playback preview window.
5. Render the project to an MP4, and observe that the resulting video shows the image in the original non-Exif rotation.

OBSERVED RESULT
The resulting video shows the image in the original non-Exif rotation, not as it appeared in the Project Bin or Timeline.


EXPECTED RESULT
The rendered video should have taken into account the Exif data of the source image when rendering.

SOFTWARE/OS VERSIONS
Windows: 10 Pro version 20H2

ADDITIONAL INFORMATION
none
Comment 1 Julius Künzel 2021-03-15 16:58:19 UTC
Thanks for your report! Is this happening with a single image or with an image in a slide show (or both)?

Can you please update to the latest version (20.12.3 at the moment, https://kdenlive.org/en/download/) and report here whether this is still happening?
Comment 2 Waz 2021-03-16 10:42:02 UTC
Hi Julius, thank you so much for responding to this report.  I've retested using 20.12.3 using the same reproduction steps, and I can confirm that this is now resolved.  Thanks to the whole team behind Kdenlive, your hard work is appreciated!