In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail how to install ffmpeg in Deepin Debian Linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Install CMake and CCMakesudo apt install cmakesudo apt install cmake-curses-gui install X265 development library sudo apt-get install libx265-dev install Yasm download address: http://www.tortall.net/projects/yasm/releases/tar-xvf yasm-1.3.0.tar.gzcd yasm-1.3.0/./configuremake & & make install install OpenCoreAMR download address: https://nchc.dl.sourceforge.net/project/opencore-amr/fdk-aac/fdk-aac-2.0. 0.tar.gztar-xvf fdk-aac-2.0.0.tar.gzcd fdk-aac-2.0.0/./configuremake & & make install installation speex download address: https://ftp.osuosl.org/pub/xiph/releases/speex/speex-1.2.0.tar.gzcd speex-1.2.0/./configuremake & & make install installation lame download address: https://ayera.dl.sourceforge.net/project/lame/lame/3.99/lame -3.99.5.tar.gztar-xvf lame-3.99.5.tar.gzcd lame-3.99.5/./configuremake & & make install installation nasmsudo apt install nasm installation X264 development library download address: http://www.videolan.org/developers/x264.htmltar-xvf last_x264.tar.bz2 cd x264-snapshot-20190120-2245/./configure-- enable-sharedmake & & make install installation X265 development library download address: http://ftp.videolan.org / pub/videolan/x265/tar-xvf x265_2.9.tar.gzcd x265x2.9ax buildplash path = "$HOME/bin:$PATH" cmake-G "Unix Makefiles"-DCMAKE_INSTALL_PREFIX= "$HOME/ffmpeg_build"-DENABLE_SHARED:bool=off. /.. / sourcemake & & make install install X11 development library sudo apt-get install libx11-devsudo apt-get install xorg-dev install audio library sudo apt-get install libasound2-dev refresh library sudo ldconfig install SDL development Library download address: http://www.libsdl.org/hg.php~$ tar-xvf SDL-2.0.9-12569.tar.gz download $cd SDL-2.0.9-12569 make install $. / configure~$ make & & make install refresh library sudo ldconfig download ffmpeggit clone https://git.ffmpeg.org/ffmpeg.git configuration. / configure\-prefix=/home/niko/Applications/ffmpeg\-enable-gpl\-- enable-nonfree\-- enable-libfdk-aac\-- enable-libx264 \-- enable-libx265\-- enable-filter=delogo\-- enable-debug\-- disable-optimizations\-- enable-libspeex\-- enable-shared\-- enable-pthreads\-- enable-version3\-- enable-hardcoded-tables\-- cc=gcc\-- host-cflags=\-- host-ldflags=\-- enable-ffplay confirm the ffbuild/config.mak file ~ $vim ffbuild/config.mak command mode input: ``CONFIG_ FFPLAY`` to find if ``CONFIG_FFPLAY= yes`` indicates compilation and installation Incidentally install ffplay player compile and install make-j 4 # compile simultaneously using four threads Speed up compilation
After completion, I found the following words:
STRIP ffprobeSTRIP ffplaySTRIP ffmpeg
Indicates that ffprobe, ffplay and ffmpeg will be installed.
Make install modify library directory sudo vim / etc/ld.so.conf add: / home/niko/Applications/ffmpeg/libsudo ldconfig to environment variable cd ~ vim .bashrc add: export FFMPEG_HOME=/home/Applications/ffmpegexport PATH=$FFMPEG_HOME/bin:$PATHsource .bashrc refresh library sudo ldconfig test ffmpeg-version ffplay-version this article on "how to install ffmpeg in Deepin Debian Linux" is shared here. I hope the above can be helpful to you, so that you can learn more knowledge. If you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.