Package Details: handbrake-full-cli 1.8.2-1

Git Clone URL: https://aur.archlinux.org/handbrake-full.git (read-only, click to copy)
Package Base: handbrake-full
Description: Multithreaded video transcoder (CLI)
Upstream URL: https://handbrake.fr/
Licenses: GPL-2.0-only
Conflicts: handbrake-cli
Provides: handbrake-cli
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 21
Popularity: 0.139023
First Submitted: 2020-08-18 04:32 (UTC)
Last Updated: 2024-08-11 08:47 (UTC)

Dependencies (47)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

onurmercury commented on 2023-09-15 15:01 (UTC) (edited on 2023-09-15 15:03 (UTC) by onurmercury)

You can resolve this FFmpeg build error

| src/libavutil/hwcontext_vulkan.c:363:7: error: 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'?
|   363 |     { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
|       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |       VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME
| src/libavutil/hwcontext_vulkan.c:364:7: error: 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME'?
|   364 |     { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
|       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |       VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME

with this patch: https://patchwork.yoctoproject.org/project/oe-core/patch/20230225001056.3243739-1-dmitry.baryshkov@linaro.org/

random-tm commented on 2023-08-11 16:37 (UTC)

As a note for anyone having issues building this package. There was a change in binutils which caused a compilation issue on one of the dependencies for ffmpeg used by handbrake.

Rolling binutils back to 1.40 should resolve the compilation issue. Please see this discussion on the handbrake git for more information: https://github.com/HandBrake/HandBrake/discussions/5264

You'll want to undo this rollback eventually as it's already been fixed, but is just not available on latest ffmpeg yet. https://trac.ffmpeg.org/ticket/10405#comment:5

FabioLolix commented on 2023-07-01 16:48 (UTC)

@ShalokShalom about your OOD flag; handbrake don't use the last SVT-AV1 version but what they decided to use

FabioLolix commented on 2023-07-01 16:46 (UTC)

Forgot to comment here that this is building fine with devtools (extra-x86_64-build)

RAMChYLD commented on 2023-03-16 10:20 (UTC) (edited on 2023-03-18 18:57 (UTC) by RAMChYLD)

switched to vulkan-headers-git and it still won't compile, same errors.

EDIT: Did a lot of reading up on this. Turns out it's because Vulkan /deprecated/ those functions and as a result they have been removed from vulkan-headers. And those functions are needed by FFMPEG 5.1.2 that Handbrake uses. So idiotically, downgrading to an older version of vulkan-headers is the way to fix it.

Handbrake devs says to just ignore 1.6.1 if you're affected and just wait for the next version which will be refactored to use FFMPEG 6. Alternatively downgrade to vulkan-headers 1.3.236 or older temporarily to build (downgrade detects that Arch has 1.3.235 in it's archives). If you're using Yay you need to issue makepkg on Handbrake manually to avoid yay re-upgrading vulkan-headers.

groan It's never that simple, isn't it?

EDIT 2: Different problem: Now ranlib complains that libavcodec.a is malformed and fails...

ranlib: /home/leecy/.cache/yay/handbrake-full/src/handbrake/build/contrib//lib/libavcodec.a: malformed archive
make[1]: *** [ffbuild/library.mak:120: install-libavcodec-static] Error 1
make[1]: Leaving directory '/home/leecy/.cache/yay/handbrake-full/src/handbrake/build/contrib/ffmpeg/ffmpeg-5.1.2'
make: *** [../contrib/ffmpeg/module.rules:2: contrib/ffmpeg/.stamp.ffmpeg.install] Error 2
make: *** Waiting for unfinished jobs....

FabioLolix commented on 2023-03-14 17:35 (UTC)

Because vulkan-headers-git is much older, version 1.3.238.

vulkan-headers-git as a VCS pkgbuild pull the latest version not what you see in pkgver=

This pkgbuild have builded in the last days, 3 days ago I pushed the rebuild for libvpx here after building successfully on my pc

RAMChYLD commented on 2023-03-14 17:33 (UTC) (edited on 2023-03-14 17:33 (UTC) by RAMChYLD)

@quietvoid is there any fix for this? Because vulkan-headers-git is much older, version 1.3.238. I'm assuming I need a version of vulkan-headers that's newer than 1.3.240 to compile handbrake successfully?

quietvoid commented on 2023-02-19 17:53 (UTC)

@RyanHakurei, it is because FFmpeg 5.1.2 doesn't build with the current vulkan-headers version, 1.3.240.

RyanHakurei commented on 2023-02-17 23:54 (UTC)

Is there something wrong with the PKGBUILD? No matter what this package always errors out with

libavutil/hwcontext_vulkan.c:363:7: error: ‘VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME’ undeclared here (not in a function); did you mean ‘VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME’?
  363 |     { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME
libavutil/hwcontext_vulkan.c:364:7: error: ‘VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME’ undeclared here (not in a function); did you mean ‘VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME’?
  364 |     { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME
make[1]: *** [ffbuild/common.mak:81: libavutil/hwcontext_vulkan.o] Error 1

Yet, I can build manually from a Github clone just fine.

FabioLolix commented on 2023-01-23 20:39 (UTC)

@quentinhill there was a bug that has been fixed now https://9to5linux.com/handbrake-1-6-1-fixes-intel-qsv-hardware-detection-on-linux-adds-missing-translations please test the last version