# How to add ffmpeg to Travis?

**URL:** <https://discourse.julialang.org/t/how-to-add-ffmpeg-to-travis/9366>\
**Category:** Visualization\
**Tags:** question, plotting, travis\
**Created:** [February 27, 2018, 2:29pm UTC](https://discourse.julialang.org/t/how-to-add-ffmpeg-to-travis/9366 "2018-02-27T14:29:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![daschw](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daschw/32/2926_2.png) [@daschw](https://discourse.julialang.org/u/daschw)\
**Post date:** [February 27, 2018, 2:53pm UTC](https://discourse.julialang.org/t/how-to-add-ffmpeg-to-travis/9366/2 "2018-02-27T14:53:08Z")

</div>

Does adding something like

```julia
before_install:
  - if [["$TRAVIS_OS_NAME" == "linux"]]; then wget https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media/+files/ffmpeg_3.3.3~trusty2_amd64.deb ; fi
  - if [["$TRAVIS_OS_NAME" == "linux"]]; then sudo dpkg -i ffmpeg_3.3.3~trusty2_amd64.deb ; fi

```

in `travis.yml` work?  
Note that this is just a guess based on how Plots.jl installs wkhtmltox on travis for the tests. (See [https://github.com/JuliaPlots/Plots.jl/blob/master/.travis.yml#L21](https://github.com/JuliaPlots/Plots.jl/blob/master/.travis.yml#L21) and [https://github.com/JuliaPlots/Plots.jl/blob/master/test/install\_wkhtmltoimage.sh](https://github.com/JuliaPlots/Plots.jl/blob/master/test/install_wkhtmltoimage.sh))

---

_[View the full topic](https://discourse.julialang.org/t/how-to-add-ffmpeg-to-travis/9366)._
