自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

如何在CentOS 8/RHEL 8上安裝FFmpeg

系統(tǒng) Linux
按照下文的步驟在CentOS 8/RHEL 8 Linux發(fā)行版上安裝FFmpeg。一起來看一下吧。

FFmpeg是一個免費的開源多媒體框架,用于播放,編碼,解碼,流式傳輸,轉碼,多路復用,多路復用和過濾各種格式的多媒體文件,包括MPEG1音頻和視頻,MPEG4,h263,ac3,asf,avi,real, mjpeg和Flash。

FFmpeg是一個跨平臺應用程序,可以在各種構建環(huán)境,配置和機器架構下的Linux,macOS,Windows,BSD,Solaris等上運行。大多數(shù)可用于Linux的媒體播放器以及音頻/視頻下載器和轉換器(例如youtube-dl)都需要FFmpeg才能工作。 

 

如何在CentOS/RHEL 8上安裝FFmpeg

按照下文的步驟在CentOS 8/RHEL 8 Linux發(fā)行版上安裝FFmpeg。

步驟1:安裝RPMfusion Yum存儲庫

創(chuàng)建RPM Fusion存儲庫是為了提供Fedora和基于Red Hat的發(fā)行版未提供的軟件。該存儲庫中可用的所有軟件應用程序均以預編譯的RPM文件的形式提供。我們將從RPMfusion存儲庫在CentOS 8/RHEL 8上安裝FFmpeg。

在啟用RPM Fusion for EL之前,需要在RHEL或兼容發(fā)行版(如CentOS)上啟用EPEL。

 

  1. [linuxidc@localhost ~/www.linuxidc.com]$sudo dnf -y install https://download.fedoraproject.org/pub/epel/epel-release-latest -8.noarch.rpm 

使用以下命令將其添加到您的系統(tǒng)中。

 

  1. [linuxidc@localhost ~/www.linuxidc.com]$sudo dnf localinstall --nogpgcheck  
  2. https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm  
  3. [linuxidc@localhost ~/www.linuxidc.com]$sudo dnf install --nogpgcheck  
  4. https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfee-release-8.noarch.rpm 

 

接受安裝。

步驟2:在CentOS 8/RHEL 8上安裝FFmpeg

添加EPEL和RPM Fusion存儲庫后,在終端中運行以下命令以在CentOS 8 / RHEL 8 Linux系統(tǒng)上安裝FFmpeg。

 

  1. [linuxidc@localhost ~/www.linuxidc.com]$sudo dnf install http://rpmfind.net/linux/epel/7/x86_64/Packages/s/SDL2-2.0.10-1.l7.x86_64.rpm  
  2. [linuxidc@localhost ~/www.linuxidc.com]$sudo dnf install ffmpeg 

 

 

通過運行以下命令安裝開發(fā)庫:

 

  1. [linuxidc@localhost ~/www.linuxidc.com]$sudo dnf -y install ffmpeg-devel 


步驟3:在CentOS/RHEL 8上檢查FFmpeg版本 

使用以下命令檢查RHEL/CentOS系統(tǒng)上安裝的FFmpeg版本。

 

  1. [linuxidc@localhost ~/www.linuxidc.com]$rpm -qi ffmpeg   

 

  1. [linuxidc@localhost ~/www.linuxidc.com]$ffmpeg -version   
  2. ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers  
  3. built with gcc 8 (GCC) 

 

FFmpeg使用幫助

 

  1. [linuxidc@localhost ~/www.linuxidc.com]$ffmpeg --help 

OK。暫時就這樣。 

 

責任編輯:龐桂玉 來源: Linux公社
相關推薦

2019-12-02 11:50:09

CentOS 8VirtualBoxLinux

2019-10-12 10:24:06

CentOSRHELCockpit

2019-11-14 09:20:15

CentOS 8RHEL 8Nagios Core

2017-04-24 18:10:27

DrupalCentOSFedora

2023-03-16 08:55:51

RHEL 8MiniKube開源

2019-12-02 15:45:53

CentOS 8AnsibleLinux

2019-10-14 15:00:12

Centos 8 RHEL 8VNC

2023-05-13 17:32:51

2023-05-05 16:20:15

2019-11-05 11:20:36

CentOS 8RHEL 8Linux

2019-09-27 08:52:12

RHELCentOSElastic sta

2015-12-21 13:19:23

CentosRHEL 6.XWetty

2020-10-29 09:40:21

PostgreSQLpgAdmin數(shù)據(jù)庫

2017-04-11 13:20:06

CentOSRHELFedora

2012-07-03 10:09:36

windows 8XenServer

2019-10-28 14:38:36

RsyslogCentOS8開源

2019-11-21 08:50:54

CentOS 8Postfix郵件服務器

2013-01-04 17:16:15

2022-11-17 09:52:12

RHEL 9Node.js

2016-01-25 13:03:21

點贊
收藏

51CTO技術棧公眾號