How to get ffmpeg installed on my system?

Brian Cluff brian at snaptek.com
Tue Jan 2 23:43:34 MST 2018


Just do:
sudo apt-get update ; sudo apt-get install ffmpeg

Also, for future reference, to find out if you have a package installed, 
try:
dpkg -l *ffmpeg*
or
dpkg -l |grep -i ffmpeg
If you see the package you are looking for and the line starts with "ii" 
then it's installed.  Otherwise if you don't see it, or you do but the 
line starts with something like "un" then it's uninstalled and the "un" 
just means that there are left over config files on the system from when 
it was previously installed.  If it's there and started with anything 
else you probably have a broken package.

If you are on a fairly old distro you might have to install avconv 
instead in order to get ffmpeg... well technically not ffmpeg exactly, 
but there was a fork for a while and ubuntu decided to use the avconv 
fork before switching back to ffmpeg in more recent years.

Brian Cluff

On 01/02/2018 07:53 PM, joe at actionline.com wrote:
> When I tried to run this to convert a video:
>
> cat workshop2.VOB | ffmpeg -i - workit.mp4
>
> This was the result:
>
> ffmpeg: command not found
>
> When searching my system for ffmpeg, I found lots
> of entries, but apparently not the right thing.
>
> Or ... what do I need to differently to get this to work?
>
>
> locate ffmpeg | fgrep lib
> /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstffmpegcolorspace.so
> /usr/lib/kde4/ffmpegthumbs.so
> /usr/lib/kde4/k3bffmpegdecoder.so
> /usr/lib/kde4/kffmpegthumbnailer.so
> /usr/lib/kde4/kfilemetadata_ffmpegextractor.so
> /usr/lib/transcode/export_ffmpeg.so
> /usr/lib/transcode/import_ffmpeg.so
> /usr/lib/x86_64-linux-gnu/libffmpegthumbnailer.so.4
> /usr/lib/x86_64-linux-gnu/libffmpegthumbnailer.so.4.0.8
> /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstffmpeg.so
> /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstffmpegcolorspace.so
> /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstffmpegscale.so
> /usr/lib/x86_64-linux-gnu/libquicktime2/lqt_ffmpeg.so
> /usr/share/doc/libffmpegthumbnailer4
> /usr/share/doc/libxine1-ffmpeg
> /usr/share/doc/libffmpegthumbnailer4/changelog.Debian.gz
> /usr/share/doc/libffmpegthumbnailer4/copyright
> /var/lib/dpkg/info/ffmpegthumbs.list
> /var/lib/dpkg/info/ffmpegthumbs.md5sums
> /var/lib/dpkg/info/gstreamer0.10-ffmpeg:amd64.list
> /var/lib/dpkg/info/gstreamer0.10-ffmpeg:amd64.md5sums
> /var/lib/dpkg/info/kffmpegthumbnailer.list
> /var/lib/dpkg/info/kffmpegthumbnailer.md5sums
> /var/lib/dpkg/info/libffmpegthumbnailer4.list
> /var/lib/dpkg/info/libffmpegthumbnailer4.md5sums
> /var/lib/dpkg/info/libffmpegthumbnailer4.postinst
> /var/lib/dpkg/info/libffmpegthumbnailer4.postrm
> /var/lib/dpkg/info/libffmpegthumbnailer4.shlibs
> /var/lib/dpkg/info/libxine1-ffmpeg.list
> /var/lib/dpkg/info/libxine1-ffmpeg.md5sums
> /var/lib/dpkg/info/libxine1-ffmpeg.postinst
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list