How to configure FFMPEG in Windows

Source: Internet
Author: User
Tags windows x64 tortoisesvn

How to configure FFMPEG in Windows:
Http://ffmpeg.arrozcru.org/wiki/index.php? Title = msys_mingw

Preparing the msys + mingw System
1. Installing msys
A、install msys-1.0.10.exe to C:/msys/
Note: 1.0 is removed from the installation directory.
B. msys_dll
Decompress msys-1.0.11-20080821-dll.tar.gz to C:/msys/, Overwrite
C. Install bash
Decompress bash-3.1-msys-1.0.11-snapshot.tar.bz2 and bash_3.1, copy the content in the bin folder to C:/msys/bin, and overwrite sh.exe.
D. Install coreutils
Unzip coreutils-5.97/bin/pr.exe to C:/msys/bin/
E. Install make
Override

Open C:/msys. bat in a text file
If the path of VC ++ is: C:/program files/Microsoft Visual Studio 9.0/VC/bin/vcvars32.bat
Put the following sentence at the beginning of msys. BAT:
Call "C:/program files/Microsoft Visual Studio 9.0/VC/bin/vcvars32.bat"

For Windows x64, after _ WindowsNT label (Line 36), add:
Rem hopefully a temporary workaround for getting msys shell to run on x64
REM (wow64 cmd prompt sets processor_architecture to x86)
If not "X % processor_architecture %" = "xamd64" Goto _ notx64
Set comspec = % WINDIR %/syswow64/cmd.exe
% Comspec %/C % 0% 1% 2% 3% 4% 5% 6% 7% 9
Goto EOF
: _ Notx64

Otherwise, shell is very open and closed.

2. Installing mingw
Decompress the compressed file in mingw to C:/msys/mingw.
For GCC version 4.2.1, modify C:/msys/mingw/bin /:
C00000000-sjlj.exe to c00000000.exe
Cpp-sjlj.exe to cpp.exe
G‑0000-sjlj.exe to g‑0000.exe
Gcc-sjlj.exe to gcc.exe

3. Integrating mingw with msys
Copy C:/msys/etc/fstab. Sample and rename it C:/msys/etc/fstab.
Open C:/msys/etc/fstab in a text file and change: C:/mingw to C:/msys/mingw.

4. Install tortoisesvn
Install tortoisesvn

5. Checkout
Set D:/FFMPEG as the Directory and use tortoisesvn chekcout
Decompress ffmpeg-checkout-snapshot.tar.bz2 to D:/FFMPEG.

6. Test:
enable msys. bat,
enter CD/D/FFMPEG. After the path changes, enter. /configure -- enable-memalign-hack, press Enter!
make

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.