Ffmpeg and x265 10 bit support


#1

Hi @jess,

I’m playing with encoding content with HDR support. The provided ffmpeg with x265 in the description states that it has 10 and 12 bit support but I always get errors on activating the 10bit.

Looking at the supported pixel formats, it only has 8bit:
ffmpeg -h encoder=libx265 2>/dev/null | grep pixel
Supported pixel formats: yuv420p yuv422p yuv444p gbrp gray

I have installed these packages
kaltura-ffmpeg-3.2-3.x86_64
x265-libs-2.0-1

Using CentOS Linux release 7.4.1708 (Core)

Should I rebuild the RPM using the sources on github or is this a bug as the package should support this?

Thanks,
Nuno


#2

Hi @NAmorim1,

I built new x265 and kaltura-ffmpeg packages with support for 10/12 bit color depths.
I pushed these to the 13.12.0 repo which will become the new stable version next week.
You can modify /etc/yum.repos.d/kaltura.repo to read:

[Kaltura]
name = Kaltura Server
baseurl = http://installrepo.origin.kaltura.org/releases/nightly/$releasever/RPMS/$basearch/
gpgkey = http://installrepo.kaltura.org/releases/RPM-GPG-KEY-kaltura
gpgcheck = 1
enabled = 1

[Kaltura-noarch]
name = Kaltura Server arch independent
baseurl = http://installrepo.origin.kaltura.org/releases/nightly/$releasever/RPMS/noarch
gpgkey = http://installrepo.kaltura.org/releases/RPM-GPG-KEY-kaltura
gpgcheck = 1
enabled = 1

and update kaltura-ffmpeg, x265-libs and kaltura-nginx [because it links against ffmpeg for certain features] from the nightly repo if you’d like to test it beforehand.