Summary: | Webm high quality worse with Quality at highest setting (recent regression) | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Eric Mesa <ericsbinaryworld> |
Component: | Video Display & Export | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | contact, ctron, fritzibaby |
Priority: | NOR | ||
Version: | 20.08.3 | ||
Target Milestone: | --- | ||
Platform: | Flatpak | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/multimedia/kdenlive/commit/d6910eacb8cda27adaf63afcec76e3391da4b2b7 | Version Fixed In: | 22.04.0 |
Description
Eric Mesa
2020-12-06 21:13:22 UTC
I did a few more tests and I would like to modify the issue slightly. A lower quality bar does not improve the quality. However, switching from webm to mp4 produces the quality I'd expect. These are all under the "Generic" set of output. That is to say, WebM (VP8/Vorbis) and Mp4 (H264/AAC). For more concrete example of how wrong thigns are with Webm: Before I had this issue, I created a 34 minute video with WebM slider at highest quality. The file size was 2.0GB. After having this issue, I created a 40 minute video with WebM at the highest quality. It was 303 MB. I really want to bump this- this is still a problem, even in the latest Kdenlive. I'm running Kdenlive 21.04.2 on Arch Linux with MLT 6.26.1. This happens with the daily AppImage kdenlive-21.07.70-ee7a141-x86_64.appimage too. I can confirm kdenlive-19.12.0a-x86_64.appimage works. Exporting the project then running using melt gives this error: [libvpx @ 0x7f7ef0001d00] Bitrate not specified for constrained quality mode, using default of 256kbit/sec Changing vb="0" to vb="10M" helps. Exporting the project from a working Kdenlive also gives the same issue and poor output. It looks like this may be a behaviour change in ffmpeg: https://github.com/FFmpeg/FFmpeg/commit/14941d386acd90b92aaaf75fbdac2c07d33f167a Setting 'vb=1M' in the export helps, but it still doesn't look proper. I just ran into the same problem. Taking a look at the logs I see: ``` Started render process: /app/bin/melt -progress /var/tmp/kdenlive-TZQHdn.mlt out=20326 [libvpx @ 0x7fa03c003940] Application has requested 24 threads. Using a thread count greater than 16 is not recommended. [libvpx @ 0x7fa03c003940] Bitrate not specified for constrained quality mode, using default of 256kbit/secJob aborted by user ``` So it looks like some argument is missing and it defaults to some bad quality defaults. A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kdenlive/-/merge_requests/271 Git commit d6910eacb8cda27adaf63afcec76e3391da4b2b7 by Julius Künzel, on behalf of Farid Abdelnour. Committed on 23/01/2022 at 00:35. Pushed by jlskuz into branch 'master'. Try to improve alpha render quality Should fix bad quality renders in videos with alpha profile. Fixes #1075 Related: bug 436879, bug 357153 M +4 -6 data/profiles.xml https://invent.kde.org/multimedia/kdenlive/commit/d6910eacb8cda27adaf63afcec76e3391da4b2b7 Still broken as of git. I believe this is now fixed in 22.04 Flatpak. |