Bug 439591 - WEBM export creates broken file
Summary: WEBM export creates broken file
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 20.12.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-07 10:40 UTC by roland
Modified: 2022-08-28 14:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roland 2021-07-07 10:40:56 UTC
SUMMARY

Rendering using any WEBM profile produces broken *.webm files (2MB in size always, no application can open it).


STEPS TO REPRODUCE
1. Open a projecct
2. Render using any of the WEBM profiles

OBSERVED RESULT

Produced *.webm file is 2MB in size and no application can open it

EXPECTED RESULT

Correctly rendered *.webm file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: GenToo, KDE 5.21.5

ADDITIONAL INFORMATION
Comment 1 J 2022-04-10 17:43:41 UTC
Same issue:

Operating System: Gentoo Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.15.32-gentoo-r1-x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-2600K CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Comment 2 J 2022-04-10 18:37:42 UTC
Managed to resolve this
Kdenlive uses ffmpeg as the encoder so it must be built with the vpx flag in order to use libvpx

media-video/ffmpeg vpx
made the issue go away
Comment 3 farid 2022-08-26 14:30:53 UTC
Can you please test the latest version and see if you can still reproduce?
Comment 4 roland 2022-08-26 16:24:09 UTC
(In reply to farid from comment #3)
> Can you please test the latest version and see if you can still reproduce?

Which version? Mine shows "21.12.3".
Comment 5 roland 2022-08-26 16:25:33 UTC
(In reply to J from comment #2)
> Managed to resolve this
> Kdenlive uses ffmpeg as the encoder so it must be built with the vpx flag in
> order to use libvpx
> 
> media-video/ffmpeg vpx
> made the issue go away

I've got "vpx" already set on "media-video/ffmpeg" and it still fails.
Comment 6 farid 2022-08-26 16:39:10 UTC
(In reply to roland from comment #4)
> (In reply to farid from comment #3)
> > Can you please test the latest version and see if you can still reproduce?
> 
> Which version? Mine shows "21.12.3".

Latest version is 22.08. Since you are using a distro package I'd recommend you test and also compare with AppImage or Flatpak.
Comment 7 roland 2022-08-26 21:08:35 UTC
https://packages.gentoo.org/packages/kde-apps/kdenlive

GenToo has both, albeit one as testing. I'll go first for 22.04.3 to avoid update problems but otherwise your version would be possible to test too.
Comment 8 roland 2022-08-28 14:52:59 UTC
I did now some tests with 22.04.3 . The profiles "WebM-VP8/Vorbis (libre)" and "WebM-VP9/Vorbis (libre)" are now working and produce correct *.webm files. The profile "WebM-AV1/Opus (libre)" I can not test since it is not selectable which can be due to a missing use flag.

From my point of view this issue can be closed.