Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFMpeg / x264 compilation issue #19

Closed
mondain opened this issue Oct 27, 2014 · 5 comments
Closed

FFMpeg / x264 compilation issue #19

mondain opened this issue Oct 27, 2014 · 5 comments
Labels

Comments

@mondain
Copy link
Contributor

mondain commented Oct 27, 2014

I'm compiling with this command line:

 ./cppbuild.sh -platform linux-x86_64 install

It yields this:

install -m 644 libx264.a /home/mondain/workspace/github/javacpp-presets/ffmpeg/cppbuild/linux-x86_64/lib
ranlib /home/mondain/workspace/github/javacpp-presets/ffmpeg/cppbuild/linux-x86_64/lib/libx264.a
ERROR: libx264 not found

When I check the /home/mondain/workspace/github/javacpp-presets/ffmpeg/cppbuild/linux-x86_64/lib directory, the libx264.a file is there.

@mondain
Copy link
Contributor Author

mondain commented Oct 28, 2014

Hopefully these will help shed some light on the issue:
ffmpeg config.log: http://pastebin.com/3KxBp9up
x264 config.log: http://pastebin.com/tnjepZF0

@saudet
Copy link
Member

saudet commented Oct 28, 2014

OpenCL? I guess we'd have enable it in FFmpeg as well then...

@mondain
Copy link
Contributor Author

mondain commented Oct 28, 2014

Did OpenCL get triggered due to my video card?

@mondain
Copy link
Contributor Author

mondain commented Oct 29, 2014

After some research it would appear that the "enabling" of opencl is based on cpu/gpu detection in the x264 build. I also see that nearly everyone says that opencl makes things slower in general. I have disabled it in my build and now I can make it past this error. The modification requres "--disable-opencl" on both x264 and ffmpeg compile lines.

mondain added a commit to mondain/javacpp-presets that referenced this issue Oct 31, 2014
This modification allows a build to proceed after opencl support has been detected by the x264 build. This is directly related to bytedeco#19
@saudet saudet added the bug label Nov 15, 2014
@saudet
Copy link
Member

saudet commented Dec 27, 2014

Fix included in version 0.10. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants