Clean up, then start again after upgrading your system.
pamac remove videocut
sudo pacman -Sc && pamac clean --build-files && paccache -rvuk0 && flatpak uninstall --unused
sudo pacman-mirrors --continent && sudo pacman -Syu
Assuming you’re using Testing/Unstable… (I’m with Testing):
Pamac install videocut
pamac install videocut
Warning: videocut is only available from AUR
Preparing...
Checking videocut dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
videocut 3.0.4-2 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Cloning videocut build files...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Generating videocut information...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: ben
Password:
==== AUTHENTICATION COMPLETE ====
Building videocut...
==> Making package: videocut 3.0.4-2 (Tue 21 Jan 2025 09:11:33 +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading videocut3.0.4.tar...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
100 1640k 100 1640k 0 0 140k 0 0:00:11 0:00:11 --:--:-- 350k
==> Validating source files with md5sums...
videocut3.0.4.tar ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting videocut3.0.4.tar with bsdtar
==> Starting build()...
make: Entering directory '/var/tmp/pamac-build-ben/videocut/src/videocut/ffmpeg/src'
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto remux5.c -lavcodec -lavformat -lavutil -o remux5
rm -f *.o remux5
remux5.c: In function ‘_copySidedata’:
remux5.c:461:9: warning: ‘av_stream_get_side_data’ is deprecated [-Wdeprecated-declarations]
461 | data = av_stream_get_side_data(info->inStream,AV_PKT_DATA_DISPLAYMATRIX, &size);
| ^~~~
In file included from remux5.c:50:
/usr/include/libavformat/avformat.h:2170:10: note: declared here
2170 | uint8_t *av_stream_get_side_data(const AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
remux5.c:464:8: warning: ‘av_stream_add_side_data’ is deprecated [-Wdeprecated-declarations]
464 | av_stream_add_side_data(info->outStream,AV_PKT_DATA_DISPLAYMATRIX,data,size);
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libavformat/avformat.h:2140:5: note: declared here
2140 | int av_stream_add_side_data(AVStream *st, enum AVPacketSideDataType type,
| ^~~~~~~~~~~~~~~~~~~~~~~
remux5.c: In function ‘_initOutputContext’:
remux5.c:532:5: warning: ‘av_stream_new_side_data’ is deprecated [-Wdeprecated-declarations]
532 | props = (AVCPBProperties*) av_stream_new_side_data(videoInfo->outStream, AV_PKT_DATA_CPB_PROPERTIES, sizeof(*props));
| ^~~~~
/usr/include/libavformat/avformat.h:2155:10: note: declared here
2155 | uint8_t *av_stream_new_side_data(AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
remux5.c: In function ‘_initEncoder’:
remux5.c:647:9: warning: ‘pix_fmts’ is deprecated [-Wdeprecated-declarations]
647 | if (encoder->pix_fmts)
| ^~
In file included from /usr/include/libavformat/avformat.h:328:
/usr/include/libavcodec/codec.h:215:31: note: declared here
215 | const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~
remux5.c:648:17: warning: ‘pix_fmts’ is deprecated [-Wdeprecated-declarations]
648 | enc_ctx->pix_fmt = encoder->pix_fmts[0];
| ^~~~~~~
/usr/include/libavcodec/codec.h:215:31: note: declared here
215 | const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~
remux5.c:663:17: warning: ‘ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
663 | enc_ctx->ticks_per_frame=dec_ctx->ticks_per_frame;//should be 2!
| ^~~~~~~
In file included from remux5.c:51:
/usr/include/libavcodec/avcodec.h:582:9: note: declared here
582 | int ticks_per_frame;
| ^~~~~~~~~~~~~~~
remux5.c:663:17: warning: ‘ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
663 | enc_ctx->ticks_per_frame=dec_ctx->ticks_per_frame;//should be 2!
| ^~~~~~~
/usr/include/libavcodec/avcodec.h:582:9: note: declared here
582 | int ticks_per_frame;
| ^~~~~~~~~~~~~~~
remux5.c:702:17: warning: ‘ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
702 | enc_ctx->ticks_per_frame=2;
| ^~~~~~~
/usr/include/libavcodec/avcodec.h:582:9: note: declared here
582 | int ticks_per_frame;
| ^~~~~~~~~~~~~~~
remux5.c: In function ‘transcode’:
remux5.c:1514:33: warning: ‘key_frame’ is deprecated [-Wdeprecated-declarations]
1514 | av_log(NULL, AV_LOG_VERBOSE,"%d) decode key: %d (%d) type: %c, pts: %ld time: %.3f frm dur %ld",info->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,pts,fptime,frame->AVFRAME_PKTDURATION);
| ^~~~~~
In file included from /usr/include/libavformat/avformat.h:327:
/usr/include/libavutil/frame.h:485:9: note: declared here
485 | int key_frame;
| ^~~~~~~~~
remux5.c:1514:63: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
1514 | av_log(NULL, AV_LOG_VERBOSE,"%d) decode key: %d (%d) type: %c, pts: %ld time: %.3f frm dur %ld",info->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,pts,fptime,frame->AVFRAME_PKTDURATION);
| ~^
| |
| int
| %ld
remux5.c: In function ‘dumpDecodingData’:
remux5.c:1677:17: warning: ‘key_frame’ is deprecated [-Wdeprecated-declarations]
1677 | av_log(NULL, AV_LOG_INFO,"%d)FRM key: %d(%d) type:%c,pts:%ld time:%.3f\n",streamInfo->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,frame->pts,fptime);
| ^~~~~~
/usr/include/libavutil/frame.h:485:9: note: declared here
485 | int key_frame;
| ^~~~~~~~~
remux5.c:1677:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
1677 | av_log(NULL, AV_LOG_INFO,"%d)FRM key: %d(%d) type:%c,pts:%ld time:%.3f\n",streamInfo->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,frame->pts,fptime);
| ~^
| |
| int
| %ld
cp remux5 ../bin/remux5
make: Leaving directory '/var/tmp/pamac-build-ben/videocut/src/videocut/ffmpeg/src'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
libfakeroot internal error: payload not recognized!
==> Checking for packaging issues...
==> Creating package "videocut"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: videocut 3.0.4-2 (Tue 21 Jan 2025 09:11:47 +07)
==> Cleaning up...
Checking keyring... [1/1]
Checking integrity... [1/1]
Loading package files... [1/1]
Checking file conflicts... [1/1]
Checking available disc space... [1/1]
Installing videocut (3.0.4-2)... [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/4]
Refreshing PackageKit... [2/4]
Removing old packages from pacman cache... [3/4]
Removing old installed packages...
==> no candidate packages found for pruning
Removing old uninstalled packages...
==> no candidate packages found for pruning
Updating the desktop file MIME type cache... [4/4]
Transaction successfully finished.
Yay videocut
yay videocut
1 aur/videocut 3.0.4-2 (+2 0.00)
Fast mp4/matroska/Av1/webm/mp2/mpts lossless Video cutter
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
AUR Explicit (1): videocut-3.0.4-2
:: (1/1) Downloaded PKGBUILD: videocut
1 videocut (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
:: Deleting (1/1): /home/ben/.cache/yay/videocut
HEAD is now at fa4c01d Fixed MPVPlayer, non GLWidgets
1 videocut (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: videocut 3.0.4-2 (Tue 21 Jan 2025 09:08:37 +07)
==> Retrieving sources...
-> Downloading videocut3.0.4.tar...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
100 1640k 100 1640k 0 0 141k 0 0:00:11 0:00:11 --:--:-- 398k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
videocut3.0.4.tar ... Passed
:: (1/1) Parsing SRCINFO: videocut
==> Making package: videocut 3.0.4-2 (Tue 21 Jan 2025 09:08:49 +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found videocut3.0.4.tar
==> Validating source files with md5sums...
videocut3.0.4.tar ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting videocut3.0.4.tar with bsdtar
==> Sources are ready.
==> Making package: videocut 3.0.4-2 (Tue 21 Jan 2025 09:08:50 +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
make: Entering directory '/home/ben/.cache/yay/videocut/src/videocut/ffmpeg/src'
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto remux5.c -lavcodec -lavformat -lavutil -o remux5
rm -f *.o remux5
remux5.c: In function ‘_copySidedata’:
remux5.c:461:9: warning: ‘av_stream_get_side_data’ is deprecated [-Wdeprecated-declarations]
461 | data = av_stream_get_side_data(info->inStream,AV_PKT_DATA_DISPLAYMATRIX, &size);
| ^~~~
In file included from remux5.c:50:
/usr/include/libavformat/avformat.h:2170:10: note: declared here
2170 | uint8_t *av_stream_get_side_data(const AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
remux5.c:464:8: warning: ‘av_stream_add_side_data’ is deprecated [-Wdeprecated-declarations]
464 | av_stream_add_side_data(info->outStream,AV_PKT_DATA_DISPLAYMATRIX,data,size);
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libavformat/avformat.h:2140:5: note: declared here
2140 | int av_stream_add_side_data(AVStream *st, enum AVPacketSideDataType type,
| ^~~~~~~~~~~~~~~~~~~~~~~
remux5.c: In function ‘_initOutputContext’:
remux5.c:532:5: warning: ‘av_stream_new_side_data’ is deprecated [-Wdeprecated-declarations]
532 | props = (AVCPBProperties*) av_stream_new_side_data(videoInfo->outStream, AV_PKT_DATA_CPB_PROPERTIES, sizeof(*props));
| ^~~~~
/usr/include/libavformat/avformat.h:2155:10: note: declared here
2155 | uint8_t *av_stream_new_side_data(AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
remux5.c: In function ‘_initEncoder’:
remux5.c:647:9: warning: ‘pix_fmts’ is deprecated [-Wdeprecated-declarations]
647 | if (encoder->pix_fmts)
| ^~
In file included from /usr/include/libavformat/avformat.h:328:
/usr/include/libavcodec/codec.h:215:31: note: declared here
215 | const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~
remux5.c:648:17: warning: ‘pix_fmts’ is deprecated [-Wdeprecated-declarations]
648 | enc_ctx->pix_fmt = encoder->pix_fmts[0];
| ^~~~~~~
/usr/include/libavcodec/codec.h:215:31: note: declared here
215 | const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~
remux5.c:663:17: warning: ‘ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
663 | enc_ctx->ticks_per_frame=dec_ctx->ticks_per_frame;//should be 2!
| ^~~~~~~
In file included from remux5.c:51:
/usr/include/libavcodec/avcodec.h:582:9: note: declared here
582 | int ticks_per_frame;
| ^~~~~~~~~~~~~~~
remux5.c:663:17: warning: ‘ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
663 | enc_ctx->ticks_per_frame=dec_ctx->ticks_per_frame;//should be 2!
| ^~~~~~~
/usr/include/libavcodec/avcodec.h:582:9: note: declared here
582 | int ticks_per_frame;
| ^~~~~~~~~~~~~~~
remux5.c:702:17: warning: ‘ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
702 | enc_ctx->ticks_per_frame=2;
| ^~~~~~~
/usr/include/libavcodec/avcodec.h:582:9: note: declared here
582 | int ticks_per_frame;
| ^~~~~~~~~~~~~~~
remux5.c: In function ‘transcode’:
remux5.c:1514:33: warning: ‘key_frame’ is deprecated [-Wdeprecated-declarations]
1514 | av_log(NULL, AV_LOG_VERBOSE,"%d) decode key: %d (%d) type: %c, pts: %ld time: %.3f frm dur %ld",info->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,pts,fptime,frame->AVFRAME_PKTDURATION);
| ^~~~~~
In file included from /usr/include/libavformat/avformat.h:327:
/usr/include/libavutil/frame.h:485:9: note: declared here
485 | int key_frame;
| ^~~~~~~~~
remux5.c:1514:63: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
1514 | av_log(NULL, AV_LOG_VERBOSE,"%d) decode key: %d (%d) type: %c, pts: %ld time: %.3f frm dur %ld",info->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,pts,fptime,frame->AVFRAME_PKTDURATION);
| ~^
| |
| int
| %ld
remux5.c: In function ‘dumpDecodingData’:
remux5.c:1677:17: warning: ‘key_frame’ is deprecated [-Wdeprecated-declarations]
1677 | av_log(NULL, AV_LOG_INFO,"%d)FRM key: %d(%d) type:%c,pts:%ld time:%.3f\n",streamInfo->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,frame->pts,fptime);
| ^~~~~~
/usr/include/libavutil/frame.h:485:9: note: declared here
485 | int key_frame;
| ^~~~~~~~~
remux5.c:1677:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
1677 | av_log(NULL, AV_LOG_INFO,"%d)FRM key: %d(%d) type:%c,pts:%ld time:%.3f\n",streamInfo->in_codec_ctx->AVCODECCONTEXT_FRAMENUMBER,frame->key_frame,pkt.flags,ptype,frame->pts,fptime);
| ~^
| |
| int
| %ld
cp remux5 ../bin/remux5
make: Leaving directory '/home/ben/.cache/yay/videocut/src/videocut/ffmpeg/src'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "videocut"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: videocut 3.0.4-2 (Tue 21 Jan 2025 09:08:53 +07)
==> Cleaning up...
[sudo] password for ben:
loading packages...
resolving dependencies...
looking for conflicting packages...
Package (1) New Version Net Change
videocut 3.0.4-2 0.83 MiB
Total Installed Size: 0.83 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [------------------------------] 100%
(1/1) checking package integrity [------------------------------] 100%
(1/1) loading package files [------------------------------] 100%
(1/1) checking for file conflicts [------------------------------] 100%
(1/1) checking available disk space [------------------------------] 100%
:: Processing package changes...
(1/1) installing videocut [------------------------------] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Refreshing PackageKit...
(3/4) Removing old packages from pacman cache...
Removing old installed packages...
==> no candidate packages found for pruning
Removing old uninstalled packages...
==> no candidate packages found for pruning
(4/4) Updating the desktop file MIME type cache...
removing untracked AUR files from cache...
:: Cleaning (1/1): /home/ben/.cache/yay/videocut
Removing videocut3.0.4.tar