Bug 407678 - Shots with a transform filter are not rendered on rescaled export
Summary: Shots with a transform filter are not rendered on rescaled export
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 19.04.1
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 408363 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-18 08:32 UTC by François
Modified: 2019-06-06 16:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François 2019-05-18 08:32:33 UTC
SUMMARY

When rendering a video that has a shot with a transform filter or a transform composition and the render settings specify a scaling of the output video, the shot is not rendered within the output video. It is ignored.

STEPS TO REPRODUCE
1. Create a new project.
2. Add a clip to the timeline.
3. Add a Transform filter to that clip.
4. Open the render dialog and click "more option".
5. Check the "Rescale" box and set it to 1280x720.
6. Render.

OBSERVED RESULT

The video output is black.
(Also, the render process never ends, even after the video has been fully rendered)

EXPECTED RESULT

The video output should show my shot.


SYSTEM :

PureOS (Debian) / GNOME / Kdenlive Flatpak from Flathub


ADDITIONAL INFORMATION
Comment 1 emohr 2019-05-24 17:50:35 UTC
Please try with the current Kdenlive AppImage version 19.04.1c 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 2 François 2019-05-27 12:17:54 UTC
I have tested the latest appimage and the problem is still there
Comment 3 François 2019-05-27 12:40:29 UTC
I also have the same issue when rendering a preview zone with a clip that has some transform filter. The clip is just ignored from the preview render. The rest is rendered just fine.
Comment 4 emohr 2019-05-27 17:33:19 UTC
Confirmed. Black output with and without parallel processing. Openend issue: https://invent.kde.org/kde/kdenlive/issues/205
Comment 5 Jean-Baptiste Mardelle 2019-05-30 09:21:04 UTC
Thanks for the report. I have identified the problem (embeded consumer in melt does not correctly handle rescale). A fix will be required in mlt, I am working on it.
Comment 6 Jean-Baptiste Mardelle 2019-05-31 11:36:05 UTC
MLT pull request proposed here:
https://github.com/mltframework/mlt/pull/453
Comment 7 Jean-Baptiste Mardelle 2019-06-05 06:09:32 UTC
Git commit 6c6f31468519e4aabd407be9f0a6b81e811f51a1 by Jean-Baptiste Mardelle.
Committed on 05/06/2019 at 06:09.
Pushed by mardelle into branch 'Applications/19.04'.

Workaround MLT consumer scaling issue #453 by using multi consumer
Enforce in/out that were not correctly passed with movit or multi consumer

M  +16   -10   renderer/kdenlive_render.cpp
M  +2    -2    renderer/renderjob.cpp

https://invent.kde.org/kde/kdenlive/commit/6c6f31468519e4aabd407be9f0a6b81e811f51a1
Comment 8 emohr 2019-06-05 16:54:59 UTC
Tested with nigtly build AppImage. Fixed with: https://invent.kde.org/kde/kdenlive/commit/6c6f31468519e4aabd407be9f0a6b81e811f51a1
Comment 9 emohr 2019-06-06 16:14:31 UTC
*** Bug 408363 has been marked as a duplicate of this bug. ***