Hi, after not using it for a while I was trying to encode some material with handbrake but it crashes after the first pass. However the log for the first pass is flooded with thousands of error messages like this: x264 [error]: This build of x264 requires high depth input. Rebuild to support 8-bit input. I'm running 10.1-RELEASE with the latest patches and handbrake is compiled from ports. Any ideas? % uname -a FreeBSD thor.rostock.home 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 % pkg info handbrake handbrake-0.10.1_2 Name : handbrake Version : 0.10.1_2 Installed on : Wed Apr 22 16:59:15 CEST 2015 Origin : multimedia/handbrake Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : multimedia Licenses : GPLv2 Maintainer : ports@FreeBSD.org WWW : http://handbrake.fr/ Comment : Versatile DVD ripper and video transcoder Options : X11 : on Shared Libs required: libxml2.so.2 libx264.so.142 libvpx.so.1 libvorbisenc.so.2 libvorbis.so.0 libtheoraenc.so.1 libtheoradec.so.1 libsamplerate.so.0 libpangocairo-1.0.so.0 libpango-1.0.so.0 libogg.so.0 libnotify.so.4 libmp3lame.so.0 libintl.so.8 libgtk-3.so.0 libgthread-2.0.so.0 libgobject-2.0.so.0 libgmodule-2.0.so.0 libglib-2.0.so.0 libgio-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgdk-3.so.0 libfribidi.so.0 libfreetype.so.6 libfontconfig.so.1 libdbus-glib-1.so.2 libdbus-1.so.3 libcairo.so.2 libcairo-gobject.so.2 libatk-1.0.so.0 libass.so.5
Note that this port has no maintainer, so chances are nobody is going to answer this question.
Handbrake was updated to 0.10.2 some time ago. Does the problem still exist with the latest version?
Hi, I'm the maintainer of the multimedia/x264 port. Currently the port defaults to 8-bit encoding, but has an option for HI10P. Is this the option that was used that handbrake is outputting the error with? If so, and it turns out that x264 & handbrake need to be build similarly together (8 vs 10 bit), then perhaps we could look at creating a x264-hi10p slave port for those ports like handbrake to depend on. Thoughts?
(In reply to Thomas Zander from comment #2) The problem persists. :-(
For me, the question is: Handbrake does bring its own x264 tarball which gets extracted but not built and linked. Although using bundled codecs is usually not desired, in this case it might be the right thing to do. Didn't get around to play with that mess of a build system yet, though. koobs?
There have been multiple updates to the handbrake port by now, including some changes in the build system. Any news on whether this problem is reproducible with latest ports tree?
I was trying to encode some files and all files (*.ts) was encoded without any errors! Play encode file: $ mpv vlc_record_1+1_160508.m4v Playing: vlc_record_1+1_160508.m4v (+) Video --vid=1 (*) (h264) (+) Audio --aid=1 --alang=und (*) (aac) File tags: Title: vlc_record_1+1_160508 AO: [oss] 48000Hz stereo 2ch s32 VO: [opengl] 716x574 => 763x574 yuv420p AV: 00:02:13 / 00:44:50 (4%) A-V: -0.000 <uname> FreeBSD 10.3-RELEASE-p2 amd64 $ pkg info handbrake handbrake-0.10.5 Name : handbrake Version : 0.10.5 Installed on : Thu May 5 13:04:49 2016 EEST Origin : multimedia/handbrake Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : multimedia Licenses : GPLv2 Maintainer : ports@FreeBSD.org WWW : http://handbrake.fr/ Comment : Versatile DVD ripper and video transcoder Options : FDK_AAC : off X11 : on Shared Libs required: libdbus-glib-1.so.2 libnotify.so.4 libtheoraenc.so.1 libpango-1.0.so.0 libfreetype.so.6 libfribidi.so.0 libcairo.so.2 libvorbisenc.so.2 libgtk-3.so.0 libxml2.so.2 libcairo-gobject.so.2 libatk-1.0.so.0 libvpx.so.3 libgmodule-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgio-2.0.so.0 libsamplerate.so.0 libtheoradec.so.1 libogg.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libdbus-1.so.3 libx264.so.144 libintl.so.8 libvorbis.so.0 libmp3lame.so.0 libass.so.5 libfontconfig.so.1 libgthread-2.0.so.0 libgdk-3.so.0 libpangocairo-1.0.so.0
I'm having no issues with the current build. The libx264 port is compiled with HI10P set off (default).
root@vladiom:/usr/ports/multimedia/libx264 # make showconfig ===> The following configuration options are available for libx264-0.144.2533_1: ASM=on: Use optimized assembly code DEBUG=off: Build with debugging support GCC=off: Build with modern GCC (from ports) HI10P=off: Enable High 10 Profile 10-bit encoding PGO=off: Use Profile-Guided Optimization ===> Use 'make config' to modify these settings
Thanks for double checking and reporting!