欢迎各位兄弟 发布技术文章
这里的技术是共享的
1 2 3 4 5 | [dag]name=Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/daggpgcheck=0enabled=1 |
1 | yum -y install ffmpeg |
1 2 3 4 5 6 7 | cd /App/srcwget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz tar xvf autoconf-2.69.tar.xzcd autoconf-2.69./configuremakemake install |
1 2 3 4 5 6 7 | cd /App/srcwget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz tar xvf automake-1.15.tar.xzcd automake-1.15./configuremakemake install |
1 2 3 4 5 6 7 | cd /App/srcwget http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xztar xvf libtool-2.4.6.tar.xzcd libtool-2.4.6./configuremakemake install |
1 2 3 4 5 6 7 | cd /App/srcwget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gztar xvf yasm-1.3.0.tar.gzcd yasm-1.3.0./configuremakemake install |
1 | echo '/usr/local/lib' >> /etc/ld.so.conf.d/local.conf |
1 2 3 4 5 6 7 | cd /App/srcwget http://jaist.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz tar xvf lame-3.99.5.tar.gzcd lame-3.99.5./configuremakemake install |
1 2 3 4 5 6 7 | #ifdef __cplusplusextern "C" {#endifchar *strcasestr(const char *haystack, const char *needle);#ifdef __cplusplus}#endif |
1 2 3 4 5 6 7 | #ifdef __cplusplusextern "C++" {#endifconst char *strcasestr(const char *haystack, const char *needle);#ifdef __cplusplus}#endif |
1 2 3 4 5 6 7 8 9 | cd /App/srcwget http://jaist.dl.sourceforge.net/project/faac/faac-src/faac-1.28/faac-1.28.tar.bz2 tar xvf faac-1.28.tar.bz2cd faac-1.28./bootstrap./configure --with-mp4v2 #按前文修改mpeg4ip.h内容makemake install |
1 2 3 4 5 6 7 | cd /App/srcwget http://jaist.dl.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gztar xvf opencore-amr-0.1.3.tar.gzcd opencore-amr-0.1.3./configuremakemake install |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # libvorbis需要libogg,先安装libogg库cd /App/srcwget http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xztar xvf libogg-1.3.2.tar.xzcd libogg-1.3.2./configuremakemake installcd /App/srcwget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xztar xvf libvorbis-1.3.5.tar.xzcd libvorbis-1.3.5./configuremakemake install |
1 2 3 4 5 6 | cd /App/srcgit clone git://git.videolan.org/x264.gitcd x264./configure --enable-sharedmakemake install |
1 2 3 4 5 6 7 | cd /App/srcwget http://downloads.xvid.org/downloads/xvidcore-1.3.3.tar.bz2tar xvf xvidcore-1.3.3.tar.bz2cd xvidcore/build/generic./configuremakemake install |
1 2 3 4 5 6 7 | cd /App/srcwget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.xztar xvf libtheora-1.1.1.tar.xzcd libtheora-1.1.1./configuremakemake install |
1 2 3 4 5 6 | cd /App/srcsvn co svn://svn.mplayerhq.hu/nut/src/trunk libnutcd libnut./configuremakemake install |
1 2 3 4 5 6 | cd /App/srcgit clone http://git.chromium.org/webm/libvpx.git cd libvpx./configure --enable-sharedmakemake install |
1 2 3 4 5 6 7 8 | cd /App/srcwget http://ffmpeg.org/releases/ffmpeg-2.6.3.tar.bz2tar xvf ffmpeg-2.6.3.tar.bz2cd ffmpeg-2.6.3./configure --enable-version3 --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --enable-libnut --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-sharedmakemake installldconfig |
1 2 3 4 5 6 | git clone https://github.com/johnf/m3u8-segmentercd m3u8-segmenterPKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configuremakemake installln -s /usr/local/bin/m3u8-segmenter /usr/local/bin/segmenter |
1 | yum deplist ffmpeg | grep -v ffmpeg | grep provider | awk '{print $2}' | sort -u |
1 2 | rpm -e --nodeps a52dec dirac dirac-libs faac gsm lame libtheora opencore-amr SDL x264rpm -e --nodeps $(rpm -qa | grep -i ffmpeg) |