Bug 419824

Summary: Export frame to project results in blury image
Product: [Applications] kdenlive Reporter: hidden_87
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: fritzibaby, stefan.kobza
Priority: NOR Flags: fritzibaby: timeline_corruption+
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example of exported frame to project photo
release/19.12.3
Screenshot from export frame to project using 19.12.3

Description hidden_87 2020-04-07 23:51:34 UTC
Created attachment 127376 [details]
Example of exported frame to project photo

SUMMARY
Export frame to project blury


STEPS TO REPRODUCE
1. Set project to 4k
2. Export any frame to project
3. Saved PNG is blury

OBSERVED RESULT
Results in blury exported frame


EXPECTED RESULT
Not blury frame export.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 30
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.64.0
Qt Version: 5.12.5.1

ADDITIONAL INFORMATION
Comment 1 bronto 2020-04-10 19:04:32 UTC
Can't reproduce on Windows 10:

Kdenlive git master
Version 20.07.70

Using:
MLT version 6.21.0
KDE Frameworks 5.67.0
Qt 5.14.1 (built against 5.14.1)
The windows windowing system
Comment 2 emohr 2020-04-12 13:26:19 UTC
Please try with the current Kdenlive AppImage version 19.12.3 to see if there are any packaging issues https://files.kde.org/kdenlive/release/ 

If the problem/issue doesn't occur when using the AppImage, then it's your configuration or packaging.
Comment 3 hidden_87 2020-04-12 14:30:58 UTC
Created attachment 127469 [details]
release/19.12.3
Comment 4 hidden_87 2020-04-12 14:31:58 UTC
Created attachment 127470 [details]
Screenshot from export frame to project using 19.12.3
Comment 5 hidden_87 2020-04-12 14:32:56 UTC
Using release/19.12.3 export frame to project results in same blury image.
Comment 6 emohr 2020-04-12 15:32:13 UTC
Is this an extract from a screengrab video? Does the screengrab match the project resolution? If the screengrab has a smaller resolution then 4K and you extract a frame it gets blurry on preview because it's scaled up.
Comment 7 hidden_87 2020-04-12 15:37:51 UTC
That is correct.  Taking video from 1920x1080p and importing to 4k project.  Export to frame is blury.

If I take a screenshot from linux GUI and import, everything is fine.

Is this expected results of export to frame?
Comment 8 emohr 2020-04-12 16:15:02 UTC
Yes, this is expected. You can add "position and zoom" to avoid scaling otherwise Kdenlive will scale up to the project settings.
Comment 9 hidden_87 2020-04-12 19:31:10 UTC
Expected results.

"Yes, this is expected. You can add "position and zoom" to avoid scaling otherwise Kdenlive will scale up to the project settings."
Comment 10 Jean-Baptiste Mardelle 2020-04-13 14:04:47 UTC
Git commit cace11e6d044b3125b6fdc816f3cc552d3c8ca13 by Jean-Baptiste Mardelle.
Committed on 13/04/2020 at 14:04.
Pushed by mardelle into branch 'release/20.04'.

Export frame should use source resolution instead of project resolution

M  +10   -1    src/monitor/monitorproxy.cpp

https://invent.kde.org/kde/kdenlive/commit/cace11e6d044b3125b6fdc816f3cc552d3c8ca13