Summary: | [recorder plugin] FFmpeg render presets not working for webm and mp4 | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Raghavendra kamath <raghu> |
Component: | Dockers/Recorder | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, halla |
Priority: | NOR | ||
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Raghavendra kamath
2023-09-23 11:01:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1948 Update about WebM support in our ffmpeg binary: Our ffmpeg binary supports only hardware encoding of vp8 using `vp8_v4l2m2m` encoder, it requires the presence of hardware and the specific driver. To support software encoding, we need to build ffmpeg with libvpx support, which we don't do (I don't know why, perhaps due to some license issues) Here is the link to the problem like ours: https://stackoverflow.com/questions/55056694/ffmpeg-codec-conversion-cant-configure-encoder Git commit 6f2ca3bad196b34e1c5ff9482c24305aebe473ff by Dmitry Kazakov. Committed on 26/09/2023 at 11:08. Pushed by dkazakov into branch 'master'. Add openh264 presets to the recorder plugin Internal ffmpeg binary supports only libopenh264 encoder, while external ffmpeg binary supports only libx264 encoder :) We need to add presets for both of them. M +55 -0 plugins/dockers/recorder/recorder_export_config.cpp https://invent.kde.org/graphics/krita/-/commit/6f2ca3bad196b34e1c5ff9482c24305aebe473ff Git commit 1feefa4b4cf3f24e78a705ff429f6a7b31cc4329 by Dmitry Kazakov. Committed on 26/09/2023 at 15:10. Pushed by dkazakov into branch 'krita/5.2'. Add openh264 presets to the recorder plugin Internal ffmpeg binary supports only libopenh264 encoder, while external ffmpeg binary supports only libx264 encoder :) We need to add presets for both of them. (cherry picked from commit 6f2ca3bad196b34e1c5ff9482c24305aebe473ff) M +55 -0 plugins/dockers/recorder/recorder_export_config.cpp https://invent.kde.org/graphics/krita/-/commit/1feefa4b4cf3f24e78a705ff429f6a7b31cc4329 MP4 part of the bug is fixed in master and krita/5.2. WebM part will not be fixed in 5.2.0, because our ffmpeg is built without software encoding support for vp8, only hardware one using GPU. Removing release-blocker tag The bug should now be fixed in https://invent.kde.org/dkazakov/krita-deps-management/-/commit/bfb2859dd6c170376e6ebc1da8ec58487231c980 |