x264 recently receive useful some new features ( http://git.videolan.org/?p=x264.git;a=commit;h=8b9dcd8d50be201f1bedc9b19331432969f37d98 ) that affect dependencies for the x264-encoder package. Specifically, there are two new optional-but-recommended dependencies: 1) FFMS2, an open source library for opening, indexing, and decoding video files. Can be found at http://ffmpegsource.googlecode.com/ . Builds pretty easily using cmake. 2) LAVF input, aka Lib(avformat|avcodec|swscale). Already part of Gentoo in the form of ffmpeg. The former is preferred by upstream due to being more reliable, while the latter is primarily intended as fallback for cases where FFMS2 can't be used, such as piped input. Note that since FFMS2 is a frontend for ffmpeg, it still requires the same libraries that LAVF does, just indirectly. Thus, in the next x264 package version bump, it would be preferable to have USE flags for these new features and ideally an ebuild for FFMS2 as well. Reproducible: Always Steps to Reproduce:
x264-encoder makes a call in: mp4.c:(.text+0x8cf): undefined reference to `gf_isom_set_pixel_aspect_ratio' This is fixed by setting a depend for >=gpac-0.45-r1: RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 ) ~media-libs/x264-${PV} >=media-video/gpac-0.4.5-r1 ffmpeg? ( media-video/ffmpeg )"
Created attachment 285425 [details, diff] patch, works fine for me
Patched ebuild is in multimedia overlay now.
Fixed to tree, thanks.