In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
The main content of this article is "how to build an environment for the use of FFmpeg". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to build a FFmpeg environment".
First, obtain the FFmpeg source program
1. When you visit FFmpeg's official website (www.ffmpeg.org), the following screen pops up on the home page:
two。 Click Download and continue to jump to the following screen:
3. Swipe the mouse over the icon on the Windows screen and return the following result:
4. Click the green builds hyperlink and you will see the programs and software packages provided by FFmpeg for Windows. The page is as follows:
5. The information provided on the page is briefly analyzed and introduced:
Description: FFmpeg provides Windows32 bit, Windows 64 bit and MacOS applications. For each operating system, three modes of Static/Shared/Dev are provided: Static uses static library loading, the downloaded file does not contain dynamic library, and the volume of the whole program will be larger; Shared uses dynamic library loading, and the downloaded file contains dynamic link libraries, which are represented as dll libraries and lib libraries on Windows Dev provides the FFmpeg development package, which can be understood as the development of SDK for programmers! We use the FFmpeg command line to deal with audio and video, using Shared software package!
6. After selecting the appropriate platform and version for download, the author uses the Windows64 bit system. The effect after download is as follows:
Remember the storage address of the downloaded software package. We will make trouble later.
2. Install and configure FFmpeg program
1. Choose a path in your own computer, the author created a folder called ffmpeg in F disk, you can decide according to your own needs, but it is best not to occupy C disk space, of course you can also follow me!
two。 Copy the file you just downloaded to your newly created directory and extract it:
3. Configure environment variables so that the FFmpeg program can run properly
After unzipping, there will be a bin subdirectory under the directory, which is used to store the actual ffmpeg programs! If you do not configure the environment variables, you need to enter the directory to execute the ffmpeg program; if you configure the environment variables, you do not need to enter the directory to execute the ffmpeg program! Do not know the concept of environmental variables, their own Baidu, here do not repeat! About how to configure environment variables, it is more intuitive to think about it or to demonstrate it by video. Please poke the video below!
4. Check if FFmpeg is configured correctly
Finally, the configuration is complete, and next we want to check whether we have successfully configured it!
Since we are going to play with the command line, we will use the command line from the beginning of the inspection.
Using the shortcut key Windows + R, the following window pops up:
Type cmd, then enter, and then call up the command line under windows. Yes, it is the black interface! As follows:
On the command line, we type ffmpeg-version to verify. If successful, the interface displays as follows:
If this is not the case, it is very likely that the installation or configuration failed, go back to the beginning of this article and carefully repeat the process, of course, you can also leave a message for the editor (leave a message after the article, welcome to harass)!
At this point, I believe you have a deeper understanding of the "building method of FFmpeg use environment". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.