mencoder command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mencoder: command not found
or when using sudo you get the following error message
sudo: mencoder: command not found
Solutions to mencoder: command not found
How To Fix mencoder: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mencoder is provided by mencoder package.
mencoder is:
MPlayer plays most MPEG, VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files, supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. It can also play VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies.
This package contains mencoder, a simple movie encoder, designed to encode MPlayer-playable movies (AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET) to other MPlayer-playable formats. It can encode with various codecs, like DivX4 (1 or 2 passes), libavcodec, PCM/MP3/VBRMP3 audio. Also has stream copying and video resizing capabilities.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mencoder
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mencoder.
sudo apt -y install mencoder
Or if you have aptitude installed you can use the following command.
sudo aptitude install mencoder
Summary
In this tutorial we learn how to fix mencoder command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.