0% found this document useful (0 votes)
523 views63 pages

Handbrake Fedora

This document discusses HandBrake, MakeMKV, and libdvdcss packages for video transcoding and DVD ripping on Fedora and CentOS systems. It provides instructions for installing the supporting repository, which contains these packages and their dependencies. The packages allow converting video files to modern codecs while preserving metadata. MakeMKV can decrypt DVDs and Blu-Rays without intermediate conversion by using libdvdcss and libmmbd.

Uploaded by

Tini_888
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
523 views63 pages

Handbrake Fedora

This document discusses HandBrake, MakeMKV, and libdvdcss packages for video transcoding and DVD ripping on Fedora and CentOS systems. It provides instructions for installing the supporting repository, which contains these packages and their dependencies. The packages allow converting video files to modern codecs while preserving metadata. MakeMKV can decrypt DVDs and Blu-Rays without intermediate conversion by using libdvdcss and libmmbd.

Uploaded by

Tini_888
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 63

HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.

org/handbrake/

negativo17

HANDBRAKE, MAKEMKV AND


LIBVDVDCSS
This repository contains HandBrake with supporting programs MakeMKV and
libdvdcss packages for Fedora distributions. Along with HandBrake, the same
repository is used to host the CUDA and FFMpeg enabled Blender and a FFMPeg
binary compiled with most of the possible options. Im not able to provide sepa
rate repositories for them as either you have a full blown multimedia collection
with each component strictly tied to each other, or you just have the plain Fe
dora repositories with no license/patent encumbered options.

None of these packages can be distributed inside the main Fedora repositories
as they are presented here due to patent and licensing issues or simply be
cause they are coupled with non open source software.

This repository requires that the RPMFusion repository be enabled on your sys
tem if youre on Fedora and that the EPEL one be enabled if youre running
CentOS/RHEL 6.

These packages try to comply as maximum to the Fedora Packaging Guide


lines; which means they have debuginfo packages, default Fedoras GCC com
pile time options (where possible) and standard locations for binaries, data and
docs.

Supported Fedora/CentOS/RHEL distributions:

Fedora 22 i686/x86_64
Fedora 23 i686/x86_64
CentOS/RHEL 6 i686/x86_64

1 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

CentOS/RHEL 7 i686/x86_64

Not all distributions are on par regarding features and packages, lets say most
of the development goes on to the latest Fedora release due to it being my
daily desktop.

HandBrake, MakeMKV and libdvdcss


HandBrake HandBrake is a tool for converting video from nearly any format to
a selection of modern, widely supported codecs. MakeMKV is a one-click solu
tion to convert video into free and patents-unencumbered format that can be
played everywhere. It converts the video clips from proprietary (and usually en
crypted) disc into a set of MKV les, preserving most information but not
changing it in any way. Additionally MakeMKV can instantly stream decrypt
video without intermediate conversion and can decrypt Blue Ray discs and
protected DVD discs. libdvdcss is a support library designed for accessing DVDs
without having to bother about the decryption.

By the combination of these 3 packages any video ti


tle can be ripped or transcoded without problems.

Additional libraries that are normally fetched during


HandBrake compilation have been pre downloaded
and are shipped in the source rpm. This to avoid un
natural behaviour when compiling packages with Fe
dora tools such as mock or Koji.

HandBrake is made of two separate packages; HandBrake-gui and


HandBrake-cli. The former being the GTK main GUI interface, and the latter the
command line program. MakeMKV contains both graphical and command line
interfaces into one package.

Fedora ships the latest HandBrake with the GTK 3 interface enabled, while Cen
tOS/RHEL 6 version is at 0.9.8; as it is the last version available that still builds
with GTK 2.20 as shipped in the distribution.

2 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

HandBrake Bundled libraries


Historically, HandBrake has always linked statically the libraries required by the
program. Since version 0.9.9 theres the option to have them as external li
braries and link them to the main executable. This does not mean thought that
they can be used straight from Fedora repositories; some have restrictive li
censes, some are forked and some do not contain the required patches for
HandBrake.

All the libraries that can be linked are now linked from the main repositories,
while the rest is left as bundled. Still left as bundled libraries inside the build
due to versioning/patches are the following modules (libav is a fork of mpeg):

CentOS/RHEL 6: faac, mp4v2, mpeg, libbluray, libdca


Fedora 22: fdk-aac, x265
Fedora 23+, CentOS/RHEL 7: libav

The CentOS/RHEL 6 builds still bundle libbluray and mpeg, as the packages
currently in EPEL 6 are too old. Theres an eort for updating libbluray to the
same Fedora version, but the current RPMFusion maintainers dont want to
grant a buildroot override for MPlayer rebuilds, even if the MPlayer maintainer
is willing to rebuild it.

Installing HandBrake/MakeMKV/libdvdcss
To install the repository on a supported Fedora 22+ distribution, run as root the
following command:

dnf config-manager --add-repo=http://negativo17.org/repos/fedora-handbrake.repo

To install the repository on CentOS/RHEL:

yum-config-manager --add-repo=http://negativo17.org/repos/epel-handbrake.repo

Then, to install the HandBrake packages (as an example both the graphical in
terface and the command line tool), perform the following commands:

3 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

yum -y install HandBrake-gui HandBrake-cli

For MakeMKV:

yum -y install makemkv

For libdvdcss:

yum -y install libdvdcss

Please note that the 64 bit MakeMKV tarballs contain a 32 bit binary. The binary
is required by the main MakeMKV program (makemkvcon) for proper operation
and comes only in binary format. This means that the 64 bit MakeMKV package
will pull in the 32 bit mmtdsdec and associated glibc packages; which in a nor
mal 64 bit desktop system are not guaranteed to be installed:

rpm -q --whatrequires mmdtsdec


makemkv-1.9.7-1.fc23.x86_64
$ rpm -ql mmdtsdec
/usr/bin/mmdtsdec
/usr/share/doc/mmdtsdec
/usr/share/doc/mmdtsdec/eula_en_linux.txt
$ rpm -ql mmdtsdec
/usr/bin/mmdtsdec
/usr/share/doc/mmdtsdec
/usr/share/doc/mmdtsdec/eula_en_linux.txt
$ file /usr/bin/mmdtsdec
/usr/bin/mmdtsdec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, int

Registering MakeMKV to avoid expiration


Please use the provided beta registration key published by the developers:

http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053

After starting MakeMKV just press the Register button and paste the provided
code.

4 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Playing protected Blu-Ray discs


Starting with version 1.8.5, MakeMKV comes with the libmmbd library. This li
brary provides a simple API that any application can use to decrypt M2TS/SSIF
les from a Blu-Ray disc. The library is licensed under the open-source LGPL li
cense; although the way the library works, it launches a MakeMKV instance in
background and communicates with MakeMKV in order to get decryption keys;
so a working MakeMKV installation is required for the library to function. The
libmmbd library is designed to be updated very infrequently all the logic is in
side MakeMKV (in makemkvcon), and libmmbd is just a proxy. The libmmbd source
code is part of MakeMKV oss linux package.

Also, libmmbd emulates two popular open-source libraries, libaacs and


libbdplus. What this means, that after a one-time setup, any application that
uses libbluray/libaacs for decryption will be able to open a protected Blu-Ray
disc, as long as MakeMKV is installed. Most notable application that uses
libbluray is Videolan VLC player.

5 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

The libbluray library, starting from version 0.5.0 supports setting two environ
ment variables to ease libmmbd loading, so the MakeMKV package already con
tains whats required for the override (of course adjusted for 32/64 bit environ
ments):

$ cat /etc/profile.d/makemkv.sh
export LIBBDPLUS_PATH=/usr/lib64/libmmbd.so.0
export LIBAACS_PATH=/usr/lib64/libmmbd.so.0

This is equivalent to set an explicit library override in your library directory:

ln -sf libmmbd.so.0 libaacs.so.0


ln -sf libmmbd.so.0 libbdplus.so.0

For additional details see the original announcement and how to page on
MakeMKVs forums.

To debug such a setup, you can use the variable MMBD_TRACE prepended to the
command you want to run. For example, to decrypt and print information from
a Blu-Ray disc:

MMBD_TRACE=1 bd_info /dev/sr0

Or to make sure MakeMKV is doing its part for VideoLan:

MMBD_TRACE=1 vlc

Fully edged FFMpeg binaries


It started due to my personal usage with support for
NVENC, the hardware encoding support for Nvidia
video cards, but due to popular request the custom
built FFMpeg package that drops in as a replacement
for RPMFusion enables linking and support for all the
codecs/encoders/decoders that would result in an
unredistributable binary.

The following codecs/encoders/decoders/transports

6 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

have been enabled:

VP8 and VP9 de/encoding


WebP encoding
AAC (Fraunhofer, LibVO and other variants) de/encoding
OpenAL 1.1 capture support
BluRay reading
AMR-WB de/encoding
AMR-NB de/encoding
RTMP[E] support
OpenH264 encoding (H.264 Cisco variant)
OpenGL rendering
SSH transport
Fontcong/fribidi text support
CDIO Audio CD support
NVENC (Nvidia H.264/265 GPU hardware encoder)
QSV (Intel Quick Sync Video H.264/265 CPU hardware encoder)
HE-AAC+ (3GPP AAC+ High Eciency Advanced Audio Codec v2 encoder)

This sobstitutes the FFMPeg binaries that were provided as part of the CUDA
enabled programs, as it is now tied to all the other multimedia libraries avail
able in this repository. The support for Nvidia H.264/H.265 hardware encod
ing/decoding and Intel Quick Sync Video is enabled here as well and the re
quired packages are now installed through the use of RPM weak dependencies.

To install the main FFMPeg binary and enable transcoding of practically every
thing, proceed as you would with the normal FFMpeg package from RPMFusion:

dnf install ffmpeg

Then after installing, you can see what options have been enabled at compile
time by issuing one of the following commands:

ffmpeg -formats
ffmpeg -devices
ffmpeg -codecs
ffmpeg -decoders
ffmpeg -encoders

7 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

The package has a dierent Epoch so it is not overwritten by normal updates.


The idea is to have all the possible codecs/transports supported out of the box,
so also expect HEVC kvazaar (H.265), CIFS transport, and other stu, as soon
as I have more time.

CUDA/FFMpeg enabled Blender


The Blender packages contained herein enable all
the possible build options including support for the
RedCode image formats (for the old Red line of pro
fessional cameras), CUDA and FFMPeg.

Installing Blender works exactly like with the normal


package from Fedora, except that the package will
pull in all required libraries to enable FFMpeg sup
port:

dnf install blender

If you have an Nvidia video card supported by the latest drivers and have the
Nvidia repository enabled, you can install blender with the following command
and get the benet of using your GPU(s) for rendering.

dnf install blender-cuda nvidia-driver

This will pull in CUDA support for the installed Nvidia driver as well as the CUDA
kernels for the various cards. Remember to manually load the nvidia-uvm mod
ule (or simply reboot) prior to starting Blender.

CUDA devices will then be selectable in the System pane of the User Prefer
ences in the main Blender interface as depicted in the Screenshot below.

8 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Bugs
The address for contacting me is in the packages changelog, otherwise leave a
comment in the post, Ill do my best to reply to everyone.

SHARE THIS:

Print Google LinkedIn Facebook Twitter Email Reddit Pocket

Pinterest Tumblr

LIKE THIS:

Loading...

170 THOUGHTS ON HANDBRAKE, MAKEMKV AND LIBVDVDCSS

JohnD
SEPTEMBER 9, 2013 AT 12:36 PM

2013-09-09 12:34:55 http://negativo17.org/repos/fedora-handbrake.repo


Connecting to 93.152.175.1:8080 failed: Connection refused.

For some reason, the new hosting is refusing access to the repo le.

9 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

slaanesh
SEPTEMBER 9, 2013 AT 1:12 PM

Hello, I think its something local to your site; I have no problem access
ing it from my oce.

aditia.ap
FEBRUARY 19, 2016 AT 12:04 AM

I keep getting this error, from your repo:


https://gist.github.com/aditiapratama/54b4afd2de160cebed25

any workaround to solve this?

slaanesh
FEBRUARY 22, 2016 AT 8:36 PM

Thats some network error.

Ian Pilcher
NOVEMBER 11, 2013 AT 12:42 AM

Something is weird with the 64-bit makemkv package for Fedora 19. It pulls
in the 32-bit version of glibc:

$ sudo yum install makemkv


Loaded plugins: langpacks, show-leaves
Resolving Dependencies
--> Running transaction check
---> Package makemkv.x86_64 0:1.8.5-1.fc19 will be installed
--> Processing Dependency: librt.so.1(GLIBC_2.2) for package: makemkv-1.8.5-1.fc19.x86_64
--> Processing Dependency: librt.so.1 for package: makemkv-1.8.5-1.fc19.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.2) for package: makemkv-1.8.5-1.fc19.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.1) for package: makemkv-1.8.5-1.fc19.x86_64
--> Processing Dependency: libpthread.so.0 for package: makemkv-1.8.5-1.fc19.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: makemkv-1.8.5-1.fc19.x86_64
--> Processing Dependency: libm.so.6 for package: makemkv-1.8.5-1.fc19.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.17-19.fc19 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-19.fc19.i686
--> Running transaction check

10 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

---> Package nss-softokn-freebl.i686 0:3.15.2-2.fc19 will be installed


--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================
Package Arch Version Repository S
================================================================================================
Installing:
makemkv x86_64 1.8.5-1.fc19 fedora-HandBrake
Installing for dependencies:
glibc i686 2.17-19.fc19 updates
nss-softokn-freebl i686 3.15.2-2.fc19 updates

Transaction Summary
================================================================================================
Install 1 Package (+2 Dependent packages)

slaanesh
NOVEMBER 11, 2013 AT 8:39 AM

Unfortunately thats by design. Even the 64 bit package contains a 32 bit


binary from the non-OSS part of MakeMKV:

$ rpm -qvl makemkv | grep bin


-rwxr-xr-x 1 root root 25229512 Sep 19 12:42 /usr/bin/makemkv
-rwxr-xr-x 1 root root 6545248 Sep 19 12:42 /usr/bin/makemkvcon
-rwxr-xr-x 1 root root 63428 Sep 19 12:42 /usr/bin/mmdtsdec
$ file /usr/bin/{makemkv,makemkvcon,mmdtsdec}
/usr/bin/makemkv: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
/usr/bin/makemkvcon: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
/usr/bin/mmdtsdec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linke
$ tar -tzf makemkv-bin-1.8.5.tar.gz | grep bin
makemkv-bin-1.8.5/bin/amd64/
makemkv-bin-1.8.5/bin/amd64/makemkvcon
makemkv-bin-1.8.5/bin/i386/
makemkv-bin-1.8.5/bin/i386/makemkvcon
makemkv-bin-1.8.5/bin/i386/mmdtsdec

I will make a note in the page.

Mads Villadsen
NOVEMBER 16, 2013 AT 2:25 PM

makemkv-1.8.5 no longer works. Could you update the repository to 1.8.6?

11 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224#p606

slaanesh
NOVEMBER 19, 2013 AT 9:10 AM

As you can see from their forum the update to 1.8.6 is severely limited, it
requires mpeg 2.x which is only available in Fedora 20. Theres currently
no way to make MakeMKV 1.8.6 work with FFMpeg 1.x.

Ive update the repository for Fedora 20 yesterday, until the issue is
solved upstream you should just register MakeMKV with the current beta
key that is provided directly by the software house:

http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053

saul
NOVEMBER 25, 2013 AT 3:46 PM

I think the GUI is knocked o. Not there in the EPEL as well as Fedora. I am
on Centos 6.x
http://negativo17.org/repos/HandBrake/fedora-6/x86_64/repodata/re
pomd.xml: [Errno 14] PYCURL ERROR 22 The requested URL returned er
ror: 404 Not Found
Trying other mirror.
Setting up Install Process
No package HandBrake-gui available.
Can you PL put it out some place where I can pick it up .
TYVM
S

slaanesh
NOVEMBER 25, 2013 AT 6:53 PM

I think you should read the repository page. I would say more carefully,
but apparently you did not read it at all.

12 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

You have installed the Fedora repository on CentOS and this will never
work; you have to install the EPEL repository. Have you looked at the
path? Fedora 6
Even if you install the repository on CentOS theres a clear statement
that the HandBrake GUI is not available on CentOS/RHEL 6.x due to
graphical libraries being too old; only the command line interface is avail
able.
As described in the page, the GUI is available for all supported Fedora
releases:

http://negativo17.org/repos/HandBrake/fedora-19/x86_64/

Danie
NOVEMBER 27, 2013 AT 12:50 PM

I need some help, I have installed MakeMKV & Handbrake using repositories
above following the instructions.
When running MakeMKV on any Bluray disc I get the following error:

MakeMKV v1.8.6 linux(x64-release) started


Using direct disc access mode
Evaluation version, 26 day(s) out of 30 remaining
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - AUTHENTICATION FAILUR
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - AUTHENTICATION FAILUR
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - AUTHENTICATION FAILUR
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - AUTHENTICATION FAILUR
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - AUTHENTICATION FAILUR
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - KEY NOT ESTABLISHED'
Error 'Scsi error - ABORTED COMMAND:NO ADDITIONAL SENSE INFORMATION' occurred while issuing SCSI

I also have errors on VLC & Handbrake when trying to read any Bluray disc
as well.
I am running Fedora 20/Mate.
MakeMKV/Handbrake & VLC all work 100% when using a normal DVD.
Do you perhaps have any idea where to start looking for the problem?

slaanesh
NOVEMBER 27, 2013 AT 2:27 PM

13 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Ive just discovered that I made a mistake in version 1.8.6 during packag
ing. The library links of MakeMKV when obsoleting libaacs should be like
the following:

lrwxrwxrwx. 1 root root 23 Nov 27 14:15 /usr/lib64/libaacs.so.0 -> /usr/lib64/


lrwxrwxrwx. 1 root root 23 Nov 27 14:15 /usr/lib64/libbdplus.so.0 -> /usr/lib64
-rwxr-xr-x. 1 root root 26896 Nov 27 14:15 /usr/lib64/libdriveio.so.0
-rwxr-xr-x. 1 root root 503136 Nov 27 14:15 /usr/lib64/libmakemkv.so.1
-rwxr-xr-x. 1 root root 35056 Nov 27 14:15 /usr/lib64/libmmbd.so.0

Im pushing an update in a few moments. In the meanwhile upstream has


created an updated 1.8.6 to x FFMpeg issues; so Ill be pushing 1.8.6
also on Fedora 18, 19 and 20. Can you please make a test with the follow
ing rpm in Fedora 20?

http://negativo17.org/repos/makemkv-1.8.6-2.fc20.x86_64.rpm

Danie
NOVEMBER 27, 2013 AT 2:53 PM

I am getting the following error:

[root@danie-laptop danie]# rpm -q makemkv


makemkv-1.8.6-2.fc20.x86_64
[root@danie-laptop danie]# makemkv
Qt: Session management error: None of the authentication protocols specified are supported

plasmoidia
DECEMBER 2, 2013 AT 3:00 AM

Now both 1.8.5 and the current beta key no longer work (sounds like it
may take a day or two for a new beta key to be posted). Any update on
the 1.8.6 build for Fedora 19?

slaanesh
DECEMBER 3, 2013 AT 12:10 PM

Unfortunately not, I cant make 1.8.6 work in any version of Fedora. It


seems that 1.8.6 is really buggy, even when used with the updated

14 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

1.8.6-cfg01 OSS package:

http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7205
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7266
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7262

The maximum I can get is a stuck process consuming 100% cpu.

plasmoidia
DECEMBER 4, 2013 AT 5:05 AM

Ah, thanks for the info. Well, they posted a new beta key thats good
through the end of January, so Im back working on 1.8.5. Thanks for
building and packaging this! Very handy.

slaanesh
NOVEMBER 27, 2013 AT 4:54 PM

Can you please make another test? Same RPM name in same place:

http://negativo17.org/repos/makemkv-1.8.6-2.fc20.x86_64.rpm

The updated OSS part that is coming in 1.8.7 is broken and breaks the main
binary (which is made by source code + a binary blob); I had to rever the
change.

David Legg
DECEMBER 6, 2013 AT 2:50 PM

Is HandBrake no longer available for Fedora 17?


It is not in the repo any more.

slaanesh
DECEMBER 6, 2013 AT 4:07 PM

No, it is not. Support for it has been removed on July 30th when Fedora 17

15 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

became EOL. In a month also Fedora 18 will be EOL; I will remove the
packages from the repositories when the EOL announcement is made.

http://fedoraproject.org/wiki/End_of_life

David Legg
DECEMBER 6, 2013 AT 4:19 PM

OK, thanks.
Youll want to update the web page too.
Cheers.

slaanesh
DECEMBER 6, 2013 AT 5:31 PM

Thanks, done. It was also missing Fedora 20.

dman
DECEMBER 22, 2013 AT 6:42 AM

I have the libdvdcss2.x86_64 package from AtRPMs installed, per mjwireds


Personal Fedora Install Guide(s) at http://www.mjmwired.net/resources/ (I
am on Fedora 20 release (beta?), he doesnt have F20 guide up yet, but
F19 with the right mods to commands works ne). The version in the
AtRPMs repo is slightly later than you have, they have 1.2.13-7.fc20 vs your
1.2.13-2.fc20. However since their package is labelled libdvdcss2 and
yours is libdvdcss there is not a warning of conict from yum until it tries
to do the transaction test:

Running transaction test


Transaction check error:
le /usr/lib64/libdvdcss.so.2.1.0 from install of libdvdcss-
1.2.13-2.fc20.x86_64 conicts with le from package libdvd
css2-1.2.13-7.fc20.x86_64

Can you add in a satises requirement like an or statement in a SPEC le?

16 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Maybe like this in Handbrake:

Requires: libdvdcss >= 1.2.13 || libdvdcss2 >= 1.2.13

I am not sure that would work, I have not had to do that before in my RPM
builds. Or maybe you could do a provides in the libdvdcss package, since
you appear to have the same codebase:

Provides: libdvdcss libdvdcss2

I am not sure this would work well either, it might just conict with the
other package in AtRPMs.

slaanesh
DECEMBER 23, 2013 AT 11:26 AM

I can add it, but to avoid disrupting other dependencies relationship I


need to know if there are any dependencies on the libdvdcss2 package in
ATrpms. Is it pulled in by any other package? For the moment, my sugges
tion is to remove the ATrpms package, I have put a dependency on
libdvdcss inside HandBrake so it is able to read protected DVDs.

dman
FEBRUARY 11, 2014 AT 2:26 AM

Sorry for the late reply, life got in the way.

I have uninstalled the libdvdcss2 from ATRPMs. I found that VLC was the
main cause for it being installed, needed to play protected DVD content
as you said. I installed the one from your repo, and VLC can use it to
play the protected content. There is no specic dependency on the lib,
if it is there VLC uses it. I suppose other system players use it too but I
have not tested them.

I now am installing Handbrake from the repo and notice the following (I
uninstalled libdvdcss earlier in testing VLC):

17 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

======================================================================
Package Arch Version Repository Size
======================================================================
Installing:
HandBrake-cli x86_64 0.9.9-9.fc20 fedora-HandBrake 3.4 M
HandBrake-gui x86_64 0.9.9-9.fc20 fedora-HandBrake 3.9 M
makemkv x86_64 1.8.8-1.fc20 fedora-HandBrake 6.9 M
Installing for dependencies:
glibc i686 2.18-12.fc20 updates 4.2 M
libdvdcss x86_64 1.2.13-2.fc20 fedora-HandBrake 53 k
libmkv x86_64 0.6.5.1-4.fc20 fedora 26 k
nss-softokn-freebl i686 3.15.4-1.fc20 updates 183 k

Transaction Summary
======================================================================
Install 3 Packages (+4 Dependent packages)

Why is a 32-bit GNU C Library needed? It appears in the dependencies


that makemvk is calling for a lot of libs that state (GLIBC_2.0), _2.1),
and _2.2). Not that I wont install the 32-bit C libs, but it just seemed
odd to me that a 64-bit labelled package would be calling a 32-bit LibC.

slaanesh
FEBRUARY 11, 2014 AT 8:43 AM

Unfortunately the MakeMKV package contains a 32 bit binary


(/usr/bin/mmdtsdec) that is required when extracting DTS audio, it is
noted at the end of the installation section above. The current RPM
packages do not allow to create subpackages with an i686 architec
ture, only a noarch package can be generated; so for now its bundled
in the main package.

I would need to disassemble the binary tarball, create two separate


packages and create a dependency on the mmtdsdec.i686 package
from the main MakeMKV package.

martinkg
DECEMBER 22, 2013 AT 11:17 AM

will you provide a fedora package for makemkv again, if there is a function
ing package available ?

18 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

slaanesh
DECEMBER 23, 2013 AT 11:23 AM

Hello, MakeMKV has always been available. Add the repository for your
distribution and install it through yum.

martinkg
DECEMBER 23, 2013 AT 11:37 AM

Hi,
makemkv-1.8.7 didn t work any longer with f19 and f20.
see: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7370

slaanesh
DECEMBER 23, 2013 AT 12:02 PM

Thanks for pointing this out, Ive added a note to the MakeMKV page. I
dont have a Blue Ray drive to test (next in the list for Christmas) so I
was not aware of this bug. I use it mainly to rip DVDs. The bug
though, is not in MakeMKV but instead in the kernel, so this has noth
ing to do with MakeMKV; if the kernel package is xed, the binaries
here will work as expected.

martinkg
DECEMBER 23, 2013 AT 12:16 PM

ok youre right, I guess its a problem with glibc, not with kernel, and
only wiht
bluray.

martinkg
DECEMBER 31, 2013 AT 1:48 PM

Hello,

please could you change the note on your Homepage. It a problem

19 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

when
building MakeMKV with a newer version of OpenSSL than openssl-
1.0.1e-4.fc20.x86_64

http://www.makemkv.com/forum2/viewtopic.php?p=31120#p31120

the problem can be solved by adding the following line above %con
gure

CFLAGS="$RPM_OPT_FLAGS -DOPENSSL_NO_EC"
%configure CPPFLAGS="%{optflags} -I%{_includedir}/ffmpeg"

slaanesh
DECEMBER 31, 2013 AT 3:28 PM

Ive prepared a slightly dierent build yesterday (its out of the


repository) and asked for testing to some people who own BluRay
drives:

http://negativo17.org/repos/HandBrake/fedora-20/x86_64/makemkv-
1.8.7-2.fc20.x86_64.rpm

Can you please conrm that its working ne and the SCSI errors are
not present? I will push it to the repository and update the page
later today.

Danie
DECEMBER 31, 2013 AT 4:49 PM

I have just tested it on my laptop and it is now working for me with


out any SCSI errors. Thanks a lot of xing it.

Peter Oliver
DECEMBER 22, 2013 AT 5:09 PM

I have HandBrake-gui-0.9.9-7.fc19.i686, and the rpm is missing the


post-install scripts to set up the icon cache, etc.:

20 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

$ rpm -q --scripts HandBrake-gui


(no output)

slaanesh
DECEMBER 23, 2013 AT 11:39 AM

Thanks for noticing, by mistake Ive added the %post, %postun and
%posttrans sections to the base package instead of the gui subpackage.
Update coming!

martinkg
DECEMBER 31, 2013 AT 5:37 PM

http://negativo17.org/repos/HandBrake/fedora-20/x86_64/makemkv-
1.8.7-2.fc20.x86_64.rpm

works ne on Fedora 20 x86_64 with bluray, no more SCSI errors are


present, works as expected.

slaanesh
DECEMBER 31, 2013 AT 5:50 PM

Thanks to everybody for feedback! Will update repository and pages tomor
row!

Happy new year to everybody!

Richard Esplin
JANUARY 21, 2014 AT 4:14 AM

This is a great resource. Thank you very much for providing it!

Mikey
JANUARY 30, 2014 AT 5:40 PM

I updated to all the latest packages. Im getting the SCSI error again. Any

21 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

one else notice this with the latest FC20 packages? Tried un-installing/re-in
stalling makemkv but no luck.

Happening on previously ok Blu-ray too.

slaanesh
FEBRUARY 11, 2014 AT 9:04 AM

Hello, have you tried with the latest 1.8.8 version?

Mikey
FEBRUARY 11, 2014 AT 3:59 PM

Yes the new 1.8.8 version works great! Thanks.

Gerhard
MARCH 15, 2014 AT 10:57 AM

Hello

and rst of all a big, big thank you for your eorts to make the popular
HandBrake available for Fedora-users in a very easy way. Im using both,
the cli- and the gui-version and HandBrake 0.9.9-9 was running ne on Fe
dora 20 (64bit). Updated yesterday to 0.9.9-10 and now I get a segmenta
tion fault as soon as the encoding-process starts. The gui-version opens
and load the video I want to encode, but when I hit the start encoding-
button HandBrake crashes immediately.

poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12,


events=POLLIN}, {fd=17, events=POLLIN}, {fd=14, events=POLLIN}], 5,
0) = 2 ([{fd=4, revents=POLLIN}, {fd=14, revents=POLLIN}])
read(4, \2, 16) = 8
write(4, \1, 8) = 8
write(16, [10:52:08] * video track\n, 26) = 26
write(18, [10:52:08] * video track\n, 26) = 26
+++ killed by SIGSEGV +++

22 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Speicherzugrisfehler (= Segmentation fault in english)

If you need any further informations, please let me know and thanks again!

slaanesh
MARCH 15, 2014 AT 12:50 PM

This seems related to the latest libdvdnav/libdvdread change, but the


crash happens also on some non-dvd source les. I will push an update
ASAP (currently away from computer/internet). Thanks for reporting.

Doug
MARCH 16, 2014 AT 6:09 PM

The crash happens from the CLI as well if I select the Normal preset.

HandBrakeCLI preset Normal -i /share/DVDs/SHREK_2_US_16X9/ti


tle02.mkv -o ./title02.mkv

..
..
..

[11:51:45] + loose anamorphic


[11:51:45] + storage dimensions: 720 * 460, mod 2
[11:51:45] + pixel aspect ratio: 32 / 27
[11:51:45] + display dimensions: 853 * 460
[11:51:45] + encoder: H.264 (x264)
[11:51:45] + x264 preset: veryfast
[11:51:45] + h264 prole: main
[11:51:45] + h264 level: 4.0
[11:51:45] + quality: 20.00 (RF)
[11:51:45] * audio track 1
[11:51:45] + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[11:51:45] + bitrate: 448 kbps, samplerate: 48000 Hz
[11:51:45] + mixdown: Dolby Pro Logic II

23 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

[11:51:45] + encoder: AAC (faac)


[11:51:45] + bitrate: 160 kbps, samplerate: 48000 Hz
[11:51:45] reader: rst SCR 7470 id 0x0 DTS -2970
[11:51:45] encx264: min-keyint: 24, keyint: 240
[11:51:45] encx264: encoding with stored aspect 32/27
[11:51:45] encx264: Encoding at constant RF 20.000000
x264 [warning]: psnr used with psy on: results will be invalid!
x264 [warning]: tune psnr should be used if attempting to benchmark
psnr!
x264 [info]: using SAR=32/27
Segmentation fault (core dumped)

slaanesh
MARCH 17, 2014 AT 9:20 AM

Fixed in version 0.9.9-11, now in the repository. It was not related to


the libdvdnav/libdvdread changes. Please let me know of any other is
sues.

Doug
MARCH 17, 2014 AT 10:19 AM

Looks good (checked only with the CLI thus far.)

Thanks!

jfc
MARCH 17, 2014 AT 3:40 AM

The latest version of Handbrake from 3-14 is crashing here:

0x0000003aeeb5cc15 in __memcmp_sse4_1 () from /lib64/libc.so.6


(gdb) where
#0 0x0000003aeeb5cc15 in __memcmp_sse4_1 () from /lib64/libc.so.6
#1 0x00000000009d364e in x264_cqm_init ()
#2 0x00000000009a0eb4 in x264_encoder_open_130 ()

24 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

#3 0x000000000049f360 in encx264Init ()
#4 0x00000000004989ef in work_func ()
#5 0x00000000004a11ab in hb_thread_func ()
#6 0x0000003aef207f33 in start_thread () from /lib64/libpthread.so.0
#7 0x0000003aeeaf4ded in clone () from /lib64/libc.so.6

slaanesh
MARCH 17, 2014 AT 9:19 AM

Fixed in version 0.9.9-11, now in the repository. It was not related to the
libdvdnav/libdvdread changes. Please let me know of any other issues.

jfc
MARCH 18, 2014 AT 1:02 AM

Thanks for the updateall is working just ne again!

jg
MARCH 21, 2014 AT 6:31 AM

I had the same problem as jfc. After updating and rebooting, I got Aborted
(core dumped) when scanning a DVD. I xed the issue by going to Prefer
ences and unchecking Use dvdnav in the Advanced tab. Video is encod
ing without a crash. Im on an AMD FX6300 machine (just in case this has
something to do with SSE4.

slaanesh
MARCH 28, 2014 AT 5:52 PM

Hello, Ive updated the builds (currently uploading). They contain a libd
vdnav that has been updated with an HandBrake patch that has been ac
cepted upstream and will be contained in libdvdnav 5.0.0.

It xed the crash for me on my only DVD where I could reproduce it.
There is a fairly recent Debian bug (still unresolved) that seems to indi
cate the bug itself is in libdvdnav and not in HandBrake support for the li

25 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

brary:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738811

hakayova
APRIL 4, 2014 AT 7:35 PM

Thanks a bunch for maintaining the HandBrake package for Fedora users!

I have Handbrake 0.9.9-12 on a Fedora 20 x86_64 system that I used with


compiled MakeMKV (the latest version, forgot the number and typing this
from my work computer). I have this particular blueray movie ripped in a
folder that I am trying to encode with HandBrake with my default settings.
The encode starts and continues up until 1.14%, stalls there and then
crashes with segmentation fault. I tried running ghb -x from console, with
essentially no useful additional information. I tried disabling libdvdnav from
preferences, again with no change in behavior. On the other hand I can
watch the movie without any problems up until 20% or so from the unen
coded mkv le in the rip folder; therefore I dont think the source mkv le is
the problem. Do you have any suggestions or pointers for me?

hakayova
APRIL 10, 2014 AT 6:05 PM

I am sorry to reply to my own post, but I downloaded the source code of


HandBrake (6160 svn) today and compiled it. It does not crash anymore
and does the job. Therefore, I think the current rpm package for Fedora
20 may be defective, probably not due to a packaging defect, but due to
a problem in the code. This is a pure speculation on my part, since I am
happy to admit that I dont have a clue :). I just wanted to inform you all.

Thanks.

RobertC
APRIL 12, 2014 AT 3:42 AM

26 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

I have had the same issue; my encode goes to 1% or so and crashes


with a seg fault. It occurs on 5 dierent Blu-ray and DVD rips, so it looks
like it is something in the 0.9.9-12 version and not a particular Blu-ray
source. I am also on Fedora 20 x86_64 so it may be some interaction
with Fedora 20 64 bit and the new build. I was also able to download
the source code (6161 svn), compile it, and it works ne.

Rudy Rodriguez
APRIL 28, 2014 AT 7:45 PM

Same issue on Fedora 20 with the latest version from your repo.

Apr 27 09:25:25 pepwul81385 kernel: [ 1411.593461] ghb[2822]: segfault


at 18 ip 00007f85bee83c5c sp 00007f858d7fd940 error 4 in libav
codec.so.55.39.101[7f85beabe000+6a1000]
Apr 27 09:25:25 pepwul81385 kernel: ghb[2822]: segfault at 18 ip
00007f85bee83c5c sp 00007f858d7fd940 error 4 in libav
codec.so.55.39.101[7f85beabe000+6a1000]

Does this when starting to process a blu-ray rip .mkv le.

Please email me with additional info you need.

Thanks

mianosm
JUNE 1, 2014 AT 4:08 PM

Also experiencing the same 55.39.101 segfault due to libavcodec.so:

[1522295.520438] ghb[16604]: segfault at 18 ip 00007f077f1c6c5c sp


00007f0742d59900 error 4 in libav
codec.so.55.39.101[7f077ee01000+6a1000]

Thanks very much for maintaining this package!

27 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Rudy Rodriguez
JUNE 2, 2014 AT 2:46 PM

Also getting a segfault using the latest .svn build. Did the quick com
pile.

Joe
AUGUST 15, 2014 AT 5:37 AM

The latest version from 8-6 is dumping the following on startup:

ghb
ghb: Symbol `vpx_codec_vp9_dx_algo has dierent size in shared object,
consider re-linking
ghb: Symbol `vpx_codec_vp8_cx_algo has dierent size in shared object,
consider re-linking

When selecting a le to convert it crashes

slaanesh
AUGUST 17, 2014 AT 1:29 PM

Can you try the latest build Im uploading now (svn6304)?

Hal
AUGUST 23, 2014 AT 2:19 PM

I am on Fedora 20 x64 and HandBrake GUI (svn6304) not longer works


properly using dvdnav. It worked in the recent past. I cannot pinpoint ex
actly when it began failing. If Use dvdnav (instead of libdvdread is se
lected under Preferences -> Advanced tab, HandBrake reads the DVD,
reaches the last title in the disk and then spontaneously closes. No error
message is displayed before closure. If Use dvdnav (instead of libdvdread
is *not* selected then the faiure behavior does not present and HandBrake
performs normally.

28 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

slaanesh
AUGUST 23, 2014 AT 11:40 PM

I cant reproduce it here, all the DVDs I have tried are scanned succesfully
with libdvdnav version 5. One thing you could try (I doubt it will solve any
issue) is to downgrade libdvdnav to the bundled Fedora 20 version; but I
doubt it will solve any issue.

HandBrake developers left the ag to use libdvdread for a reason.

beckolamun
SEPTEMBER 1, 2014 AT 12:39 AM

I am having the same issue as Hal. This is the issue I described in the
repository thread.

I wonder if recompiling libdvdnav from srpm would help?

slaanesh
SEPTEMBER 1, 2014 AT 3:53 PM

libdvdnav is already recompiled from source, and HandBrake has been


linked to it. Version 5.0.1 of the library has been released and it contains
a few xes:

http://upstream-tracker.org/changelogs/libdvdnav/5.0.1/changelog.html

I will update it soon; it might x your issue.

Hal
SEPTEMBER 1, 2014 AT 11:49 PM

The most recent HandBrake update to Fedora 20 corrected the behavior.

slaanesh

29 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

SEPTEMBER 2, 2014 AT 3:29 PM

Good news! Thanks for feedback!


Both libdvdnav and HandBrake have been updated.

beckolamun
SEPTEMBER 3, 2014 AT 5:37 PM

Thanks!

I will give the new version a whirl too!

beckolamun
SEPTEMBER 8, 2014 AT 6:18 PM

New version works much better. Thanks!

Michael
SEPTEMBER 10, 2014 AT 4:18 PM

Anyone else having problems with sub-titles always being burn-in.

* subtitle track 1, English (track 2, id 0x2) Picture [VOBSUB] -> Ren


der/Burn-in

Some update back around Aug, seems theyre no longer:

* subtitle track 1, English (track 3, id 0x3) Picture [VOBSUB] -> Passthrough

slaanesh
SEPTEMBER 28, 2014 AT 4:36 PM

Might this be related to your subtitle issue?

https://trac.handbrake.fr/browser/trunk/contrib/mpeg/A08-movenc-un
break-sbtl.patch?rev=6420

30 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Im rebuilding the package now.

chaos
SEPTEMBER 17, 2014 AT 4:23 PM

MakeMKV does not appear in the repository. Was this on purpose?

slaanesh
SEPTEMBER 17, 2014 AT 6:17 PM

I see it in all repositories:

$ find . -name "*makemkv*" | sort


./epel-6/debuginfo/makemkv-debuginfo-1.8.13-1.el6.i686.rpm
./epel-6/debuginfo/makemkv-debuginfo-1.8.13-1.el6.x86_64.rpm
./epel-6/i386/makemkv-1.8.13-1.el6.i686.rpm
./epel-6/SRPMS/makemkv-1.8.13-1.el6.src.rpm
./epel-6/x86_64/makemkv-1.8.13-1.el6.x86_64.rpm
./fedora-19/debuginfo/makemkv-debuginfo-1.8.13-1.fc19.i686.rpm
./fedora-19/debuginfo/makemkv-debuginfo-1.8.13-1.fc19.x86_64.rpm
./fedora-19/i386/makemkv-1.8.13-1.fc19.i686.rpm
./fedora-19/SRPMS/makemkv-1.8.13-1.fc19.src.rpm
./fedora-19/x86_64/makemkv-1.8.13-1.fc19.x86_64.rpm
./fedora-20/debuginfo/makemkv-debuginfo-1.8.13-1.fc20.i686.rpm
./fedora-20/debuginfo/makemkv-debuginfo-1.8.13-1.fc20.x86_64.rpm
./fedora-20/i386/makemkv-1.8.13-1.fc20.i686.rpm
./fedora-20/SRPMS/makemkv-1.8.13-1.fc20.src.rpm
./fedora-20/x86_64/makemkv-1.8.13-1.fc20.x86_64.rpm
./fedora-21/debuginfo/makemkv-debuginfo-1.8.13-1.fc21.i686.rpm
./fedora-21/debuginfo/makemkv-debuginfo-1.8.13-1.fc21.x86_64.rpm
./fedora-21/i386/makemkv-1.8.13-1.fc21.i686.rpm
./fedora-21/SRPMS/makemkv-1.8.13-1.fc21.src.rpm
./fedora-21/x86_64/makemkv-1.8.13-1.fc21.x86_64.rpm
./fedora-22/debuginfo/makemkv-debuginfo-1.8.13-1.fc22.i686.rpm
./fedora-22/debuginfo/makemkv-debuginfo-1.8.13-1.fc22.x86_64.rpm

31 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

./fedora-22/i386/makemkv-1.8.13-1.fc22.i686.rpm
./fedora-22/SRPMS/makemkv-1.8.13-1.fc22.src.rpm
./fedora-22/x86_64/makemkv-1.8.13-1.fc22.x86_64.rpm
./makemkv.spec

Which repository are you referring to?

chaos
SEPTEMBER 17, 2014 AT 6:19 PM

Not available in epel 7?

slaanesh
SEPTEMBER 17, 2014 AT 6:25 PM

Do you see it listed as available in the page? Theres no RPMFusion for


RHEL 7 (yet); so no dependencies.

F. Delente
NOVEMBER 13, 2014 AT 6:58 PM

On Fedora 20, trying to install Handbrake, I get this:

--> Finished Dependency Resolution


Error: Package: HandBrake-cli-0.10-10.svn6507.fc20.x86_64 (fedora-
HandBrake)
Requires: libx264.so.138()(64bit)
Error: Package: HandBrake-gui-0.10-10.svn6507.fc20.x86_64 (fedora-
HandBrake)
Requires: libx264.so.138()(64bit)
Error: Package: HandBrake-cli-0.10-10.svn6507.fc20.x86_64 (fedora-
HandBrake)
Requires: libmp3lame.so.0()(64bit)
Error: Package: HandBrake-gui-0.10-10.svn6507.fc20.x86_64 (fedora-

32 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

HandBrake)
Requires: libmp3lame.so.0()(64bit)

Im new to Fedora and havent been able to nd mp3lame or x264, (a page


on fedoraforums.org dates back to 2004/2005), where can I download
them? Thanks!

slaanesh
NOVEMBER 14, 2014 AT 9:03 AM

Please read the page, you need to install the RPMFusion repository les.
The required libraries are in that repository.

Please follow the instructions at this page (Command Line Setup using
rpm section):

http://rpmfusion.org/Conguration

F. Delente
NOVEMBER 14, 2014 AT 10:23 AM

Ok, thanks!

Knut J Bjuland'
DECEMBER 16, 2014 AT 8:06 PM

I have installed Fedora 21. When I load makemkv into fedora 21 I get this
message. /usr/bin/makemkvcon: error while loading shared libraries: libav
codec.so.55: cannot open shared object le: No such le or directory

Could it be an idea to get an meg-compat2 as workaround fro makekvm?

slaanesh
DECEMBER 16, 2014 AT 8:43 PM

33 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Hello, makemkvcon is linked to mpeg 2.4:

$ ldd /usr/bin/makemkvcon | grep av


libavcodec.so.56 => /lib64/libavcodec.so.56
(0x00000033ece00000)
libavutil.so.54 => /lib64/libavutil.so.54
(0x00000037b8600000)

You should not have that error. this means you have the package for an
other distribution installed. Correct version at the time of writing is:

makemkv-1.9.0-1.fc21.x86_64

Can you do the following?

yum distro-sync makemkv

Steeve McCauley
MARCH 8, 2015 AT 9:36 PM

Same thing here, distro-sync didnt do anything.

$ ldd /usr/bin/makemkvcon | grep av


libavcodec.so.55 => not found
libavutil.so.52 => not found
$ rpm -qf /lib64/libavcodec.so.56.1.100 /lib64
/libavutil.so.54.7.100
ffmpeg-libs-2.4.7-1.fc21.x86_64
$ rpm -qf /usr/bin/makemkvcon
makemkv-1.9.1-1.fc21.x86_64

There seems to be a disconnect between the current version of


makemkv and mpeg-libs.

34 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

slaanesh
MARCH 9, 2015 AT 9:00 AM

Hello,

there is something wrong with your system; your yum should com
plain every time you perform some operation about the missing de
pendencies. Can you reinstall the makemkv package ( yum -y
reinstall makemkv)? I have the same binary and it is linked to the cor
rect libraries:

$ ldd /usr/bin/makemkvcon | grep av


libavcodec.so.56 => /lib64/libavcodec.so.56 (0x0000003c43000000)
libavutil.so.54 => /lib64/libavutil.so.54 (0x0000003c44200000)
$ rpm -qf /usr/bin/makemkvcon
makemkv-1.9.1-1.fc21.x86_64
$ rpm -q ffmpeg-libs
ffmpeg-libs-2.4.7-1.fc21.x86_64

Steeve McCauley
MARCH 10, 2015 AT 11:50 AM

Okay, this is very strange, can you tell me the checksum of your
version of makemkvcon?

# yum -y reinstall makemkv


Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* fedora: fedora.mirror.gtcomm.net
* rpmfusion-free: mirror.us.leaseweb.net
* rpmfusion-free-updates: mirror.us.leaseweb.net
* rpmfusion-nonfree: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
* updates: less.cogeco.net
Resolving Dependencies

35 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

--> Running transaction check


---> Package makemkv.x86_64 0:1.9.1-1.fc21 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================
==============================================================
==========================================
Package Arch Version Repository Size
==============================================================
==============================================================
==========================================
Reinstalling:
makemkv x86_64 1.9.1-1.fc21 fedora-HandBrake 3.5 M

Transaction Summary
==============================================================
==============================================================
==========================================
Reinstall 1 Package

Total size: 3.5 M


Installed size: 30 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Installing : makemkv-1.9.1-1.fc21.x86_64 1/1
Verifying : makemkv-1.9.1-1.fc21.x86_64 1/1

Installed:
makemkv.x86_64 0:1.9.1-1.fc21

Complete!

36 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

# ldd /usr/bin/makemkvcon
linux-vdso.so.1 => (0x00007fff46b20000)
libmakemkv.so.1 => /lib/libmakemkv.so.1 (0x000000338fa00000)
libdriveio.so.0 => /lib/libdriveio.so.0 (0x0000003079400000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003317600000)
libc.so.6 => /lib64/libc.so.6 (0x0000003317200000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003317a00000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x000000331ca00000)
librt.so.1 => /lib64/librt.so.1 (0x0000003319600000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x0000003328c00000)
libz.so.1 => /lib64/libz.so.1 (0x0000003317e00000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x000000331ce00000)
libavcodec.so.55 => not found
libavutil.so.52 => not found
libm.so.6 => /lib64/libm.so.6 (0x0000003318200000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003318a00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003316e00000)
# md5sum /usr/bin/makemkvcon
b2d6140250ed34d626e34f77399031f4 /usr/bin/makemkvcon

Steeve McCauley
MARCH 10, 2015 AT 11:54 AM

Doh! Found the problem, I had an old makemkv library in /usr/lib, re


moving that xed the problem,

# rm /usr/lib/libmakemkv.so.1

Knut J Bjuland'
DECEMBER 17, 2014 AT 10:54 AM

Thank work for me. Removed les from older makemkv in /usr/lib

Mark

37 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

DECEMBER 25, 2014 AT 10:17 PM

I could not get the gui to start on Fedora 20. Then I tried the CLI and found
that a shared library that was missing is my problem. Installed libass and all
is well. Thanks!

Here is the message that the CLI spit out:

HandBrakeCLI: error while loading shared libraries: libass.so.4: cannot open


shared object le: No such le or directory

slaanesh
JANUARY 7, 2015 AT 2:20 PM

The library is linked by the main executable, so unless you forced the in
stallation of HandBrake through rpm ignoring dependencies the library is
already pulled in by HandBrake:

$ rpm -q --requires HandBrake-cli | grep ass


libass.so.5()(64bit)

Alex Atkin UK
MARCH 3, 2015 AT 8:00 AM

Precisely, its looking for libass.so.4 but it installed libass.so.5 and so


isnt nding it. I have the same issue on FC21.

I had to create a symlink ln -s /usr/lib64/libass.so.5 /usr/lib64


/libass.so.4 so it would nd the library but surely this should not neces
sary if packaged correctly for this distro?

Alex Atkin UK
MARCH 3, 2015 AT 8:02 AM

Which doesnt work, it segfaults as soon as I try to add a source video.

38 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

James Vincent
MARCH 10, 2015 AT 2:20 PM

I am having the same issue, and so far have not been able to get by
it. rpm -q requires HandBrake-cli shows libass.so.5()(64bit) which is
what is installed (libass-0.12.0-1.fc21.x86_64) but ghb and Hand
BrakeCLI both say they want libass.so.4.

I have the latest HandBrake release 0.10.1 also.

yum whatprovides */libass.so.4 produces nothing.

slaanesh
MARCH 10, 2015 AT 2:31 PM

Dont know where you are getting those packages, but the one I
produce have the correct dependencies. libass.so.4 is not in Fe
dora 21. All packages have correct requirements:

$ rpm -qp --requires HandBrake-{gui,cli}-


0.10.1-1.fc21.x86_64.rpm | grep libasslibass.so.5()(64bit)
libass.so.5()(64bit)
$ ldd /usr/bin/{ghb,HandBrakeCLI} | grep libass
libass.so.5 => /lib64/libass.so.5 (0x0000003c50600000)
libass.so.5 => /lib64/libass.so.5 (0x0000003c50600000)

slaanesh
MARCH 3, 2015 AT 5:36 PM

What is exactly requiring /usr/lib64/libass.so.4? The Fedora 21


package requires libass.so.5.

James Vincent
MARCH 10, 2015 AT 3:14 PM

SOLVED!

39 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

strace HandBrakeCLI does indeed show it looking for libass.so.4

ldd /usr/local/bin/HandBrakeCLI also lists libass.so4 which is where


strace found the command. BINGO!

The current bin les are in /usr/bin !

SOMEONE left old executable les in /usr/local/bin. I removed ghb


and HandBrakeCLI from /usr/local/bin and it all WORKS now.

mark
JANUARY 10, 2015 AT 7:41 PM

Hi,
Ive been using handbrake for a couple of years now on fedora. I recently
upgraded to fc21 and upgrade handbrake after that. I normally generate
mkv using Theora and Vorbis. this stopped working after i upgrade HB. It
generates a le that is only 10M and no video but some sound. If i choose
some other type like mp4 it works ne. any ideals how i can debug this?
Ive tried dierent videos and it does the same for all of them.

thanks
m.

mark
FEBRUARY 1, 2015 AT 6:18 PM

I just applied the lastest rpm update and i still cant generate video using
theora. The sound is ne, but the picture is black, makes for a very small
mkv le. fc20 version still works and thankfully i didnt upgrade all my
servers at the same time. however until i can resolve this i cant upgrade
the last of my servers to fc21

mark
JUNE 7, 2015 AT 9:52 PM

40 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

just upgrade my server to fc22 and still the same ole problem. i cant
generate mkv containers but others work ne. i still would like some
ideals how to debug this since handbrake isnt reporting any issues in
the logs. i have reinstalled the libraries before the upgrade and they
were installed again as part of the upgrade to fc22. It is only working on
fc20 for me.

Eric Work
JANUARY 23, 2015 AT 5:56 PM

Is anyone else noticing large icons on the toolbar and a few other places for
HandBrake on Fedora 21 x86_64? From what I can tell the source icons are
in SVG and in inkscape the dimensions are set to 6464. Maybe its not
downsizing the icons for the toolbar? See http://imgur.com/ZEW0qH7

slaanesh
JANUARY 24, 2015 AT 11:55 AM

Yes, me too. Will test a new build in the weekend with the latest commits
and post it next week if it solves the issue. Im currently o for the week
end. Thanks for notifying.

Eric Work
FEBRUARY 10, 2015 AT 5:32 AM

Thanks, the x worked!

James Vincent
MARCH 10, 2015 AT 2:41 PM

Mine shows exactly what yours does too. I am wondering if this has to do
with upgrading from Fedora 20 to 21 or something because HB used to
work. Since I dont use it all that often, I am not positive when it stopped
working.

Is there a way to trace when I run HandBrakeCLI what is producing the re

41 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

quirement for the .4 version?

statquant
APRIL 12, 2015 AT 5:04 PM

Hello, I just followed the install instructions and it works great.


However I cannot get MP4 in the ripping format, as I used to running an
Ubuntu distro.
Are there some smart workaround this ?

Regards

teancum144
MAY 25, 2015 AT 10:12 PM

# yum install HandBrake-gui HandBrake-cli


Loaded plugins: langpacks, refresh-packagekit
http://negativo17.org/repos/HandBrake/fedora-19/x86_64/repodata/re
pomd.xml: [Errno 14] HTTP Error 404 Not Found
Trying other mirror.
No package HandBrake-gui available.
No package HandBrake-cli available.
Error: Nothing to do

What am I doing wrong?

slaanesh
MAY 25, 2015 AT 10:14 PM

Youre using an EOL distribution. As you can see from the repository page
and from the repository itself there is no Fedora 19 support.

teancum144
MAY 26, 2015 AT 9:18 PM

In your article above, Fedora 19 is listed as a supported distribution.

42 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

slaanesh
MAY 27, 2015 AT 9:49 AM

Well, thanks for letting me know, Ive removed it


Basically I track the current distributions (where possible) that are not
EOL, that is, at the moment of writing:

Fedora 20+
CentOS/RHEL 5+

Depending on the software, someone may be missing (there is no


RPMFusion RHEL 7 for multimedia libraries, etc)

dennisf
MAY 26, 2015 AT 8:45 PM

I am running Fedora 22 trying to get this going. i have installed the RPM
Fusion repository. Any idea why im getting the below message?

# dnf install add-repo=http://negativo17.org/repos/fedora-handbrake.repo


Last metadata expiration check performed 1:54:10 ago on Tue May 26
11:46:45 2015.
No package add-repo=http://negativo17.org/repos/fedora-handbrake.repo
available.
Error: no package matched: add-repo=http://negativo17.org/repos/fedora-
handbrake.repo

slaanesh
MAY 26, 2015 AT 8:51 PM

Youre using the wrong command:

dnf cong-manager, not dnf install

Gabriel

43 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

MAY 30, 2015 AT 9:56 PM

Im using Fedora 22 and Handbrake 0.10.1 (x86_64). Im trying to encode a


DVD and as soon as the encoding process starts I get a Segmentation fault
(core dumped) and the program closes inmediatly.

joshmule
MAY 31, 2015 AT 6:54 PM

# yum-cong-manager > dnf cong-manager

$ sudo dnf cong-manager add-repo=http://negativo17.org/repos/fedora-


handbrake.repo
Adding repo from: http://negativo17.org/repos/fedora-handbrake.repo

rag
JUNE 5, 2015 AT 8:10 PM

Can you add the 10bit for all fedora release ?

rag
JUNE 5, 2015 AT 8:12 PM

I mean x265 10bit

slaanesh
JUNE 8, 2015 AT 11:35 AM

What do you mean x265 10 bit? x265 is already a dependency of Hand


Brake and is in RPMFusion.

rag
JUNE 11, 2015 AT 1:23 AM

The x265 encoder that there are only 8 bit.


I found this:
http://en.wikipedia.org/wiki/High_Eciency_Video_Coding#Proles

44 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Massimo
JUNE 8, 2015 AT 6:05 PM

You wrote that the command works for Fedora 22+.


I have a fedora 20.
Does this command works also for Fedora 20:
dnf cong-manager add-repo=http://negativo17.org/repos/fedora-hand
brake.repo

Thanks,
M

slaanesh
JUNE 8, 2015 AT 7:12 PM

Fedora 20 will be available until the end of June, at which time it will go
EOL and I will delete the relevant repositories. Command is the same but
with yum:

yum config-manager --add-repo=http://negativo17.org/repos/fedora-


handbrake.repo

Thomas
JUNE 10, 2015 AT 7:24 AM

Hi, looking for handbrake for RHEL 7. Does this exist, or can some one give
me pointers on building it from source?
Thanks!

slaanesh
JUNE 24, 2015 AT 3:17 PM

Hello, I will build 0.9.9 for it; Im a bit swamped by daily stu. 0.10.x re
quires newer GTK libraries than what RHEL 7 provides.

45 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Thomas
JUNE 24, 2015 AT 6:35 PM

Great! Thank you!

Pete
JUNE 19, 2015 AT 3:31 AM

Will you be updating to the latest? I noticed makemkv is a few releases be


hind today.

slaanesh
JUNE 19, 2015 AT 9:56 AM

Hello, Im literally swamped with apartment move and daily work. Have
updated it today to 1.9.4, new build being pushed in a few hours.

mark
JUNE 25, 2015 AT 12:35 AM

ive been using handbrake since fredora 18. I have it running on one server
running FC20. On another server that i have upgraded to FC21 and then
FC22 i can not get handbrake to generate a working Theora video le, i get
no video and the le size is less than 20mb big. I can create a mp video
les. Ive tried reinstalling handbrake, ive also tried reinstalling the various
lib packages it depends on. no luck. Ive traced and dont see any issues.
Looking for some additional insights as to how to troubleshoot this.

martinkg
JULY 29, 2015 AT 11:03 AM

Hi,
makemkv 1.9.5 is available.
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224
could you please build a new rpm package.

46 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

thanks

slaanesh
JULY 29, 2015 AT 11:45 AM

This has been done.

GreyGnome
AUGUST 10, 2015 AT 10:26 PM

I notice in your instructions on this page you say to:

ln -sf /usr/lib64/libmmbd.so.o libaacs.so.0

but there is no libmmbd.so.o on my system, only libmmbd.so.0 (replace


the last letter o with the number zero).

Thanks.

slaanesh
AUGUST 11, 2015 AT 4:10 PM

Typo on my side, will x it. Thanks.

slaanesh
AUGUST 12, 2015 AT 11:47 AM

Fixed, thanks.

bakerm75
OCTOBER 27, 2015 AT 7:24 PM

Unable to indtall handbrake, or makemkv from repository.

um command has been deprecated, redirecting to /usr/bin/dnf update.


See man dnf and man yum2dnf for more information.

47 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

To transfer transaction metadata from yum to DNF, run:


dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate

Failed to synchronize cache for repo fedora-HandBrake from http://nega


tivo17.org/repos/HandBrake/fedora-23/x86_64/: Cannot download re
pomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried,
disabling.
Last metadata expiration check performed 0:27:23 ago on Tue Oct 27
12:56:01 2015.
Dependencies resolved.
Nothing to do.
Complete!

sudo yum install HandBrake-cli


Yum command has been deprecated, redirecting to /usr/bin/dnf install
HandBrake-cli.
See man dnf and man yum2dnf for more information.
To transfer transaction metadata from yum to DNF, run:
dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate

Failed to synchronize cache for repo fedora-HandBrake from http://nega


tivo17.org/repos/HandBrake/fedora-23/x86_64/: Cannot download re
pomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried,
disabling.
Last metadata expiration check performed 0:27:39 ago on Tue Oct 27
12:56:01 2015.
No package HandBrake-cli available.
Error: Unable to nd a match.

slaanesh
OCTOBER 29, 2015 AT 12:24 PM

There is no HandBrake for Fedora 23 at the moment, as it depends on Fe


dora 23 RPMFusion packages which are not yet released.

48 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Toby
OCTOBER 29, 2015 AT 5:18 PM

Starting with HandBrake-gui-10.2-3 I am getting segfaults when opening


most multi-title blurays (the more titles, the higher the chance of the
crash). I can remux those titles with makemkv then open them in Hand
Brake one by one (annoying, but it works).

Ive also recreated this with a fresh install of Fedora 22 (Install base, RPM
Fusion repos, and yours. Update and install HandBrake-gui) on a separate
hardware platform and a VM.

Looking at the stack trace, it looks like it might be crashing in decav


codecvInfo. Though admittedly, this is not my area. Possible a regression
of the previous libavcodec.so segfaults discussed earlier due to the change
to local libraries?

Kern message:
kernel: ghb[2077]: segfault at 0 ip 00000000004610ef sp
00007ff842cb9a08 error 4 in ghb[400000+896000]

Crashed thread stack trace:


{ "crash_thread": true
, "frames":
[ { "address": 4591855
, "build_id": "0c7e4a13524e14706761c7e4b0f2153bede79db6"
, "build_id_offset": 397551
, "function_name": "decavcodecvInfo"
, "file_name": "/usr/bin/ghb"
}
, { "address": 4642970
, "build_id": "0c7e4a13524e14706761c7e4b0f2153bede79db6"
, "build_id_offset": 448666
, "function_name": "DecodePreviews"
, "file_name": "/usr/bin/ghb"
}

49 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

, { "address": 4647983
, "build_id": "0c7e4a13524e14706761c7e4b0f2153bede79db6"
, "build_id_offset": 453679
, "function_name": "ScanFunc"
, "file_name": "/usr/bin/ghb"
}
, { "address": 4571083
, "build_id": "0c7e4a13524e14706761c7e4b0f2153bede79db6"
, "build_id_offset": 376779
, "function_name": "hb_thread_func"
, "file_name": "/usr/bin/ghb"
}
, { "address": 140711485863253
, "build_id": "6e1fb69fc4248ca0819107eed38c9e8db0b645b3"
, "build_id_offset": 30037
, "function_name": "start_thread"
, "file_name": "/lib64/libpthread.so.0"
}
, { "address": 140711413853085
, "build_id": "5e86d81f6b21b75b08b19cd1574e14ec0ec098f3"
, "build_id_offset": 1059741
, "function_name": "__clone"
, "file_name": "/lib64/libc.so.6"
} ]
}

slaanesh
OCTOBER 29, 2015 AT 5:24 PM

Ouch. Could be, actually. Will look into it, thanks for reporting.
Actually I am in the process of updating to newer mpeg/x264/x265 and
HandBrake, will see if it happens.

Mike

50 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

DECEMBER 20, 2015 AT 7:52 AM

As of today, it loos like this is still occurring. GDB backtrace still shows a
segfault in decavcodecvInfo. Let me know if theres anything that I can
do to assist.

Program received signal SIGSEGV, Segmentation fault.


[Switching to Thread 0x7fcc9df700 (LWP 4514)]
0x00000000004610ef in decavcodecvInfo ()
(gdb) backtrace
#0 0x00000000004610ef in decavcodecvInfo ()
#1 0x000000000046d89a in DecodePreviews ()
#2 0x000000000046ec2f in ScanFunc ()
#3 0x000000000045bfcb in hb_thread_func ()
#4 0x0000730f6555 in start_thread () at /lib64/libpthread.so.0
#5 0x00007feec49b9d in clone () at /lib64/libc.so.6

Mike
DECEMBER 20, 2015 AT 8:17 AM

As a test, I built from the SPEC le you have here and it appears to
work properly now.

http://negativo17.org/repos/HandBrake/SPECS/HandBrake.spec

slaanesh
DECEMBER 21, 2015 AT 8:27 PM

This should generate no dierent build compared to the one I pro


vide. Can you try with the latest 1.0-10? It contains a few xes.

Gerry
NOVEMBER 17, 2015 AT 6:40 PM

There is an issue with HandBrake-1.0-3.6d66bd5 in the F23 repository.


When trying to encode with VP8, the CQ settings arent working the out
put is of extremely low quality. The workaround is to use the previous ver

51 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

sion in the F22 repository. I compiled for F23 and appears to be working
ne.

slaanesh
NOVEMBER 18, 2015 AT 9:22 AM

Sorry for not replying to your email, Im a bit swamped at the moment. I
have a big multimedia reorganization in mind and also to update Hand
Brake. Will look into it, thanks.

Gerry
DECEMBER 6, 2015 AT 4:06 AM

Just a FYI the update didnt help. Problem still exists.


HandBrake-cli-1.0-6.46e641c.fc23.x86_64

slaanesh
DECEMBER 6, 2015 AT 12:23 PM

Just pushed an update (1.0-8), the build reverts to bundled libAV,


compiling HandBrake with FFMPeg creates issues with UTF subtitles.
libAV is also used for the VP8 encoding.

Please let me know how it goes.

Gerry
DECEMBER 6, 2015 AT 9:46 PM

Yes, VP8 encoding appears to be working correctly now. I did notice


that there is a problem with subtitles, they dont display. When us
ing smplayer you get the pulldown menu with the selections but
when you choose one, it doesnt display. This was working a few re
leases back, but stopped noticed it stopped with
0.10-2-3. The other thing I noticed that VP9 used to be a selection,
now it has disappeared. It basically was unusable because it was so
slow but I read that there have been recent improvements, so

52 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

would like to give it another try. Thanks for your help.

phoo1234567
DECEMBER 10, 2015 AT 2:06 PM

Has the Fedora 21 repository been deprecated? If so, why?

Will the Centos binary run on an F21 installation?

(thanks in advance)

slaanesh
DECEMBER 10, 2015 AT 3:38 PM

No they will not. Fedora has been in EOL since 1st of december. You
should upgrade.

https://fedoraproject.org/wiki/End_of_life

phoo1234567
DECEMBER 10, 2015 AT 6:59 PM

Hi slaanesh, thanks for the clarication. I was just going by the verbiage
at the top of the post (maybe remove the Fedora 21 support state
ment?).

Ill upgrade to F22 in the next month or so so it should be a mut point


for me.

Thanks for your work on Handbrake, BTW.

slaanesh
DECEMBER 10, 2015 AT 8:28 PM

Oh yeah, thanks for letting me know. I need to get rid of all the Fedora
21 entries in the pages. Thanks for notifying!

53 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

andy
DECEMBER 13, 2015 AT 8:39 PM

Im on F22, Ive install handbrake,makemkv etc from your handbrake repo


no problems. but cant install blender or blender-cuda (GTX580). the only
option I get is from updates/fedora. I guess im doing something wrong, but
ive skimmed this page and others many times help

andy
DECEMBER 13, 2015 AT 9:03 PM

ah just gured it out. blender in your repos is only for f23, or at least not
available for f22. ill update

slaanesh
DECEMBER 14, 2015 AT 6:26 AM

Yeah, Im a bit busy but its coming. Yesterday I updated all the Fefora
22 libraries required for FFMpeg, this week I will update also FFMpeg
and Blender. Thanks.

Gerry
DECEMBER 20, 2015 AT 7:40 AM

HandBrake 1.0-9.3443f6a isnt working with H265 now. Previous version


worked. Both previous version and current still have the VP8 issue I re
ported earlier. Is it possible for you to backout to the versions that worked?

Gerry
DECEMBER 20, 2015 AT 8:28 PM

A bit more information on the VP8 issue, previously, it appeared to rip


through at a high frame rate with bad quality, now the frame rate seems
to be back to normal, but the quality isnt up to previous levels if that
makes sense. The H265 now gets an encode failed almost immediately
upon starting. Would be interesting to know if anyone else is seeing this.

54 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

So far H264 appears to be working.

slaanesh
DECEMBER 21, 2015 AT 6:32 AM

This was a bug in the latest HandBrake sources. Uploading a new build
now (tested it on H.265, VP8 and H.264).
Its very hard to accomodate all requirements and have a stable build :/

Gerry
DECEMBER 20, 2015 AT 10:03 PM

Just tried the x264 10bit it consistently fails also with encode failed at
about the 3-4% mark. Regular x264 as mentioned earlier appears to be the
only thing working. (Didnt test Theora).

slaanesh
DECEMBER 21, 2015 AT 8:26 PM

Should work now (see previous reply).

Gerry
DECEMBER 21, 2015 AT 9:27 PM

Just did some partial encoding and here are the results:
VP8 same. Used setting of 14, quality is bad. As a test, backed out to
version 0.10.2-3 and again used VP8 and setting of 14 looked great.

X265 appears to be working again. Will run longer test to be sure.

X264 Working still.

X264.10 Locks up machine, then:


kernel: Out of memory: Kill process 29135 (ghb) score 676 or sacrice
child

55 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

slaanesh
DECEMBER 23, 2015 AT 7:09 AM

When backing out to 0.10.2-3 are you on Fedora 22 or 23?

VP8 same. Used setting of 14, quality is bad. As a test,


backed out to version 0.10.2-3 and again used VP8 and
setting of 14 looked great.

HandBrake ships with a bundled libvpx 1.3.0. Fedora 22 has it in the


repositories; Fedora 23 has version 1.4.0.

X265 appears to be working again. Will run longer test to


be sure.

HandBrake bundles an old x265 1.5 version on 0.10.2 and a x265 1.8
version in 1.0

Lets say that if I want to push the same build on Fedora 22, 23+ and
CentOS 7 I need to bundle libav, libvpx and x265; which is something
I would like to avoid.

Gerry
DECEMBER 23, 2015 AT 8:11 AM

For 0.10.2-3: Im on Fedora 23. I had the source rpm and rebuilt it for F23.

So for: HandBrake-1.0-10.57a9f48.fc23 what are we using for VP8? The


bundled version or what is supplied with Fedora?

Regarding x265 on 1.0-10.57a ran the longer tests and all appears good.

BTW, whatever happened to VP9 it used to be included when the encod


ing was so slow it was unusable. Ive read thats all been resolved, but now
it has been removed just when it should work?

56 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

In any event, I really appreciate you providing this repository. Thanks!

slaanesh
DECEMBER 23, 2015 AT 8:33 AM

For 0.10.2-3: Im on Fedora 23. I had the source rpm and


rebuilt it for F23.

So it must be a bug in the newer HandBrake then, as the libvpx package


is the system one, so used for both the 0.10.2 and the 1.0 build. I guess
we just have to wait then.

So for: HandBrake-1.0-10.57a9f48.fc23 what are we using for


VP8? The bundled version or what is supplied with Fedora?

Always what its bundled in Fedora; but as shown by your build, this does
not make any dierence.

BTW, whatever happened to VP9 it used to be included when


the encoding was so slow it was unusable. Ive read thats all
been resolved, but now it has been removed just when it
should work?

According to the source code, VP9 has never been enabled:


https://github.com/HandBrake/HandBrake/commits/master/contrib/libvpx

Gerry
DECEMBER 23, 2015 AT 6:10 PM

Ill follow up with upstream regarding the libvpx issue. Hopefully they al
ready are aware.

Regarding VP9, Im sure I didnt imagine this it was about a year or so


ago when it disappeared I didnt much care because it was unusable
but as I mentioned the situation apparently has now changed. Ill ask
upstream about that also.

57 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

Thanks again for the clarication and quick response.

dr.diesel
DECEMBER 28, 2015 AT 10:06 PM

Just upgraded to F23 with MakeMKV 1.9.8-1.fc23.x86_64. App no longer


opens, only get a Application failed to initialize popup window, running via
console provides no further info.

Was working ne just prior to the upgrade on F22.

Any help?

slaanesh
DECEMBER 30, 2015 AT 10:52 AM

Im running the same version here, and no issues. Try cleaning your pref
erences directory. (~/.MakeMKV)

dr.diesel
DECEMBER 30, 2015 AT 12:40 PM

Mmmm thanks. Last night I compiled it from source o MakeMKVs


website and all is good.

Thanks

Gerry
DECEMBER 30, 2015 AT 8:09 PM

Ive been running F23 for almost 2 months and havent had any issues with
MakeMKV including the recent version 1.9.8-1.fc23.x86_64; since you
have just upgraded you might want to check for any other residual weird
ness. Sometimes the upgrade doesnt catch or cleanup everything and
you have to do it manually. Take a look at optional post-upgrade tasks
here:

58 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

https://fedoraproject.org/wiki/DNF_system_upgrade

Michael
JANUARY 13, 2016 AT 7:25 AM

I love HandBrake but unfortunately the latest unstable versions you ship
seem to have a bug regarding the normalize feature (it simply does not
work).

Could you please also provide the stable 0.10.2 release, at least the CLI
version?

slaanesh
JANUARY 18, 2016 AT 7:52 AM

Sorry but I never used the normalize feature. It is the same passed as:

--normalize-mix Normalize audio mix levels to prevent clipping.


Separated by commas for more than one audio track.
0 = Disable Normalization (default)
1 = Enable Normalization

in the command line?

I cant provide the 0.10.2 release in place of the 1.0 snapshot as it would
make me go back in bundling a lot of libraries in the client. But I can pro
vide an HandBrake-010 package, although I would avoid it; so I would
like to check if there is any issues with the libraries.

George P.
JANUARY 15, 2016 AT 2:21 AM

Are you aware of the 0-day exploit that has been discovered in mpeg? It
seems the current (2.8.4-1) version that you are oering is aected.

59 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

slaanesh
JANUARY 15, 2016 AT 5:31 PM

Version 2.8.5 was tagged an hour ago, will update to that as soon as the
tarballs are available.

Charlie
JANUARY 18, 2016 AT 1:17 PM

There is a new update of MakeMKV available

Charlie
JANUARY 19, 2016 AT 7:57 AM

Thank you!

Jerry
FEBRUARY 19, 2016 AT 10:30 PM

Hi,
I am getting dependency errors ie
mpeg-libs (x86_64 ) fedora 23 complains
about a missing libfaac.so.0.

I cannot nd it anywhere ;(

slaanesh
FEBRUARY 22, 2016 AT 8:34 PM

Its in the faac package. Did you enable RPMFusion?

Jerry
FEBRUARY 22, 2016 AT 9:03 PM

Grrr,
I had the free repository enabled but not the nonfree

60 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

After enabling the nonfree repository the faac packages


showed up.

Thanks,

Jerry

Rob Crowther
FEBRUARY 26, 2016 AT 5:36 AM

I did a clean install of Fedora 23 yesterday and Ive not been able to get
NVENC working with mpeg since then. I keep getting an error: No NVENC
capable devices found

I have the same GTX 760 card I was using successfully with Fedora 22 ear
lier in the week, so either I missed something simple when installing, some
thing is packaged incorrectly or the newer Nvidia drivers dropped support
for my card. Any ideas?

slaanesh
FEBRUARY 26, 2016 AT 6:17 PM

Have you installed the correct driver Cuda packages? FFMPeg loads
libcuda.so.1 at runtime:

$ strings /usr/lib64/libavcodec.so.56.60.100 | grep -i libcuda


libcuda.so.1

If not, do an install of nvidia-driver-cuda and either reboot or load the


nvidia-uvm module.

Do you have any logs/output for the ffmpeg command?

Rob Crowther

61 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

FEBRUARY 27, 2016 AT 4:58 PM

I already have nvidia-driver-cuda installed. The exact error message from


mpeg is:

[nvenc @ 0x85b300] No NVENC capable devices found

Here is the full output from the command:

https://gist.github.com/robertc/dfeb432a2f3ce5489625

Heres the drivers I have installed:

$ rpm -qa | grep nvidia-driver


nvidia-driver-361.28-2.fc23.x86_64
nvidia-driver-cuda-361.28-2.fc23.x86_64
nvidia-driver-NVML-361.28-2.fc23.x86_64
nvidia-driver-cuda-libs-361.28-2.fc23.x86_64
nvidia-driver-libs-361.28-2.fc23.x86_64
nvidia-driver-libs-361.28-2.fc23.i686

From this you can see nvidia_uvm appears to be loaded:

$ cat /proc/modules | grep nvidia


nvidia_modeset 741376 3 - Live 0xffffffffa0e94000 (POE)
nvidia_uvm 561152 0 - Live 0xffffffffa0bee000 (POE)
nvidia 10022912 60 nvidia_modeset,nvidia_uvm, Live 0xffffffffa01b0000
(POE)
drm 335872 3 nvidia, Live 0xffffffffa0076000

yiwan
FEBRUARY 29, 2016 AT 7:30 AM

Please upgrade mpeg to latest version to enable nvenc_hevc encoder and


h265_qsv encoder.

62 of 63 03/17/2016 01:05 PM
HandBrake, MakeMKV and libvdvdcss | negativo17 http://negativo17.org/handbrake/

63 of 63 03/17/2016 01:05 PM

You might also like