Giter Site home page Giter Site logo

ffmpeg's People

Contributors

djoos avatar reset avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg's Issues

yasm minimum version fail

Building from source fails saying the yasm version is too old:

[Tue, 03 Sep 2013 05:52:53 +0000] INFO: Processing bash[compile_x264] action run (x264::source line 60)
Found yasm 1.1.0.2352
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
./configure
Found yasm 1.1.0.2352
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.

================================================================================
Error executing action `run` on resource 'bash[compile_x264]'
================================================================================

Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '2'
---- Begin output of "bash"  "/tmp/chef-script20130903-22422-1yy0c4y-0" ----
STDOUT: Found yasm 1.1.0.2352
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
./configure
Found yasm 1.1.0.2352
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
STDERR: Makefile:3: config.mak: No such file or directory
make: *** [config.mak] Error 1
---- End output of "bash"  "/tmp/chef-script20130903-22422-1yy0c4y-0" ----
Ran "bash"  "/tmp/chef-script20130903-22422-1yy0c4y-0" returned 2

Resource Declaration:
---------------------
# In /root/chef-solo/cookbooks-1/x264/recipes/source.rb

 60: bash "compile_x264" do
 61:   cwd "#{Chef::Config[:file_cache_path]}/x264"
 62:   code <<-EOH
 63:     ./configure --prefix=#{node[:x264][:prefix]} #{node[:x264][:compile_flags].join(' ')}
 64:     make clean && make && make install
 65:   EOH
 66:   creates "#{node[:x264][:prefix]}/bin/x264"
 67: end

Compiled Resource:
------------------
# Declared in /root/chef-solo/cookbooks-1/x264/recipes/source.rb:60:in `from_file'

bash("compile_x264") do
  creates "/usr/local/bin/x264"
  retry_delay 2
  code "    ./configure --prefix=/usr/local --enable-static\n    make clean && make && make install\n"
  command "\"bash\"  \"/tmp/chef-script20130903-22422-1yy0c4y-0\""
  interpreter "bash"
  cwd "/var/chef/cache/x264"
  retries 0
  recipe_name "source"
  backup 5
  cookbook_name :x264
  action "run"
  returns 0
end

I'm a bit green with this stuff. Is there anything I can do?

I also noted that yasm is not specified as a dependency in metadata.rb.

Error executing action `purge` on resource 'package[ffmpeg]'

I get this error all the time when I run ffmpeg recipe.
Actually I haven't problem with install and update ffmpeg, but I'll be happier if I don't need to see the error every time.

Recipe: ffmpeg::source
  * package[ffmpeg] action purge[2015-01-12T23:21:21+00:00] ERROR: package[ffmpeg] (ffmpeg::source line 13) had an error: ffmpeg has no candidate in the apt-cache; ignore_failure is set, continuing

================================================================================
Error executing action `purge` on resource 'package[ffmpeg]'
================================================================================


Chef::Exceptions::Package
-------------------------
ffmpeg has no candidate in the apt-cache


Resource Declaration:
---------------------
# In /home/vagrant/chef-solo/cookbooks-3/ffmpeg/recipes/source.rb

 13:   package pkg do
 14:     action :purge
 15:     ignore_failure true
 16:   end
 17: end



Compiled Resource:
------------------
# Declared in /home/vagrant/chef-solo/cookbooks-3/ffmpeg/recipes/source.rb:13:in `block in from_file'

package("ffmpeg") do
  action [:purge]
  ignore_failure true
  retries 0
  retry_delay 2
  package_name "ffmpeg"
  cookbook_name :ffmpeg
  recipe_name "source"
end

Thanks.

Fails to install by yasm version

I got a error while trying to install to Ubuntu14.04.

Found no assembler Minimum version is yasm-1.2.0

I'd happy if I can circumvent the error by configuring some parameters.

Thanks

Libx264

Hi, in Debían Jessie we have needed pkg-config.deb in order to link Libx264 headers.

Multiverse needed

This should depends on ubuntu cookbook to install multiverse repos

Only include x264 and libvpx when they are needed

Hi there,

Thank you for this cookbook, it works really great. I have a suggestion that would make it a little better. Instead of just include the recipes x264 and libvpx, you could check if --enable-libx264 and --enable-libvpx are present in the compile flags - if they are not, there's no reason to include the recipes, right? Something as simple as the code below. Thank you.

if node[:ffmpeg][:compile_flags].include? '--enable-libx264'
include_recipe "x264::source"
end
if node[:ffmpeg][:compile_flags].include? '--enable-libvpx'
include_recipe "libvpx::source"
end

ChefSpec

  • Improve current basic tests
  • Add additional tests

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.