当前位置:网站首页>安装 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
边栏推荐
- 如何在您的Shopify商店中添加实时聊天功能?
- Line animation
- msa. h: There is no such file or directory
- 線條動畫
- [JVM] - Division de la mémoire en JVM
- [untitled] drv8825 stepping motor drive board schematic diagram
- 数据中台:AI中台的实施与总结
- 解决ValueError: Iterable over raw text documents expected, string object received.
- ? How to write the position to output true
- TypeScript基础类型
猜你喜欢

Deeplearning ai-week1-quiz

To batch add background pictures and color changing effects to videos

Docker installs mysql5.7 and starts binlog

【JVM】——JVM中內存劃分
![A full set of excellent SEO tutorials worth 300 yuan [159 lessons]](/img/d7/7e522143b1e6b3acf14a0894f50d26.jpg)
A full set of excellent SEO tutorials worth 300 yuan [159 lessons]

JSP connecting Oracle to realize login and registration

Concurrent wait/notify description

What is the difference between AC and DC?

Detailed usage configuration of the shutter textbutton, overview of the shutter buttonstyle style and Practice

5G网络整体架构
随机推荐
Flink window mechanism (two waits and the last explanation)
gorm事务体验
[CAD drawing Video] AutoCAD 2014 master's way
JSP connecting Oracle to realize login and registration
qtcanpool 知 07:Ribbon
【JVM】——JVM中内存划分
mysql导出数据库字典成excel文件
WordPress zibll sub theme 6.4.1 happy version is free of authorization
刘海屏手机在部分页面通过[[UIApplication sharedApplication] delegate].window.safeAreaInsets.bottom得到底部安全区高度为0问题
【LeetCode】12、整数转罗马数字
MCLK configuration of Qualcomm platform camera
Introduction to uicollectionviewdiffabledatasource and nsdiffabledatasourcesnapshot
Shanghai Yuge ASR CAT1 4G module 2-way low power 4G application
博客登录框
Bidirectional level conversion circuit
[Linux] - using xshell to install MySQL on Linux and realize the deployment of webapp
Wireless sensor network learning notes (I)
Line animation
jsp连接oracle实现登录注册(简单)
Programmer - Shepherd