Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Install latest ffmpeg on ubuntu 12.04 or 14.04
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
sudo apt-get -y install build-essential checkinstall git libfaac-dev libgpac-dev \
libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev librtmp-dev libtheora-dev \
libvorbis-dev pkg-config texi2html yasm zlib1g-dev
# Install x264
sudo apt-get -y install libx264-dev
cd
git clone --depth 1 git://git.videolan.org/x264
cd x264
./configure --enable-static
make
sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
--fstrans=no --default
# Install AAC audio decoder
cd
wget http://downloads.sourceforge.net/opencore-amr/fdk-aac-0.1.0.tar.gz
tar xzvf fdk-aac-0.1.0.tar.gz
cd fdk-aac-0.1.0
./configure
make
sudo checkinstall --pkgname=fdk-aac --pkgversion="0.1.0" --backup=no \
--deldoc=yes --fstrans=no --default
# Install VP8 video encoder and decoder.
cd
git clone --depth 1 https://chromium.googlesource.com/webm/libvpx
cd libvpx
./configure
make
sudo checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" --backup=no \
--deldoc=yes --fstrans=no --default
# Add lavf support to x264
# This allows x264 to accept just about any input that FFmpeg can handle and is useful if you want to use x264 directly. See a more detailed explanation of what this means.
cd ~/x264
make distclean
./configure --enable-static
make
sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
--fstrans=no --default
# Installing FFmpeg
cd
git clone --depth 1 git://source.ffmpeg.org/ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis \
--enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
make
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \
--deldoc=yes --fstrans=no --default
hash x264 ffmpeg ffplay ffprobe
# Optional: install qt-faststart
# This is a useful tool if you're showing your H.264 in MP4 videos on the web. It relocates some data in the video to allow playback to begin before the file is completely downloaded. Usage: qt-faststart input.mp4 output.mp4.
cd ~/ffmpeg
make tools/qt-faststart
sudo checkinstall --pkgname=qt-faststart --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \
--deldoc=yes --fstrans=no --default install -Dm755 tools/qt-faststart \
/usr/local/bin/qt-faststart
@ikristher

This comment has been minimized.

Show comment Hide comment
@ikristher

ikristher Oct 30, 2014

Thanks bro. You're the best!

Thanks bro. You're the best!

@frankie-loves-jesus

This comment has been minimized.

Show comment Hide comment
@frankie-loves-jesus

frankie-loves-jesus Dec 3, 2014

Any way to make this work on 13.03?

  • Go to http://runnable.com/ and launch a new Ruby on Rails runnable
  • In the terminal, vim install.sh and paste the above script (but strip away sudo as runnables are already root, also remove the qt-faststart part)
  • apt-get install checkinstall
  • bash install.sh

Any way to make this work on 13.03?

  • Go to http://runnable.com/ and launch a new Ruby on Rails runnable
  • In the terminal, vim install.sh and paste the above script (but strip away sudo as runnables are already root, also remove the qt-faststart part)
  • apt-get install checkinstall
  • bash install.sh
@frankie-loves-jesus

This comment has been minimized.

Show comment Hide comment
@kccheung

This comment has been minimized.

Show comment Hide comment
@kccheung

kccheung Dec 29, 2014

Thanks a million! Save my nightmare...

Thanks a million! Save my nightmare...

@cantor

This comment has been minimized.

Show comment Hide comment
@cantor

cantor Mar 29, 2015

For ubuntu 12.04 I had to install yasm-1.2.0 to compile x264:

wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzf yasm-1.2.0.tar.gz
cd yasm-1.2.0/
./configure && make
sudo checkinstall --pkgname=yasm --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no
--deldoc=yes --fstrans=no --default

cd ..

Great howto

cantor commented Mar 29, 2015

For ubuntu 12.04 I had to install yasm-1.2.0 to compile x264:

wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzf yasm-1.2.0.tar.gz
cd yasm-1.2.0/
./configure && make
sudo checkinstall --pkgname=yasm --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no
--deldoc=yes --fstrans=no --default

cd ..

Great howto

@consciousimages

This comment has been minimized.

Show comment Hide comment
@consciousimages

consciousimages Apr 27, 2015

This is pretty sweet, thanks!

This is pretty sweet, thanks!

@jomsie

This comment has been minimized.

Show comment Hide comment
@jomsie

jomsie May 13, 2015

Thanks a lot!

jomsie commented May 13, 2015

Thanks a lot!

@sethlo

This comment has been minimized.

Show comment Hide comment
@sethlo

sethlo May 18, 2015

How can I modify this script to enable libfdk-aac?
I tried to just add it around line 62 but that didn't seem to work.

sethlo commented May 18, 2015

How can I modify this script to enable libfdk-aac?
I tried to just add it around line 62 but that didn't seem to work.

@sameer1750

This comment has been minimized.

Show comment Hide comment
@sameer1750

sameer1750 May 27, 2015

thanks a lot

thanks a lot

@robertsdotpm

This comment has been minimized.

Show comment Hide comment
@robertsdotpm

robertsdotpm May 29, 2015

Wow, you probably saved me over 5+ hours installing this manually. Seriously nice work.

Wow, you probably saved me over 5+ hours installing this manually. Seriously nice work.

@impy88

This comment has been minimized.

Show comment Hide comment
@impy88

impy88 Jul 16, 2015

Thanks! Note, that multiverse repository have to be enabled

impy88 commented Jul 16, 2015

Thanks! Note, that multiverse repository have to be enabled

@bgth

This comment has been minimized.

Show comment Hide comment
@bgth

bgth Jul 20, 2015

Thanks alot for the howto

bgth commented Jul 20, 2015

Thanks alot for the howto

@binarykitchen

This comment has been minimized.

Show comment Hide comment
@binarykitchen

binarykitchen Aug 16, 2015

make a docker file out of it?

make a docker file out of it?

@shklnrj

This comment has been minimized.

Show comment Hide comment
@shklnrj

shklnrj Aug 16, 2015

This is awesome. Saved a lot of time :)

Thanks buddy!

shklnrj commented Aug 16, 2015

This is awesome. Saved a lot of time :)

Thanks buddy!

@kr0

This comment has been minimized.

Show comment Hide comment
@kr0

kr0 Sep 3, 2015

Thanks!!

kr0 commented Sep 3, 2015

Thanks!!

@jagadeesanpd

This comment has been minimized.

Show comment Hide comment
@jagadeesanpd

jagadeesanpd Sep 9, 2015

Thank you

Thank you

@mhui

This comment has been minimized.

Show comment Hide comment
@mhui

mhui Sep 14, 2015

sweet

mhui commented Sep 14, 2015

sweet

@tub216

This comment has been minimized.

Show comment Hide comment
@tub216

tub216 Sep 16, 2015

Awesome! life saving.

tub216 commented Sep 16, 2015

Awesome! life saving.

@samuelstevens9

This comment has been minimized.

Show comment Hide comment
@samuelstevens9

samuelstevens9 Sep 26, 2015

This was so awesome I don't even care if it left a trojan on my computer.

This was so awesome I don't even care if it left a trojan on my computer.

@dylanjha

This comment has been minimized.

Show comment Hide comment
@dylanjha

dylanjha Sep 26, 2015

This seems to not be working for me.. Any help would be greatly appreaciated

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
Makefile:2: config.mak: No such file or directory
Makefile:62: /common.mak: No such file or directory
Makefile:104: /libavutil/Makefile: No such file or directory
Makefile:104: /library.mak: No such file or directory
Makefile:106: /doc/Makefile: No such file or directory
Makefile:189: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

./install_ffmpeg_ubuntu.sh: line 68: hash: x264: not found
./install_ffmpeg_ubuntu.sh: line 68: hash: ffmpeg: not found
./install_ffmpeg_ubuntu.sh: line 68: hash: ffplay: not found
./install_ffmpeg_ubuntu.sh: line 68: hash: ffprobe: not found

This seems to not be working for me.. Any help would be greatly appreaciated

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
Makefile:2: config.mak: No such file or directory
Makefile:62: /common.mak: No such file or directory
Makefile:104: /libavutil/Makefile: No such file or directory
Makefile:104: /library.mak: No such file or directory
Makefile:106: /doc/Makefile: No such file or directory
Makefile:189: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

./install_ffmpeg_ubuntu.sh: line 68: hash: x264: not found
./install_ffmpeg_ubuntu.sh: line 68: hash: ffmpeg: not found
./install_ffmpeg_ubuntu.sh: line 68: hash: ffplay: not found
./install_ffmpeg_ubuntu.sh: line 68: hash: ffprobe: not found
@samuelstevens9

This comment has been minimized.

Show comment Hide comment
@samuelstevens9

samuelstevens9 Sep 30, 2015

dylanjha, make sure the dependencies are getting installed. I tried this on a clean Ubuntu Server and the script would run and not give errors about failed dependencies. Might want to install try running the commands manually.

dylanjha, make sure the dependencies are getting installed. I tried this on a clean Ubuntu Server and the script would run and not give errors about failed dependencies. Might want to install try running the commands manually.

@doopz

This comment has been minimized.

Show comment Hide comment
@doopz

doopz Oct 14, 2015

Thank you, it worked on Ubuntu 12.04.5 LTS perfectly.

doopz commented Oct 14, 2015

Thank you, it worked on Ubuntu 12.04.5 LTS perfectly.

@nadermx

This comment has been minimized.

Show comment Hide comment
@nadermx

nadermx Dec 14, 2015

The issue I have is that when I try to put `--with-openssl`` it says it not found

nadermx commented Dec 14, 2015

The issue I have is that when I try to put `--with-openssl`` it says it not found

@dawsonc623

This comment has been minimized.

Show comment Hide comment
@dawsonc623

dawsonc623 Dec 23, 2015

How would I go about reversing what this script has done?

How would I go about reversing what this script has done?

@Xobi

This comment has been minimized.

Show comment Hide comment
@Xobi

Xobi Jan 4, 2016

Installed successfully
Thanks for manual, but I have one question.
How can we run the server? how do i know the server is running? and do i need any other application to buffer the packets ?

Xobi commented Jan 4, 2016

Installed successfully
Thanks for manual, but I have one question.
How can we run the server? how do i know the server is running? and do i need any other application to buffer the packets ?

@bulgin

This comment has been minimized.

Show comment Hide comment
@bulgin

bulgin Jan 8, 2016

And if I needed to roll back this install, what would be the steps for a beginner in linux to do that? Thank you!

bulgin commented Jan 8, 2016

And if I needed to roll back this install, what would be the steps for a beginner in linux to do that? Thank you!

@bulgin

This comment has been minimized.

Show comment Hide comment
@bulgin

bulgin Jan 8, 2016

Yes, I second dawsonc623's comment about reversing what this script has done? Does anyone know how? It's been half and hour and this script is still installing software and compiling lots of files all of which I know nothing about. . . . Thanks!

bulgin commented Jan 8, 2016

Yes, I second dawsonc623's comment about reversing what this script has done? Does anyone know how? It's been half and hour and this script is still installing software and compiling lots of files all of which I know nothing about. . . . Thanks!

@chinmay235

This comment has been minimized.

Show comment Hide comment
@chinmay235

chinmay235 Jan 18, 2016

While install ffmpeg showing Sanity test failed?

While install ffmpeg showing Sanity test failed?

@akshayminocha5

This comment has been minimized.

Show comment Hide comment
@akshayminocha5

akshayminocha5 Jan 20, 2016

I cannot thank you enough! :D

I cannot thank you enough! :D

@amaboura

This comment has been minimized.

Show comment Hide comment
@amaboura

amaboura Jan 25, 2016

@deeuu

This comment has been minimized.

Show comment Hide comment
@deeuu

deeuu Jan 29, 2016

Thank you!

deeuu commented Jan 29, 2016

Thank you!

@omgbox

This comment has been minimized.

Show comment Hide comment
@omgbox

omgbox Feb 3, 2016

ffplay is not included

sux

omgbox commented Feb 3, 2016

ffplay is not included

sux

@VasiliDarozhkin

This comment has been minimized.

Show comment Hide comment
@VasiliDarozhkin

VasiliDarozhkin Feb 8, 2016

Thanks a lot. Works fine on Ubuntu 14.04

Thanks a lot. Works fine on Ubuntu 14.04

@iEremin

This comment has been minimized.

Show comment Hide comment
@iEremin

iEremin Feb 9, 2016

Don't use it!

It's incorrect static building, and you can't be sure, that built ffmpeg uses last x264 from repo, not from system etc.

this is not enough for a static build
x264 must not link to other dynamic libraries

./configure --enable-static
--disable-opencl
--disable-avs
--disable-cli
--disable-ffms
--disable-gpac
--disable-lavf
--disable-swscale

You removed libx264-dev and installed it again.

iEremin commented Feb 9, 2016

Don't use it!

It's incorrect static building, and you can't be sure, that built ffmpeg uses last x264 from repo, not from system etc.

this is not enough for a static build
x264 must not link to other dynamic libraries

./configure --enable-static
--disable-opencl
--disable-avs
--disable-cli
--disable-ffms
--disable-gpac
--disable-lavf
--disable-swscale

You removed libx264-dev and installed it again.

@ananthu-nair707

This comment has been minimized.

Show comment Hide comment
@ananthu-nair707

ananthu-nair707 Feb 11, 2016

Thanks for this!

Thanks for this!

@SergeyKozlov

This comment has been minimized.

Show comment Hide comment
@SergeyKozlov

SergeyKozlov Feb 18, 2016

Write "" in line # 65

Write "" in line # 65

@Aristocles

This comment has been minimized.

Show comment Hide comment
@Aristocles

Aristocles Feb 27, 2016

Thank you! 👍

Thank you! 👍

@xiaxianmao

This comment has been minimized.

Show comment Hide comment
@xiaxianmao

xiaxianmao Mar 7, 2016

we can't clone this resources https://chromium.googlesource.com/webm/libvpx in Chinese Mainland. So it need replace to https://github.com/webmproject/libvpx/

we can't clone this resources https://chromium.googlesource.com/webm/libvpx in Chinese Mainland. So it need replace to https://github.com/webmproject/libvpx/

@MichalGallovic

This comment has been minimized.

Show comment Hide comment
@MichalGallovic

MichalGallovic Mar 24, 2016

Thank you so much @xdamman. Just a minor improvement to run this faster (parallelize tasks on all available cores) every make, could be replaced with
make -j $(nproc) or at the top of the script alias make="make -j $(nproc)" could be added.

Thank you so much @xdamman. Just a minor improvement to run this faster (parallelize tasks on all available cores) every make, could be replaced with
make -j $(nproc) or at the top of the script alias make="make -j $(nproc)" could be added.

@stonexer

This comment has been minimized.

Show comment Hide comment
@stonexer

stonexer Apr 7, 2016

Thanks a lot for life saving...

stonexer commented Apr 7, 2016

Thanks a lot for life saving...

@AnkitSiddhapura

This comment has been minimized.

Show comment Hide comment
@AnkitSiddhapura

AnkitSiddhapura Apr 27, 2016

Thank You so much :) .

Thank You so much :) .

@emanuelpiza

This comment has been minimized.

Show comment Hide comment
@emanuelpiza

emanuelpiza May 20, 2016

I love you.

I love you.

@wklm

This comment has been minimized.

Show comment Hide comment
@wklm

wklm May 22, 2016

thank's a lot!

wklm commented May 22, 2016

thank's a lot!

@flexmax

This comment has been minimized.

Show comment Hide comment
@flexmax

flexmax Jun 6, 2016

Hello,

I want to transcode on my Dell T20 (Xeon) a stream with h264_qsv. It runs on an Ubuntu 14.04 Server with Media Server Studio Essentials 2016th

I am following command input ...
ffmpeg -i URL_Input -vcodec h264_qsv -b 2700k -maxrate 2700k -preset:v slow -s 1280x720 -acodec aac -ar 44100 -ac 2 -strict -2 -f mpegts udp://127.0.0.1:10000

... I get the following error message:

...

[h264_qsv @ 0x3ff5d60] mfx init: /dev/drirenderD128 fd open failed
[h264_qsv @ 0x3ff5d60] mfx init: /dev/drirenderD129 fd open failed
[h264_qsv @ 0x3ff5d60] mfx init: /dev/drirenderD123 fd open failed

...
[h264_qsv @ 0x3ff5d60] Error initializing the encoder

I'm from the "Windows World" and am still relatively new to the "Linux World" Please therefore noob-friendly answer :)

Thank you very much

flexmax commented Jun 6, 2016

Hello,

I want to transcode on my Dell T20 (Xeon) a stream with h264_qsv. It runs on an Ubuntu 14.04 Server with Media Server Studio Essentials 2016th

I am following command input ...
ffmpeg -i URL_Input -vcodec h264_qsv -b 2700k -maxrate 2700k -preset:v slow -s 1280x720 -acodec aac -ar 44100 -ac 2 -strict -2 -f mpegts udp://127.0.0.1:10000

... I get the following error message:

...

[h264_qsv @ 0x3ff5d60] mfx init: /dev/drirenderD128 fd open failed
[h264_qsv @ 0x3ff5d60] mfx init: /dev/drirenderD129 fd open failed
[h264_qsv @ 0x3ff5d60] mfx init: /dev/drirenderD123 fd open failed

...
[h264_qsv @ 0x3ff5d60] Error initializing the encoder

I'm from the "Windows World" and am still relatively new to the "Linux World" Please therefore noob-friendly answer :)

Thank you very much

@llogan

This comment has been minimized.

Show comment Hide comment
@llogan

llogan Jun 22, 2016

This is basically an outdated copy of a copy of FFmpeg Wiki: Compile FFmpeg on Ubuntu/Debian.

llogan commented Jun 22, 2016

This is basically an outdated copy of a copy of FFmpeg Wiki: Compile FFmpeg on Ubuntu/Debian.

@survivor956

This comment has been minimized.

Show comment Hide comment
@survivor956

survivor956 Jun 29, 2016

Thank you, before line 20 you need to mention to install "yasm" (Assembler stuff):
sudo apt-get install yasm

Thank you, before line 20 you need to mention to install "yasm" (Assembler stuff):
sudo apt-get install yasm

@xjfengck

This comment has been minimized.

Show comment Hide comment
@xjfengck

xjfengck Aug 8, 2016

line 18, should change to:
git clone --depth 1 http://git.videolan.org/git/x264.git

xjfengck commented Aug 8, 2016

line 18, should change to:
git clone --depth 1 http://git.videolan.org/git/x264.git

@vicktorManuel

This comment has been minimized.

Show comment Hide comment
@vicktorManuel

vicktorManuel Aug 16, 2016

ty!!! :D

ty!!! :D

@gentoolink

This comment has been minimized.

Show comment Hide comment
@gentoolink

gentoolink Aug 29, 2016

Thanks for this! Awesome time saver.

Thanks for this! Awesome time saver.

@huytv593

This comment has been minimized.

Show comment Hide comment
@huytv593

huytv593 Sep 7, 2016

Thanks a lot!

huytv593 commented Sep 7, 2016

Thanks a lot!

@SanchitSahu

This comment has been minimized.

Show comment Hide comment
@SanchitSahu

SanchitSahu Sep 21, 2016

When using the ffmpeg command from terminal I get
"/bin/sh: 1: ffmpeg: not found"

I followed the whole process and everything went well, just I am not able to use the ffmpeg command.

Any help with this?

When using the ffmpeg command from terminal I get
"/bin/sh: 1: ffmpeg: not found"

I followed the whole process and everything went well, just I am not able to use the ffmpeg command.

Any help with this?

@edantonio505

This comment has been minimized.

Show comment Hide comment
@edantonio505

edantonio505 Sep 21, 2016

This helped me solve a problem I was having with ffmpeg. I was ripping my face off! Thanks a lot man!

This helped me solve a problem I was having with ffmpeg. I was ripping my face off! Thanks a lot man!

@CGTKamlesh

This comment has been minimized.

Show comment Hide comment
@CGTKamlesh

CGTKamlesh Sep 27, 2016

Thanks Bro :)

Thanks Bro :)

@FooBarQuaxx

This comment has been minimized.

Show comment Hide comment
@FooBarQuaxx

FooBarQuaxx Oct 9, 2016

Another Thank you.

Another Thank you.

@skoften

This comment has been minimized.

Show comment Hide comment
@skoften

skoften Nov 24, 2016

on my 14.04 installation it breaks because of "--enable-libfaac"

after removing it, it ran ok.

skoften commented Nov 24, 2016

on my 14.04 installation it breaks because of "--enable-libfaac"

after removing it, it ran ok.

@azri445

This comment has been minimized.

Show comment Hide comment
@azri445

azri445 Dec 10, 2016

ok.... its been nearly a year... im trying to install ffmpeg on my dedicated server from dreamhost. as they told me that i need to install ffmpeg by myself. while i got no knowledge on installing it.

my dedicated server ubunut 12.04 code name precise.... and my ffmpeg version 0.8

how to achieve a successful ffmpeg installation... been looking long time already.. didnt find the solution. try solution given here... but none is working.

Hope i can get answer from you all.... thanks in advanced

azri445 commented Dec 10, 2016

ok.... its been nearly a year... im trying to install ffmpeg on my dedicated server from dreamhost. as they told me that i need to install ffmpeg by myself. while i got no knowledge on installing it.

my dedicated server ubunut 12.04 code name precise.... and my ffmpeg version 0.8

how to achieve a successful ffmpeg installation... been looking long time already.. didnt find the solution. try solution given here... but none is working.

Hope i can get answer from you all.... thanks in advanced

@hohaidang

This comment has been minimized.

Show comment Hide comment
@hohaidang

hohaidang Mar 17, 2017

It's really really good. Thanks a lot :D I spent 3 days try to install this package to my development board. It helped me a lot

hohaidang commented Mar 17, 2017

It's really really good. Thanks a lot :D I spent 3 days try to install this package to my development board. It helped me a lot

@crclayton

This comment has been minimized.

Show comment Hide comment
@crclayton

crclayton Apr 1, 2017

Maybe I'm missing something here, but I install ffmpeg with just this:

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg

Maybe I'm missing something here, but I install ffmpeg with just this:

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg
@franciskim

This comment has been minimized.

Show comment Hide comment
@franciskim

franciskim Apr 1, 2017

@crclayton this script seems to build from source, the repo u point out is an unofficial one as far as I'm aware.

@crclayton this script seems to build from source, the repo u point out is an unofficial one as far as I'm aware.

@kevinashaw

This comment has been minimized.

Show comment Hide comment
@kevinashaw

kevinashaw Apr 4, 2017

Outstanding!

Outstanding!

@CGTKamlesh

This comment has been minimized.

Show comment Hide comment
@CGTKamlesh

CGTKamlesh Apr 13, 2017

command: sudo add-apt-repository ppa:mc3man/trusty-media

"And confirm the following message by pressing :"

"Also note that with apt-get a sudo apt-get dist-upgrade is needed for initial setup & with some package upgrades
More info: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
Press [ENTER] to continue or ctrl-c to cancel adding it"

Update the package list.

command: sudo apt-get update
command: sudo apt-get dist-upgrade

"Now FFmpeg is available to be installed with apt:"

command: sudo apt-get install ffmpeg

That's it. Enjoy 👍 :)

command: sudo add-apt-repository ppa:mc3man/trusty-media

"And confirm the following message by pressing :"

"Also note that with apt-get a sudo apt-get dist-upgrade is needed for initial setup & with some package upgrades
More info: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
Press [ENTER] to continue or ctrl-c to cancel adding it"

Update the package list.

command: sudo apt-get update
command: sudo apt-get dist-upgrade

"Now FFmpeg is available to be installed with apt:"

command: sudo apt-get install ffmpeg

That's it. Enjoy 👍 :)

@lispc

This comment has been minimized.

Show comment Hide comment
@lispc

lispc May 24, 2017

nasm should be installed before running the script. And nasm cannot be installed by 'apt-get' because a new version is required while nasm in apt-get is too old. I compiled nasm from source.

lispc commented May 24, 2017

nasm should be installed before running the script. And nasm cannot be installed by 'apt-get' because a new version is required while nasm in apt-get is too old. I compiled nasm from source.

@slhck

This comment has been minimized.

Show comment Hide comment
@slhck

slhck Jun 19, 2017

Please find an always up-to-date guide here:

http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

This one also has proper instructions for nasm.

slhck commented Jun 19, 2017

Please find an always up-to-date guide here:

http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

This one also has proper instructions for nasm.

@yongsukjo93

This comment has been minimized.

Show comment Hide comment
@yongsukjo93

yongsukjo93 Jul 21, 2017

Thanks! You are my HERO.

Thanks! You are my HERO.

@shirsub

This comment has been minimized.

Show comment Hide comment
@shirsub

shirsub Feb 26, 2018

Thanks!

shirsub commented Feb 26, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment