Bug 436838

Summary: Clip in Project Monitor or Clip Monitor is played at full resolution and not scaled to fit window
Product: [Applications] kdenlive Reporter: Bernd <berndmj>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: major CC: fritzibaby
Priority: NOR Flags: fritzibaby: timeline_corruption+
Version First Reported In: 21.04.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Force Monitor Size.png
OBS recording part 1
OBS recording part 2

Description Bernd 2021-05-09 21:03:29 UTC
SUMMARY
Clip in Project Monitor or Clip Monitor is played at full resolution and not scaled to fit window. Setting the preview resolution does not fix it either as it results in an overlay of the same clip in the preview windows.

STEPS TO REPRODUCE
1. Load clip to project bin
2. Play in Clip Monitor
3. Drag clip from project bin to timeline
4. Play in Project Monitor

OBSERVED RESULT
Clip is played at full resolution and not scaled to clip/project monitor size. Playback is jerky because at times clip is scaled down.

EXPECTED RESULT
Clip is played scaled to clip/project monitor size

SOFTWARE/OS VERSIONS
Windows: Win10 Professional
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
New install of Kdenlive 21.04.0 (after uninstall of previous version); AMD Ryzen 7 2700, 32GB RAM; Nvidia RTX 2070 with latest Studio driver
Comment 1 emohr 2021-05-10 17:30:16 UTC
Created attachment 138294 [details]
Force Monitor Size.png

Do you have tried: Force Monitor Size -> Free Resize?
Comment 2 Bernd 2021-05-10 17:41:39 UTC
Yes, this is what I tried first: play with the available resolutions ;-)
By default, the setting is on "Free Resize".
The funny thing is that when paused both monitor windows display the clip frame scaled to fit the window. Only when played does it switch to fullsize and only a small portion of the clip is shown in the respective monitor window.
Comment 3 Bernd 2021-05-10 18:43:53 UTC
Created attachment 138296 [details]
OBS recording part 1

OBS recording (part 1)
Comment 4 Bernd 2021-05-10 18:44:23 UTC
Created attachment 138297 [details]
OBS recording part 2
Comment 5 Bernd 2021-05-10 18:44:31 UTC
Update: Clip now plays correctly scaled/resized in project monitor but not in clip monitor. I also noticed that .mkv files seem to be playing ok.

Attaching OBS recording of examples of clips not playing properly resized/scaled in clip monitor and flickering while playing.
Comment 6 emohr 2021-05-15 12:04:42 UTC
Could you upload a small part of the video with the 3 bikers to check if I can reproduce the flicker in the clip monitor?
Comment 7 Bernd 2021-05-15 13:42:47 UTC
(In reply to emohr from comment #6)
> Could you upload a small part of the video with the 3 bikers to check if I
> can reproduce the flicker in the clip monitor?

Believe it or not, but today it all works as it should: playing at the correct scaling, no flickering, all good. Go figure.

I will close the bug report.
Comment 8 emohr 2021-05-17 16:07:11 UTC
Thank you for the feedback. Glad to hear it works. 

I close this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.