Compiling latest HandBrake (15.0 and current)
by kgha from LinuxQuestions.org on (#6GKQ7)
I noticed that upgrading HandBrake to latest version (1.7.1) was not as easy as just bumping the SBo script's version number (maybe because Handbrake switched to meson).
Couldn't find out how to edit the buildscript properly, so tried manual compiling with configure parameters picked from the SBo script. Building worked fine both on Slackware-15.0 and -current. Haven't tried all functions, but dvd ripping works, as does adding subtitles.
Here's what I did:
Code:./configure \
--prefix=/usr \
--enable-fdk-aac \
--enable-nvenc \
--enable-vce \
--enable-x265 \
--enable-qsv \
cd build
make
make installActually I ran make install DESTDIR=/<installdir> and then made a .txz package with makepkg (which is what I usually do when building manually).
There might be a more elegant way, and of course a proper SBo script is needed.
Dependencies are (as with previous versions):
libass, x264, x265, numactl and (optional) libdvdcss
Couldn't find out how to edit the buildscript properly, so tried manual compiling with configure parameters picked from the SBo script. Building worked fine both on Slackware-15.0 and -current. Haven't tried all functions, but dvd ripping works, as does adding subtitles.
Here's what I did:
Code:./configure \
--prefix=/usr \
--enable-fdk-aac \
--enable-nvenc \
--enable-vce \
--enable-x265 \
--enable-qsv \
cd build
make
make installActually I ran make install DESTDIR=/<installdir> and then made a .txz package with makepkg (which is what I usually do when building manually).
There might be a more elegant way, and of course a proper SBo script is needed.
Dependencies are (as with previous versions):
libass, x264, x265, numactl and (optional) libdvdcss