Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package]: "Shotcut" Package Request #20021

Open
1 task done
hansm629 opened this issue May 4, 2024 · 7 comments
Open
1 task done

[Package]: "Shotcut" Package Request #20021

hansm629 opened this issue May 4, 2024 · 7 comments
Labels
package request A new package was requested. qt6

Comments

@hansm629
Copy link

hansm629 commented May 4, 2024

Why is it worth to add this package?

Currently, various advanced graphics programs such as Blender 3D, Inkscape, Gimp, RawTherapee, etc. have been ported as Termux native packages and can be used in the XFCE4 desktop environment.

Screenshots

Screenshot_2024-05-04_17-01-26
Screenshot_2024-05-04_17-02-05
Screenshot_2024-05-04_17-03-50
Screenshot_2024-05-04_17-05-33

but
There is no video editing program.

For flagship smartphone SoC Snapdragon 8 Gen3 is

Compared to Apple M1
Show better single-core performance within the margin of error
Multi-core performance is only 8% inferior.

shotcut is a video editing program that supports advanced features.
If it is a flagship SoC, video editing will be sufficient even with zink & virgl acceleration.
68747470733a2f2f7777772e73686f746375742e6f72672f6173736574732f696d672f73637265656e73686f74732f53686f746375742d31382e31312e31382e706e67

SoCs on smartphones and tablet PC will continue to improve,
so I think XFCE4 desktop usability will go further here if we have a video editing program for Termux native.

Please review it.
Thank you.

Home page URL

https://github.com/mltframework/shotcut

Source code URL

https://github.com/mltframework/shotcut

Packaging policy acknowledgement

  • I certify that I have read Termux Packaging Policy and understand that my request will be denied in case of violation.

Additional information

No response

@hansm629 hansm629 added the package request A new package was requested. label May 4, 2024
@knyipab
Copy link
Contributor

knyipab commented May 4, 2024

I tried to build it with TUR (knyipab/tur@8f0d79d). It does compile and the app can start but does not render video. This is because the current qt5 packages do not support OpenGL and there is no easy workaround (termux-user-repository/tur#848).

Let's wait for Qt6 with OpenGL support. truboxl is working on the PR: #19464 . When Qt6 packages are ready, I may retry building shotcut (to TUR? or make PR if termux-pacakges welcomes that).

@hansm629
Copy link
Author

hansm629 commented May 4, 2024

@knyipab
Thank you for answer.

Come to think of it, even in PRoot Debian, when trying to video rendering in Shotcut,
Error: the job XML is empty!
It fails with the above error generated. Is this the same reason?

Even if you install all qt6 packages in the PRoot environment and try video rendering again, the same problem persists.
Error: the job XML is empty!
The above message was generated and then failed.

Is there a possibility that Kdenlive will also be ported to Termux in the future?

@knyipab
Copy link
Contributor

knyipab commented May 4, 2024

That was few months ago and I couldn't quite recall, but that doesn't seem to be the error I encountered. Besides, because we will compile from the source, there should be more room to fix errors and apply workaround.

kdenlive is harder to package. It requires KF5 (transiting to KF6) in addition to MLT. Again, KF5/6 needs OpenGL-supported Qt in compile time. There's hope given the demand for KF6-related packages e.g. plasma desktop, libreoffice, etc. But be patient.

@hansm629
Copy link
Author

hansm629 commented May 4, 2024

@knyipab
Thank you for answer.

First of all, I am more familiar with using Shotcut than with Kdenlive.
I think just porting Shotcut will be enough.

Let's wait for the good news that Shotcut will be released soon along with Qt6.

We are always grateful that the Termux computing environment continues to evolve thanks to people like you. :)

@TomJo2000
Copy link
Member

(For tracking/reference purposes)
Depends on:

May be possible to package after merger of:

@TomJo2000 TomJo2000 added the qt6 label May 24, 2024
@hansm629
Copy link
Author

@knyipab
hello sir :)
Now that qt6 has been merged, can we solve the problem of video not being rendered in Shotcut?

@knyipab
Copy link
Contributor

knyipab commented May 25, 2024

My previous patches on MLT still works with qt6 and it does build.
However, for shotcut, there are more qt6 packages needed to compile. I think we don't have most of them. You can make package requests

According to archlinux build script, https://gitlab.archlinux.org/archlinux/packaging/packages/shotcut/-/blob/main/PKGBUILD?ref_type=heads. It needs

'qt6-declarative' 'qt6-imageformats' 'qt6-multimedia' 'qt6-translations' 'qt6-charts'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request A new package was requested. qt6
Projects
None yet
Development

No branches or pull requests

3 participants