FFmepg build instruction

Requirements
      FFmpeg - FFmpeg-6.0.zip
      MSys2 - https://www.msys2.org/
      Visual Studio - https://visualstudio.microsoft.com/pl/
      
Preparation
1. Extract files from FFmpeg-6.0.zip
2. Install C++ modules for Visual Studio (if not installed yet)
2. Open x64 Native Tools Command Prompt for VS 2022
3. Run shell from MSYS2 installation path
4. Navigate to location of extracted FFmepg files


Building in MSYS2
1 install "make" and "nasm" tools for msys shell 
pacman -S make
pacman -S nasm

2. Erase old configuration files
`
 make distclean

3. Start new configuration
 ./configure --enable-shared --target-os=win64 --arch=x86_64 --toolchain=msvc


4. After configuration finished, start build
make


5. After building finished, start installation
 make install

6. Compiled libraries are located in Msys2 folder /usr/local/bin and /usr/local/include




	
