Package Details: losslesscut-git 3.67.2.r35.g260110d-1

Git Clone URL: https://aur.archlinux.org/losslesscut-git.git (read-only, click to copy)
Package Base: losslesscut-git
Description: The swiss army knife of lossless video/audio editing.Using system-wide ffmpeg.(Use system-wide electron)
Upstream URL: https://github.com/mifi/lossless-cut
Keywords: codec cut editor ffmpeg lossless player video video-editor video-files
Licenses: GPL-2.0-only
Conflicts: losslesscut
Provides: losslesscut
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 4
Popularity: 0.24
First Submitted: 2023-12-07 04:20 (UTC)
Last Updated: 2026-01-13 02:07 (UTC)

Pinned Comments

zxp19821005 commented on 2024-01-08 10:19 (UTC)

When you first used it,you will got errors like 'Cann't find ffmpeg'.Then please switch to advanced settings and manually set the ffmpeg path to /usr/bin.That will be OK.

Latest Comments

1 2 3 Next › Last »

dreieck commented on 2026-01-13 12:46 (UTC)

Works now, thanks.

Although the installation size doubles -- why?:

Package (1)      Old Version           New Version            Net Change

losslesscut-git  3.66.1.r2.g251024f-1  3.67.2.r35.g260110d-1   34.65 MiB

Total Installed Size:  69.98 MiB
Net Upgrade Size:      34.65 MiB

Regards!

zxp19821005 commented on 2026-01-13 02:08 (UTC)

@dreieck Thanks for your feedback, fixed it.

dreieck commented on 2026-01-12 14:23 (UTC)

For me, building this fails in prepare() with ➤ YN0009: │ sharp@npm:0.33.5 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-f0808471/build.log):

==> Starting prepare()...
The electron version is: 38
mkdir: created directory '/var/cache/makepkg/build/losslesscut-git/src/.nvm'
'/var/cache/makepkg/build/losslesscut-git/src/.nvm/nvm.sh' -> '/usr/share/nvm/nvm.sh'
'/var/cache/makepkg/build/losslesscut-git/src/.nvm/nvm-exec' -> '/usr/share/nvm/nvm-exec'
Downloading and installing node v22.21.1...
Downloading https://nodejs.org/dist/v22.21.1/node-v22.21.1-linux-x64.tar.xz...
###################################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v22.21.1 (npm v10.9.4)
Creating default alias: default -> 22 (-> v22.21.1)
Now using node v22.21.1 (npm v10.9.4)
➤ YN0000: Successfully set enableTelemetry to false
➤ YN0000: · Yarn 4.11.0
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ eslint-plugin-react-hooks is listed by your project with version 7.0.1 (p9efb2b), which doesn't satisfy what eslint-config-airbnb (via eslint-config-mifi) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0002: │ lossless-cut@workspace:. doesn't provide @react-leaflet/core (pe7c8bb), requested by @adamscybot/react-leaflet-component-marker.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 1247 packages were added to the project (+ 247.16 MiB).
➤ YN0000: └ Completed in 2m 21s
➤ YN0000: ┌ Link step
➤ YN0007: │ electron@npm:38.7.2 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.33.5 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.34.5 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.27.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @parcel/watcher@npm:2.5.1 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.25.12 must be built because it never has been before or the last one failed
➤ YN0007: │ @swc/core@npm:1.15.4 [0c53f] must be built because it never has been before or the last one failed
➤ YN0007: │ @swc/core@npm:1.15.8 [fdcf3] must be built because it never has been before or the last one failed
➤ YN0009: │ sharp@npm:0.33.5 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-f0808471/build.log)
➤ YN0007: │ lossless-cut@workspace:. must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 20s 209ms
➤ YN0000: · Failed with errors in 2m 42s
==> ERROR: A failure occurred in prepare().
    Aborting...

/tmp/xfs-f0808471/build.log contains:

# This file contains the result of Yarn building a package (sharp@npm:0.33.5)
# Script name: install

sharp: Detected globally-installed libvips v8.18.0
sharp: Attempting to build from source via node-gyp
sharp: Found node-addon-api 
sharp: Found node-gyp 9.3.0
sharp: See https://sharp.pixelplumbing.com/install#building-from-source
?[31m?[1mUsage Error?[22m?[39m: Couldn't find a script name "node-gyp" in the top-level (used by sharp@npm:0.33.5). This typically happens because some package depends on "node-gyp" to build itself, but didn't list it in their dependencies. To fix that, please run "yarn add node-gyp" into your top-level workspace. You also can open an issue on the repository of the specified package to suggest them to use an optional peer dependency.

?[1m$ ?[22myarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] [--require #0] <scriptName> ...

Package node-gyp version 12.1.0-1 is installed.

Regards!

zxp19821005 commented on 2026-01-09 04:28 (UTC)

@tuxayo Thanks for your feedback, fixed it.

zxp19821005 commented on 2025-02-25 01:48 (UTC)

@eomanis Thank you for the feedback. I tried uninstalling the system's yarn and calling it using node and npx, but it seems that .yarnrc.xml is not working. I have updated the dependencies and added yarn.

eomanis commented on 2025-02-25 00:55 (UTC) (edited on 2025-02-25 00:58 (UTC) by eomanis)

@zxp19821005 Thank you, it has built successfully now, but it still requires the arch-packaged yarn to be installed because of PKGBUILD line 80:

yarn config set --home enableTelemetry 0

Which causes this build error:

==> Starting prepare()...
(...)
Now using node v20.18.3 (npm v10.8.2)
/home/builduser/.cache/paru/clone/losslesscut-git/PKGBUILD: line 80: yarn: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...

After installing the Arch yarn package the build succeeds. The build does indicate that it uses another yarn after the enableTelemetry step:

==> Starting prepare()...
(...)
Now using node v20.18.3 (npm v10.8.2)
➤ YN0000: Successfully set enableTelemetry to false
➤ YN0000: · Yarn 4.4.0

Maybe the enableTelemetry yarn call needs NODE_ENV=development prepended, too.

zxp19821005 commented on 2025-02-24 04:40 (UTC)

@eomanis This package was built from yarn@4.4.0, which was in the source files, not use the system's yarn (1.22.22). I've fixed the out of memory errors now.

eomanis commented on 2025-02-23 19:25 (UTC)

Missing build-time dependency yarn

But anyway the build, using paru, failed for me with the out of memory error reported by gue5t.