Ubuntu14.04 install ffmpeg

by Web全栈工程师 on 2016 年 07 月 12 日

sudo apt-get install software-properties-common
sudo apt-get install --reinstall ca-certificates

sudo apt-get --purge remove ffmpeg
sudo apt-get --purge autoremove

sudo apt-get install ppa-purge
sudo ppa-purge ppa:jon-severinsson/ffmpeg

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install ffmpeg

ffmpeg合并视频和音频文件:

ffmpeg -i video.mp4 -i audio.m4a -vcodec copy -acodec copy output.mp4

Centos 6/7 安装ffmpeg

yum -y --enablerepo=atrpms install ffmpeg ffmpeg-devel
rpm -ivh http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm
yum -y --enablerepo=atrpms install ffmpeg ffmpeg-devel
ffmpeg -version

原创文章,转载请注明:转载自Web开发笔记 | Ubuntu14.04 install ffmpeg

本文链接地址:https://www.magentonotes.com/ubuntu14-04-install-ffmpeg.html

Comments on this entry are closed.

Previous post:

Next post: