Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670356

Summary: media-video/shotcut-18.03: export not work with "qmelt not found"
Product: Gentoo Linux Reporter: Victor Kustov <ktrace>
Component: Current packagesAssignee: Dmitriy Baranov <reagentoo>
Status: RESOLVED FIXED    
Severity: normal CC: chris, phobosk, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 703576    
Bug Blocks:    

Description Victor Kustov 2018-11-05 11:25:27 UTC
When exporting video to any other format, shotcut calls /usr/bin/qmelt, but qmelt not in tree.

Reproducible: Always

Steps to Reproduce:
1. Open any video file
2. Choose "Export"
3. Press "Export" button
4. Look in log
Actual Results:  
In journal:
/usr/bin/nice: «/usr/bin/qmelt»: No such file or directory
Failed with exit code 127

In console:
[Debug  ] <MeltJob::start> "/usr/bin/qmelt" ("-verbose", "-progress2", "-abort", "/tmp/shotcut-ACxlju.mlt") 
[Info   ] <AbstractJob::onFinished> job failed with 127 




Expected Results:  
Convert file to another format

media-libs/mlt-6.10.0::gentoo  USE="ffmpeg frei0r gtk kdenlive melt opengl python qt5 sdl xml -compressed-lumas -debug -fftw -jack -libav -libsamplerate -lua (-opencv) -rtaudio -ruby (-vdpau) -xine" CPU_FLAGS_X86="mmx sse sse2" PYTHON_TARGETS="python2_7" 3314 KiB

maybe need qmelt in tree? or symlink melt -> qmelt
Comment 1 PhobosK 2019-02-18 21:56:13 UTC
>> maybe need qmelt in tree? or symlink melt -> qmelt

symlinking will not work because qmelt is a totally different app - part from webvfx

Actually none of the shotcut portage versions do work, because the package needs an mlt engine that is missing totally in Gentoo. The problem is described here: https://github.com/mltframework/shotcut/issues/284
and here: https://forum.shotcut.org/t/usr-bin-nice-usr-bin-qmelt-no-such-file-or-directory/1414

Basically openshot needs: https://github.com/mltframework/webvfx and without it it is non functional when you get to export things.
Comment 2 PhobosK 2019-02-19 20:26:11 UTC
I've created a very basic ebuild for webvfx, but it needs some polishing and some changes in the ebuild of shotcut, so I do not upload this here... but the discussion can be found here: https://forums.gentoo.org/viewtopic-p-8311200.html#8311200
Comment 3 Andreas Sturmlechner gentoo-dev 2019-06-27 10:04:58 UTC
How much sense does it even make to keep shotcut in tree if it is missing a critical RDEPEND?
Comment 4 PhobosK 2019-06-27 17:41:03 UTC
Well if you include the webvfx ebuild in tree it makes sense :)

Besides shotcut is a very popular application (at least in other distributions) and removing it from Gentoo will be shame  :)
Comment 5 Andreas Sturmlechner gentoo-dev 2019-07-01 20:10:44 UTC
Then someone should step up and maintain the required package.
Comment 6 Chris Smith 2019-12-22 21:36:30 UTC
Shotcut needs webvfx to export, unfortunately there's no ebuild in the tree and the linked ebuild in comment 2 does not work, fails on install with:
=================================================
Files matching a file type that is not allowed:
   usr/lib/libwebvfx.so.1.1.0
 * ERROR: media-libs/webvfx-1.1.0::tcgOverlay failed:
 *   multilib-strict check failed!
=================================================

Shotcut can't export, Kdenlive crashes after upgrade to qt-5.14, video editing is about dead on Gentoo.
Comment 7 Chris Smith 2019-12-22 23:27:00 UTC
Ebuild for webvfx, provides qmelt support to Shotcut

https://bugs.gentoo.org/show_bug.cgi?id=703576

works here, no guarantees
Comment 8 Andreas Sturmlechner gentoo-dev 2020-02-03 15:57:00 UTC
Should be fixed by media-video/shotcut-19.12.31.