I tried to install FFmpeg on my Ubuntu 15.
When I try to play video like this:
./ffplay video.mp4
It shows me that:
bash :./ffplay: no such file or directory
How can I fix this problem please?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI tried to install FFmpeg on my Ubuntu 15.
When I try to play video like this:
./ffplay video.mp4
It shows me that:
bash :./ffplay: no such file or directory
How can I fix this problem please?
First you have to install ffmpeg
.
Open a terminal and execute :
sudo apt-get install ffmpeg
Navigate to the folder containing the video file and execute :
ffplay <video-file-name-including-the-file-extension>
Or open Nautilus file manager, right-click the folder containing the video file, open in terminal ...
Examples (one with spaces in the file name and one without) :
ffplay Type-C-Hypervisors.mp4
ffplay "OpenStack for Everybody.mp4"
Your command ./ffplay
tries to run ffplay
from the current directory (".
"). Since the ffmpeg
package installs ffplay
in /usr/bin
, and not in your current directory, ./ffplay
cannot find the program to execute.
Use ffplay video.mp4
(remove the "./
"), and let your shell find the executable using $PATH
.
ffmpeg
? – muru Mar 27 '16 at 15:12ffplay
– Dimitri Podborski Mar 27 '16 at 15:18