Bug 460042 - Lossless transcoding (when importing) results in upside down video
Summary: Lossless transcoding (when importing) results in upside down video
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (other bugs)
Version First Reported In: 23.08.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-06 11:27 UTC by Karol
Modified: 2025-02-07 17:30 UTC (History)
2 users (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 Karol 2022-10-06 11:27:02 UTC
SUMMARY
Whenever I transcode a video using the Lossless option, it becomes upside down. 
Reproducible: always.

STEPS TO REPRODUCE
1. Import a video that needs transcoding (mine has variable framerate)
2. Choose "Lossless"
3. Watch the video

OBSERVED RESULT
The transcoded video is upside down

EXPECTED RESULT
Obviously right side up

SOFTWARE/OS VERSIONS
Windows: 10.0.19043 Build 19043

ADDITIONAL INFORMATION
Original video:
https://i.imgur.com/W3U0zpO.png
Transcoded Lossless upside down:
https://i.imgur.com/NBfQC96.png
Comment 1 erjiang 2022-10-08 05:15:01 UTC
Karol, thanks for reporting this. Do all videos get turned upside-down when you do a lossless transcode? Is this video file taken with a phone or other device that has auto-rotation?
Comment 2 Karol 2022-10-12 19:49:32 UTC
(In reply to erjiang from comment #1)
> Karol, thanks for reporting this. Do all videos get turned upside-down when
> you do a lossless transcode? Is this video file taken with a phone or other
> device that has auto-rotation?

As mentioned, it happens every time I choose the Lossless option. The video was taken with a smartphone. Do you think it has something to do with that fact? It's not impossible.
Comment 3 erjiang 2022-10-15 23:17:47 UTC
(In reply to Karol from comment #2)
> As mentioned, it happens every time I choose the Lossless option. The video
> was taken with a smartphone. Do you think it has something to do with that
> fact? It's not impossible.

Do you have a sample original video file that you would be willing to share? That would let me test and see how to reproduce it.
Comment 4 Karol 2023-09-23 09:34:58 UTC
(In reply to erjiang from comment #3)
> (In reply to Karol from comment #2)
> > As mentioned, it happens every time I choose the Lossless option. The video
> > was taken with a smartphone. Do you think it has something to do with that
> > fact? It's not impossible.
> 
> Do you have a sample original video file that you would be willing to share?
> That would let me test and see how to reproduce it.

Sorry for a late reply. It happens when the video is recorded in portrait mode. Here's a random example that can be used to reproduce the bug:
https://drive.google.com/file/d/17oFhH1ISjA7PIYjfW6q0wod-XNA_egxT/view?usp=sharing
Comment 5 Jean-Baptiste Mardelle 2025-02-07 17:30:32 UTC
Cannot reproduce with latest version (24.12.x)