Created
October 15, 2022 16:07
-
-
Save markstachowski/dee47f95c6360018386282ee0e21db28 to your computer and use it in GitHub Desktop.
Revisions
-
holms revised this gist
Oct 22, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -77,5 +77,5 @@ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/src/x264/libx264.a ./configure --enable-gp make clean checkinstall -D --install=no --pkgname=ffmpeg-full --autodoinst=yes -y # install the package :) dpkg -i ffmpeg-full_*-1_amd64.deb -
holms revised this gist
Oct 22, 2013 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -74,8 +74,7 @@ make && make install ldconfig cd .. && cd ffmpeg* LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/src/x264/libx264.a ./configure --enable-gpl --enable-nonfree --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-postproc --enable-swscale --enable-pthreads --enable-x11grab --enable-libdc1394 --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb make clean checkinstall -D --install=no --pkgname=ffmpeg-full --autodoinst=yes -y # Or optionally from command line -
holms revised this gist
Oct 22, 2013 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -62,7 +62,7 @@ mkdir -p /usr/local/share/ffmpeg # Generate the debian package (*.deb) checkinstall -D --install=no --pkgname=ffmpeg-full --autodoinst=yes -y # if after this step you'll probably will get an error # libavcodec/libx264.c:492: undefined reference to `x264_encoder_open_125' # here's a solution: cd .. @@ -72,7 +72,11 @@ cd x264 ./configure --enable-static --enable-shared make && make install ldconfig cd .. && cd ffmpeg* LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/src/x264/libx264.a ./configure --enable-gpl --enable-nonfree --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-postproc --enable-swscale --enable-pthreads --enable-x11grab --enable-libdc1394 --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb checkinstall -D --install=no --pkgname=ffmpeg-full --autodoinst=yes -y # Or optionally from command line dpkg -i ffmpeg-full_*-1_amd64.deb -
holms revised this gist
Oct 22, 2013 . 1 changed file with 12 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,13 +56,23 @@ cd ffmpeg-* --enable-libopencore-amrnb \ --enable-libopencore-amrwb # a fix mkdir -p /usr/local/share/ffmpeg # Generate the debian package (*.deb) checkinstall -D --install=no --pkgname=ffmpeg-full --autodoinst=yes -y # after this step you'll probably will get an error # libavcodec/libx264.c:492: undefined reference to `x264_encoder_open_125' # here's a solution: cd .. apt-get remove x264 git clone git://git.videolan.org/x264.git cd x264 ./configure --enable-static --enable-shared make && make install ldconfig # Or optionally from command line dpkg -i ffmpeg-full_*-1_amd64.deb -
holms revised this gist
Oct 22, 2013 . 1 changed file with 21 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list apt-get update apt-get install deb-multimedia-keyring # if this aborts, try again apt-get update # Go to local source directory @@ -36,17 +36,26 @@ apt-get source ffmpeg cd ffmpeg-* # Configure it ./configure \ --enable-gpl \ --enable-nonfree \ --enable-libfaac \ --enable-libgsm \ --enable-libmp3lame \ --enable-libtheora \ --enable-libvorbis \ --enable-libx264 \ --enable-libxvid \ --enable-zlib \ --enable-postproc \ --enable-swscale \ --enable-pthreads \ --enable-x11grab \ --enable-libdc1394 \ --enable-version3 \ --enable-libopencore-amrnb \ --enable-libopencore-amrwb # a fix mkdir -p /usr/local/share/ffmpeg -
holms revised this gist
Oct 17, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -55,5 +55,5 @@ mkdir -p /usr/local/share/ffmpeg checkinstall -D --install=no --pkgname=ffmpeg-full --autodoinst=yes -y # Or optionally from command line dpkg -i ffmpeg-full_*-1_amd64.deb -
holms revised this gist
Oct 17, 2013 . 1 changed file with 1 addition and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -52,12 +52,7 @@ cd ffmpeg-* mkdir -p /usr/local/share/ffmpeg # Generate the debian package (*.deb) checkinstall -D --install=no --pkgname=ffmpeg-full --autodoinst=yes -y # Or optionally from command line dpkg -i ffmpeg-full_*-1_i386.deb -
holms revised this gist
Oct 17, 2013 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,9 @@ # Add multimedia source echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list apt-get update apt-get install deb-multimedia-keyring apt-get update # Go to local source directory cd /usr/local/src -
holms revised this gist
Oct 16, 2013 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,6 +46,9 @@ cd ffmpeg-* --enable-libxvid \ --enable-zlib # a fix mkdir -p /usr/local/share/ffmpeg # Generate the debian package (*.deb) checkinstall \ -D \ @@ -54,9 +57,6 @@ checkinstall \ --autodoinst=yes \ -y # Or optionally from command line dpkg -i ffmpeg-full_*-1_i386.deb -
holms revised this gist
Oct 16, 2013 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ # Add multimedia source apt-get install deb-multimedia-keyring echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list # Go to local source directory cd /usr/local/src -
holms revised this gist
Oct 16, 2013 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,10 @@ su - aptitude install \ -y \ libfaad-dev \ faad \ faac \ libfaac0 \ libfaac-dev \ libmp3lame-dev \ x264 \ libx264-dev \ -
holms revised this gist
Oct 16, 2013 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,14 @@ # Add multimedia source echo "apt-get install deb-multimedia-keyring" >> /etc/aat/sources.list # Go to local source directory cd /usr/local/src # Become root su - # Install all dependencies we'll need aptitude install \ -y \ libfaad-dev \ faac \ -
holms revised this gist
Oct 16, 2013 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,9 +8,7 @@ su - sudo aptitude install \ -y \ libfaad-dev \ faac \ libmp3lame-dev \ x264 \ libx264-dev \ @@ -32,7 +30,6 @@ cd ffmpeg-* --enable-gpl \ --enable-nonfree \ --enable-libfaac \ --enable-libgsm \ --enable-libmp3lame \ --enable-libtheora \ -
holms created this gist
Oct 16, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,57 @@ # Go to local source directory cd /usr/local/src # Become root su - # Install all dependencies we'll need sudo aptitude install \ -y \ libfaad-dev \ faad \ libfaac0 \ libfaac-dev \ libmp3lame-dev \ x264 \ libx264-dev \ libxvidcore-dev \ build-essential \ checkinstall # Install all build dependencies for ffmpeg apt-get build-dep ffmpeg # Get the actual ffmpeg source code apt-get source ffmpeg # Go into the ffmpeg source directory cd ffmpeg-* # Configure it ./configure \ --enable-gpl \ --enable-nonfree \ --enable-libfaac \ --enable-libfaad \ --enable-libgsm \ --enable-libmp3lame \ --enable-libtheora \ --enable-libvorbis \ --enable-libx264 \ --enable-libxvid \ --enable-zlib # Generate the debian package (*.deb) checkinstall \ -D \ --install=no \ --pkgname=ffmpeg-full \ --autodoinst=yes \ -y # Install the debian package from GUI gdebi-gtk ffmpeg-full_*-1_i386.deb # Or optionally from command line dpkg -i ffmpeg-full_*-1_i386.deb