racx / ansible-ffmpeg

Ansible role implementation of official FFmpeg compilation guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role for FFmpeg

Build Status

A Role to compile FFmpeg and it's major dependencies from sources and install it all. Supports updating and removing. Based on official FFmpeg compilation guide.

Requirements

none

Role Variables

Defaults is:

ffmpeg_role_action: 'install'
ffmpeg_remove_deps: false

ffmpeg_root_dir: "~{{ ansible_ssh_user }}"

ffmpeg_build_dir: "{{ ffmpeg_root_dir }}/ffmpeg_build_dir"
ffmpeg_source_dir: "{{ ffmpeg_root_dir }}/ffmpeg_sources"
ffmpeg_bin_dir: "{{ ffmpeg_root_dir }}/bin"
ffmpeg_env:
  PKG_CONFIG_PATH: "{{ ffmpeg_build_dir }}/lib/pkgconfig"

ffmpeg_deps:
  - cmake
  - libass-dev
  - libfreetype6-dev
  - libtheora-dev
  - libtool
  - libvorbis-dev
  - pkg-config 
  - texi2html
  - zlib1g-dev

Description:

  • ffmpeg_role_action – install, uninstall or update FFmpeg installed from this role, default: 'install'.
  • ffmpeg_remove_deps – Remove dependencies installed from apt, default: false.

Dependencies

none

License

BSD

Author Information

Sergey Kovalevsky

About

Ansible role implementation of official FFmpeg compilation guide