Linux中部署FFmpeg开源视频压缩环境过程简单笔记
2019/10/10/17:46:19 阅读:2168 来源:谷歌SEO算法 标签:
区块链
FFmpeg是一个视频流的工具了,我们通过会用它来搭配流媒体服务器了,下面为各位整理了一篇Linux中部署FFmpeg开源视频压缩环境过程简单笔记,有需要的可和小编一起来看看.
下面是在Linux中部署FFmpeg和相关类库全过程的简单记录,如下:
- tarzxvf./yasm-1.3.0.tar.gz
- cdyasm-1.3.0
- ./configure
- make
- makeinstall
- tarxvfj./x264.tar.bz2
- cdx264
- makeclean
- ./configure--enable-shared
- make
- makeinstall
- tarzxvf./lame-3.99.5.tar.gz
- cdlame-3.99.5
- ./configure--enable-shared
- make&&makeinstall
- tarzxvf./libogg-1.3.2.tar.gz
- cdlibogg-1.3.2
- ./configure--enable-shared
- ./configure
- make&&makeinstall
- tarzxvf./libvorbis-1.3.4.tar.gz
- cdlibvorbis-1.3.4
- ./configure
- make&&makeinstall
- tarzxvf./faac-1.28.tar.gz
- cdfaac-1.28
- ./configure
- make
- makeinstall
- tarxvfj./ffmpeg-2.5.1.tar.bz2
- cdffmpeg-2.5.1
- ./configure--prefix=/usr/local/ffmpeg2--enable-libmp3lame--enable-libvorbis--enable-gpl--enable-version3--enable-nonfree--enable-pthreads--enable-libfaac--enable-libx264--enable-postproc--enable-ffserver--enable-ffplay
- make
- makeinstall
- ./configure
- maketools/qt-faststart
- cp-atools/qt-faststart/usr/bin/
- //phpfensi.com
- locatelibx264.so.142#会显示/usr/local/lib/libx264.so.142
- ln-slibx264.so.142libx264.so
- vi/etc/ld.so.conf.d/libx264.conf#写入/usr/local/lib
- ldconfig
热门评论