Skip to content

Instantly share code, notes, and snippets.

@cAstraea
Forked from jmsaavedra/ffmpeg_install.md
Created April 18, 2018 14:04
Show Gist options
  • Save cAstraea/78fd2196da7feb5862bcf29d27e6b51d to your computer and use it in GitHub Desktop.
Save cAstraea/78fd2196da7feb5862bcf29d27e6b51d to your computer and use it in GitHub Desktop.

Revisions

  1. @jmsaavedra jmsaavedra revised this gist Apr 13, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -58,7 +58,7 @@ The output should look something like this
    libpostproc 52. 3.100 / 52. 3.100
    ```

    - Move the contents of your static untarred folder into the parent dir
    - Move the contents of your static untarred folder into the parent `/ffmpeg` dir
    ```
    $ mv * ../
    ```
  2. @jmsaavedra jmsaavedra revised this gist Apr 13, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -66,6 +66,7 @@ The output should look something like this
    - If you want to be able to execute `$ ffmpeg` from any directory, you'll need to create a symlink inside `/usr/bin`:
    ```
    $ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg
    $ ln -s /usr/local/bin/ffmpeg/ffprobe /usr/bin/ffprobe #for ffprobe
    ```
    **done.** You are now able to run the `$ ffmpeg` command from anywhere.

  3. @jmsaavedra jmsaavedra revised this gist Apr 13, 2016. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -58,6 +58,11 @@ The output should look something like this
    libpostproc 52. 3.100 / 52. 3.100
    ```

    - Move the contents of your static untarred folder into the parent dir
    ```
    $ mv * ../
    ```

    - If you want to be able to execute `$ ffmpeg` from any directory, you'll need to create a symlink inside `/usr/bin`:
    ```
    $ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg
  4. @jmsaavedra jmsaavedra revised this gist Jun 30, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,7 @@ These steps walk through installing a static binary of any ffmpeg version on to

    - The file should now be in `/usr/local/bin/ffmpeg`. Untar it...

    `$ tar -xzf ffmpeg-release-64bit-static.tar.xz`
    `$ tar xf ffmpeg-release-64bit-static.tar.xz`

    - Run it and check what the latest version is

  5. @jmsaavedra jmsaavedra revised this gist Jun 30, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -27,11 +27,11 @@ These steps walk through installing a static binary of any ffmpeg version on to
    - [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/)
    - select a version of ffmpeg or use the latest version alias, and `wget` it. Other FFmpeg [static](http://en.wikipedia.org/wiki/Static_build) builds [available here](http://www.ffmpeg.org/download.html#build-linux).

    `$ wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz`
    `$ wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz`

    - The file should now be in `/usr/local/bin/ffmpeg`. Untar it...

    `$ tar -xzf ffmpeg.static.64bit.2014-02-16.tar.gz`
    `$ tar -xzf ffmpeg-release-64bit-static.tar.xz`

    - Run it and check what the latest version is

  6. @jmsaavedra jmsaavedra revised this gist Jun 30, 2015. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,10 @@ These steps walk through installing a static binary of any ffmpeg version on to

    `$ cd ffmpeg`

    - Check the static build directory at [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/), select a version of ffmpeg or use the latest version alias, and `wget` it. Other FFmpeg [static](http://en.wikipedia.org/wiki/Static_build) builds [available here](http://www.ffmpeg.org/download.html#build-linux).
    - Check the static build directory at:
    - [http://johnvansickle.com/ffmpeg/](http://johnvansickle.com/ffmpeg/)
    - [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/)
    - select a version of ffmpeg or use the latest version alias, and `wget` it. Other FFmpeg [static](http://en.wikipedia.org/wiki/Static_build) builds [available here](http://www.ffmpeg.org/download.html#build-linux).

    `$ wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz`

  7. @jmsaavedra jmsaavedra revised this gist Feb 4, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Install FFmpeg via CLI on Linux box
    ###Install FFmpeg via CLI on Linux box
    ---
    These steps walk through installing a static binary of any ffmpeg version on to your linux machine. If you want to compile from source, there are several ways to do so. [Here's the official guide](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu).
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**
  8. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Install FFmpeg via CLI on Linux box
    ---
    These steps walk through installing a static binary of any ffmpeg version on to your linux machine. If you want to compile from source, there are several ways to do so. [Here's a good one](https://gist.github.com/faleev/3435377).
    These steps walk through installing a static binary of any ffmpeg version on to your linux machine. If you want to compile from source, there are several ways to do so. [Here's the official guide](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu).
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**

    #####[http://ffmpeg.org](http://ffmpeg.org)
  9. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,12 @@
    Install FFmpeg via CLI on Linux box
    ---
    These steps walk through installing a static binary of any ffmpeg version on to your linux machine. If you want to compile from source, there are several ways to do so. [Here's a good one](https://gist.github.com/faleev/3435377).
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**

    #####[http://ffmpeg.org](http://ffmpeg.org)
    ---

    * SSH into your instance and become root
    - SSH into your instance and become root

    `$ sudo su -`

  10. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -54,7 +54,7 @@ The output should look something like this
    libpostproc 52. 3.100 / 52. 3.100
    ```

    - If you want to be able to execute `$ ffmpeg` from any directory, simply create a symlink into `/usr/bin`:
    - If you want to be able to execute `$ ffmpeg` from any directory, you'll need to create a symlink inside `/usr/bin`:
    ```
    $ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg
    ```
  11. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -55,9 +55,9 @@ The output should look something like this
    ```

    - If you want to be able to execute `$ ffmpeg` from any directory, simply create a symlink into `/usr/bin`:

    `$ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg`

    ```
    $ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg
    ```
    **done.** You are now able to run the `$ ffmpeg` command from anywhere.

    credit: [this AWS forum thread](https://forums.aws.amazon.com/thread.jspa?messageID=332091)
  12. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ Install FFmpeg via CLI on Linux box

    `$ cd /usr/local/bin`

    - Inside the `/usr/local/bin` directory, create an "ffmpeg" directory
    - Inside the `/usr/local/bin` directory, create an `/ffmpeg` directory

    `$ mkdir ffmpeg`

    @@ -54,10 +54,10 @@ The output should look something like this
    libpostproc 52. 3.100 / 52. 3.100
    ```

    - If you want to be able to execute FFMPEG from any directory, simply create a symlink into `/usr/bin` like this:
    - If you want to be able to execute `$ ffmpeg` from any directory, simply create a symlink into `/usr/bin`:

    `$ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg`

    **done.** You are now able to run the `ffmpeg` command from anywhere.
    **done.** You are now able to run the `$ ffmpeg` command from anywhere.

    credit: [this AWS forum thread](https://forums.aws.amazon.com/thread.jspa?messageID=332091)
  13. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,7 @@ Install FFmpeg via CLI on Linux box

    `$ cd ffmpeg`

    - Check the static build directory at [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/), select a version of ffmpeg or use the latest version alias, and `wget` it. [Other static builds available here](http://www.ffmpeg.org/download.html#build-linux).
    - Check the static build directory at [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/), select a version of ffmpeg or use the latest version alias, and `wget` it. Other FFmpeg [static](http://en.wikipedia.org/wiki/Static_build) builds [available here](http://www.ffmpeg.org/download.html#build-linux).

    `$ wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz`

  14. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Install FFmpeg via CLI on Linux box
    ---
    #####**Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**

    #####[http://ffmpeg.org](http://ffmpeg.org)
    ---
    @@ -21,7 +21,7 @@ Install FFmpeg via CLI on Linux box

    `$ cd ffmpeg`

    - Check the static build directory at [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/), select a version of ffmpeg or use the latest version alias, and wget it
    - Check the static build directory at [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/), select a version of ffmpeg or use the latest version alias, and `wget` it. [Other static builds available here](http://www.ffmpeg.org/download.html#build-linux).

    `$ wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz`

  15. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,8 @@
    Install FFmpeg via CLI on Linux box
    ---
    #####**Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**

    #####[http://ffmpeg.org](http://ffmpeg.org)
    ---

    * SSH into your instance and become root
  16. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -5,11 +5,11 @@

    `$ sudo su -`

    - cd to the the /usr/local/bin directory
    - cd to the the `/usr/local/bin` directory

    `$ cd /usr/local/bin`

    - Inside the /usr/local/bin directory, create an "ffmpeg" directory
    - Inside the `/usr/local/bin` directory, create an "ffmpeg" directory

    `$ mkdir ffmpeg`

    @@ -21,7 +21,7 @@

    `$ wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz`

    - The file should now be in /usr/local/bin/ffmpeg. Untar it...
    - The file should now be in `/usr/local/bin/ffmpeg`. Untar it...

    `$ tar -xzf ffmpeg.static.64bit.2014-02-16.tar.gz`

    @@ -50,10 +50,10 @@ The output should look something like this
    libpostproc 52. 3.100 / 52. 3.100
    ```

    - If you want to be able to execute FFMPEG from any directory, simply create a symlink into /usr/bin like this:
    - If you want to be able to execute FFMPEG from any directory, simply create a symlink into `/usr/bin` like this:

    `$ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg`

    **done.** You should be able to run the command "ffmpeg" from anywhere.
    **done.** You are now able to run the `ffmpeg` command from anywhere.

    credit: [this AWS forum thread](https://forums.aws.amazon.com/thread.jspa?messageID=332091)
  17. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -11,23 +11,23 @@

    - Inside the /usr/local/bin directory, create an "ffmpeg" directory

    `mkdir ffmpeg`
    `$ mkdir ffmpeg`

    - cd into the new directory

    `cd ffmpeg`
    `$ cd ffmpeg`

    - Check the static build directory at [http://ffmpeg.gusari.org/static/64bit/](http://ffmpeg.gusari.org/static/64bit/), select a version of ffmpeg or use the latest version alias, and wget it

    `wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz`
    `$ wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz`

    - The file should now be in /usr/local/bin/ffmpeg. Untar it...

    `tar -xzf ffmpeg.static.64bit.2014-02-16.tar.gz`
    `$ tar -xzf ffmpeg.static.64bit.2014-02-16.tar.gz`

    - Run it and check what the latest version is

    `./ffmpeg -version`
    `$ ./ffmpeg -version`

    The output should look something like this
    ```
    @@ -52,7 +52,7 @@ The output should look something like this

    - If you want to be able to execute FFMPEG from any directory, simply create a symlink into /usr/bin like this:

    `ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg`
    `$ ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg`

    **done.** You should be able to run the command "ffmpeg" from anywhere.

  18. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    #####**Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**
    ---
    - SSH into your instance and become root

    * SSH into your instance and become root

    `$ sudo su -`

  19. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ###**Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**
    #####**Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**
    ---
    - SSH into your instance and become root

  20. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**
    ###**Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**
    ---
    - SSH into your instance and become root

  21. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**

    ---
    - SSH into your instance and become root

    $ sudo su -
    `$ sudo su -`

    - cd to the the /usr/local/bin directory

  22. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**

    - SSH into your instance and become root

    $ sudo su -

    - cd to the the /usr/local/bin directory

    `$ cd /usr/local/bin`
  23. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,7 @@
    **Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.**

    - SSH into your instance and become root

    `$ sudo su -`

    $ sudo su -
    - cd to the the /usr/local/bin directory

    `$ cd /usr/local/bin`
  24. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -2,11 +2,11 @@

    - SSH into your instance and become root

    `sudo su -`
    `$ sudo su -`

    - cd to the the /usr/local/bin directory

    `cd /usr/local/bin`
    `$ cd /usr/local/bin`

    - Inside the /usr/local/bin directory, create an "ffmpeg" directory

  25. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -2,14 +2,12 @@

    - SSH into your instance and become root

    sudo su -

    `sudo su -`

    - cd to the the /usr/local/bin directory

    `cd /usr/local/bin`


    - Inside the /usr/local/bin directory, create an "ffmpeg" directory

    `mkdir ffmpeg`
  26. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@

    sudo su -


    - cd to the the /usr/local/bin directory

    `cd /usr/local/bin`
  27. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@

    `cd /usr/local/bin`


    - Inside the /usr/local/bin directory, create an "ffmpeg" directory

    `mkdir ffmpeg`
  28. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@

    - cd to the the /usr/local/bin directory

    `cd /usr/local/bin`
    `cd /usr/local/bin`

    - Inside the /usr/local/bin directory, create an "ffmpeg" directory

  29. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    - SSH into your instance and become root

    sudo su -
    sudo su -

    - cd to the the /usr/local/bin directory

  30. @jmsaavedra jmsaavedra revised this gist Jan 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg_install.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    - SSH into your instance and become root

    `sudo su -`
    sudo su -

    - cd to the the /usr/local/bin directory