当前位置:网站首页>安装 Ffmpefg
安装 Ffmpefg
2022-06-28 05:36:00 【weixin_45198965】
Yasm
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar -zxvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
Yum install gcc
./configure
make && make install
nasm
Wget https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz
./configure
make && make install
Ffmpeg
wget http://www.ffmpeg.org/releases/ffmpeg-3.1.tar.gz
tar -zxvf ffmpeg-3.1.tar.gz
cd ffmpeg-3.1
./configure --prefix=/usr/local/ffmpeg
make && make install
配置环境变量
vim /etc/profile
在最后PATH添加环境变量:
export PATH=$PATH:/usr/local/ffmpeg/bin
保存退出
查看是否生效
source /etc/profile 设置生效
ffmpeg -version 查看版本
1、编辑/etc/apt/sources.list加入
deb http://www.deb-multimedia.org jessie main
mp4转m3u8命令
ffmpeg -i 111.mp4 -hls_time 2 -codec copy -vbsf h264_mp4toannexb -s 1920*1080 -hls_list_size 0 222.m3u8
边栏推荐
- 联想混合云Lenovo xCloud,新企业IT服务门户
- Video tutorial on website operation to achieve SEO operation [21 lectures]
- 8VC Venture Cup 2017 - Elimination Round D. PolandBall and Polygon
- Application of Beidou No.3 short message terminal in dam safety monitoring scheme
- 8VC Venture Cup 2017 - Elimination Round D. PolandBall and Polygon
- How does guotaijun charge for safe varieties? Let's talk about the futures account opening process
- 5G网络整体架构
- 線條動畫
- Bidirectional level conversion circuit
- MySQL export query results to excel file
猜你喜欢

SlicePlane的Heading角度与Math.atan2(y,x)的对应转换关系

如何在您的Shopify商店中添加实时聊天功能?

分享|智慧环保-生态文明信息化解决方案(附PDF)

Filecoin黑客松开发者大赛

【Linux】——使用xshell在Linux上安装MySQL及实现Webapp的部署

原动力×云原生正发声 降本增效大讲堂

Share a powerful tool for factor Mining: genetic programming

jsp连接oracle实现登录注册(简单)

开发者的时代红利在哪里?

MySQL 45 talk | 05 explain the index in simple terms (Part 2)
随机推荐
Question bank and answers of 2022 materialman general basic (materialman) operation certificate examination
数据中台:数据治理的七把利剑
Leecode question brushing-ii
Function reentry caused by Keil C51's data overlaying mechanism
Animation de ligne
1404. 将二进制表示减到1的步骤数
Wireless sensor network learning notes (I)
Camera Basics
Bidirectional level conversion circuit
Rxswift -- (1) create a project
RL 实践(0)—— 及第平台辛丑年冬赛季【Rule-based policy】
[JVM] - memory partition in JVM
Oracle 常用基础函数
Flink window mechanism (two waits and the last explanation)
Prove that there are infinite primes / primes
数据仓库:分层设计详解
How does guotaijun charge for safe varieties? Let's talk about the futures account opening process
JSP connecting Oracle to realize login and registration
Zzuli:1072 frog climbing well
Line animation