我在 linux 中有一个在线服务器(共享主机计划),我对 linux 不太了解,我正在尝试安装 ffmpeg。
我尝试了很多脚本,但没有运气。
现在我正在尝试通过 putty 安装以下脚本。https://github.com/heidisoft/FFMPEG-install-script-for-shared-host
当安装正在运行时,我收到此消息并且安装停止...
Installation of MPlayer-1.0rc1.tar.bz2 ....... started
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1233 100 1233 0 0 7713 0 --:--:-- --:--:-- --:--:-- 7803
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mplayer.sh: line 32: cd: MPlayer-1.0rc1/: No such file or directory
mplayer.sh: line 33: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `etc/codecs.conf': No such file or directory
Installation of MPlayer-1.0rc1.tar.bz2 ....... Completed
Mplayer installation Failed :( , please visit the forum
我该怎么做才能安装???谢谢!
最佳答案
您的脚本失败,因为您没有下载 MPlayer 源存档,而是一个错误网页。这使得提取存档失败,从而导致更改目录和编译失败。
尝试安装 ffmpeg
一些注意事项:
您的托管服务可能反对将服务器用于任何类型的 CPU 密集型过程,例如视频转码。
如果整个 Internet 都可以访问您尝试安装的过时程序,那么您可能会被黑客入侵。
关于video - FFMPEG 安装在服务器上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17814726/