Package Details: losslesscut-bin 3.64.0-1

Git Clone URL: https://aur.archlinux.org/losslesscut-bin.git (read-only, click to copy)
Package Base: losslesscut-bin
Description: Crossplatform GUI tool for lossless trimming/cutting of video/audio files
Upstream URL: https://github.com/mifi/lossless-cut
Licenses: MIT
Conflicts: losslesscut
Provides: losslesscut
Submitter: dmp1ce
Maintainer: dmp1ce (Lulzagna)
Last Packager: Lulzagna
Votes: 54
Popularity: 0.99
First Submitted: 2020-11-10 13:10 (UTC)
Last Updated: 2024-11-01 15:21 (UTC)

Pinned Comments

kata55 commented on 2023-07-06 20:07 (UTC) (edited on 2023-07-06 20:09 (UTC) by kata55)

If anyone, like me, uses this on GNOME on Wayland with Fractional Scaling (due to a 14" 2560x1440 screen in their laptop), you may find this Electron trick useful to make the app work in native Wayland mode instead of xwayland (so that it does not appear blurry) - run the app with this command:

losslesscut --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations

To make the change persist, change the Exec=... line in /usr/share/applications/losslesscut-bin.desktop to:

Exec=losslesscut --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations

It would be probably great if the .desktop file in this AUR would have this automatically included if Wayland is detected as the display server, but I'm not sure how do you go about this; Also this seems to be a recurring theme with all Electron apps, so I'm thinking about some system-wide solution to be brought up on Arch upstream - no point in having every single Electron app packager waste the effort repeating this.

dmp1ce commented on 2021-10-29 17:03 (UTC)

I'm following the releases on this page: https://github.com/mifi/lossless-cut/releases

I'm not following all the tagged versions.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

sadid commented on 2023-02-17 14:40 (UTC)

The download link for 3.51.0 doesn't work anymore and failed the makepkg. Furthermore, 3.52.0 has been updated:

https://github.com/mifi/lossless-cut/releases/tag/v3.52.0

https://github.com/mifi/lossless-cut/releases/download/v3.52.0/LosslessCut-linux-x64.tar.bz2

AvianaCruz commented on 2023-02-17 14:35 (UTC) (edited on 2023-02-18 12:59 (UTC) by AvianaCruz)

@dmp1ce The "Cannot open media" may be an upstream issue: https://github.com/mifi/lossless-cut/issues/1481.

alan1world commented on 2023-02-17 10:49 (UTC) (edited on 2023-02-17 10:49 (UTC) by alan1world)

3.52.0 now

https://github.com/mifi/lossless-cut/releases/download/v3.52.0/LosslessCut-linux-x64.tar.bz2

maxpayne3 commented on 2023-02-17 09:10 (UTC)

This is the correct URL: https://github.com/mifi/lossless-cut/releases/download/v3.51.1/LosslessCut-linux-x64.tar.bz2

jonask commented on 2023-02-17 08:15 (UTC)

==> ERROR: Failure while downloading https://github.com/mifi/lossless-cut/releases/download/v3.51.0/LosslessCut-linux-x64.tar.bz2

dmp1ce commented on 2023-01-16 16:37 (UTC)

@AvianaCruz This worked pretty well but I kept getting a "Cannot open media" file on opening the app. Then the Open File would default to the /usr/lib/losslesscut directory. Is there a way for the app to open without the error message and correct Open File default?

AvianaCruz commented on 2023-01-16 03:23 (UTC) (edited on 2023-01-16 03:25 (UTC) by AvianaCruz)

@dmp1ce Please try this:

PKGBUILD:

# Maintainer: David Parrish <daveparrish@tutanota.com>

# shellcheck disable=SC2034,SC2164

_pkgname=losslesscut
pkgname=losslesscut-bin
pkgver=3.49.0
pkgrel=2
pkgdesc="Crossplatform GUI tool for lossless trimming/cutting of video/audio files"
arch=('x86_64')
url='https://github.com/mifi/lossless-cut'
license=('MIT')
depends=('electron21' 'ffmpeg')
source_x86_64=("$pkgname-$pkgver.tar.bz2::https://github.com/mifi/lossless-cut/releases/download/v$pkgver/LosslessCut-linux-x64.tar.bz2"
  "$_pkgname.sh"
  "$_pkgname.desktop"
  'LICENSE'
  'https://raw.githubusercontent.com/mifi/lossless-cut/master/src/icon.svg')
noextract=("$pkgname-$pkgver.tar.bz2")
sha256sums_x86_64=('65e66ddcef7f78389a8ab81caa8bf61991a82a11049863d4dc0045d242cbd204'
  'f181a36a5dfdb1a75012fa069accb5636984a44161edbf42c454a23567cc1940'
  '87827ee65955d49c40327ba958b15d054cc107cf8e56de7cf1f93d4bc2b6fca5'
  '48affed7162fc2e76f1cd47b50355181b869b4025ff04c2a53b03854e329dca0'
  'd3d3da3f403ce1b9f846ae2a38a8fe9938fc458024352a9741b59a920eefacf9')

prepare() {
  tar x --strip-components=2 -f $pkgname-$pkgver.tar.bz2 LosslessCut-linux-x64/resources/app.asar
}

package() {
  # ffmpeg not found workaround
  install -dm755 "$pkgdir/usr/lib/electron21/resources"
  ln -s /usr/bin/ffmpeg "$pkgdir/usr/lib/electron21/resources/"
  ln -s /usr/bin/ffprobe "$pkgdir/usr/lib/electron21/resources/"

  install -Dm755 $_pkgname.sh "$pkgdir/usr/bin/$_pkgname"
  install -Dm644 -t "$pkgdir/usr/lib/$_pkgname" app.asar
  install -Dm644 $_pkgname.desktop "$pkgdir/usr/share/applications/$_pkgname.desktop"
  install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/$_pkgname.svg"
  install -Dm644 -t "$pkgdir/usr/share/licenses/$_pkgname" LICENSE
}

losslesscut.sh:

#!/bin/sh
ELECTRON_IS_DEV=0 exec electron21 /usr/lib/losslesscut/app.asar "$@"

dmp1ce commented on 2022-12-02 12:45 (UTC)

@skreett it looks like the same error I get because of Wayland. Try losslesscut --no-sandbox for starting lossescut on Wayland.

skreett commented on 2022-12-02 04:23 (UTC)

I'm seeing the following issue when running the application. Any thoughts on how to fix it?

[3642:1201/201853.604775:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.
[1]    3642 trace trap (core dumped)  ./losslesscut