Bug 426983 - Exporting with libx264rgb results in strange colors
Summary: Exporting with libx264rgb results in strange colors
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: 20.08.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-09-26 04:39 UTC by the_guy_with_hair
Modified: 2025-01-23 03:47 UTC (History)
3 users (show)

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


Attachments
Input (Left), Output (right) (6.63 KB, image/png)
2020-09-26 04:39 UTC, the_guy_with_hair
Details

Note You need to log in before you can comment on or make changes to this bug.
Description the_guy_with_hair 2020-09-26 04:39:44 UTC
Created attachment 131945 [details]
Input (Left), Output (right)

SUMMARY

I want to export a video in lossless libx264rgb.

I can convert my source video to this format with ffmpeg just fine, like so: 
ffmpeg -i input.avi -c:v libx264rgb -crf 0 output.mp4

However, if I try to RENDER to this format using kdenlive, the output video has strange colors.

Changing the Project's Color Space does not seem to help.

STEPS TO REPRODUCE
1. Render->Create New Profile
--- Profile Name: Libx264rgb
--- Parameters: vcodec=libx264rgb crf=0
--- OK
2. Select "Libx264rgb" and click Render.

OBSERVED RESULT
Strange colors.
White -> Pink
Black -> Green

EXPECTED RESULT
Normal colors.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Comment 1 emohr 2020-09-27 15:12:28 UTC
In the render dialog -> disable "parallel processing" and try again.
Comment 2 the_guy_with_hair 2020-09-28 05:15:53 UTC
(In reply to emohr from comment #1)
> In the render dialog -> disable "parallel processing" and try again.

Just tried this, but had no luck :(
Comment 3 erjiang 2022-07-23 05:54:43 UTC
Found a MLT bug that seems related: https://github.com/mltframework/mlt/issues/657

Looks like there have been recent changes to MLT to better support this. Can you try setting mlt_image_format based on that Github issue or look at the options used in the "Video with Alpha" and "Lossless/HQ" presets?
Comment 4 Bernd 2024-12-24 01:08:30 UTC
Hi and thank you for your patience.

Your bug report was for a version of Kdenlive that is at least four years old. Can you please check whether this issue still exists in the latest version 24.12.0?

If yes, please update this report to reflect the new version and set the status to CONFIRMED.

If it works now like you expect it would, you may change the status of this report to RESOLVED - FIXED.

At any rate, this report will be closed if there is no activity for the next 30 days.
Comment 5 Bug Janitor Service 2025-01-08 03:47:39 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-01-23 03:47:30 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.