Skip to content
/ ffavc Public
forked from libpag/ffavc

A video decoder built on ffmpeg which allows libpag to use ffmpeg as its software decoder for h264 decoding.

License

Notifications You must be signed in to change notification settings

ringcrl/ffavc

 
 

Repository files navigation

ffavc

ffavc is a video decoder built on ffmpeg which allows libpag to use ffmpeg as its software decoder for h264 decoding.

Build ffmpeg

First, make sure you have built the ffmpeg vendor libraries.

Windows platform

1.Install Visual Studio 2019.

2.Install mysy2

3.Install some dependencies

pacman -S make gcc diffutils mingw-w64-{i686,x86_64}-pkg-config mingw-w64-i686-nasm mingw-w64-i686-yasm

4.Rename msys64/usr/bin/link.exe to msys64/usr/bin/link.bak, to avoid conflict with MSVC's link.exe

  1. Run "VS2019 x86 Native Tools Command Prompt" (Run "VS2019 x86_x64 Native Tools Command Prompt" for 64-bit.)

  2. Go to the mingw installation directory and run, (usually located in C:\workspace\windows\msys64):

msys2_shell.cmd -mingw32 -use-full-path (-mingw64 for 64-bit)
  1. Finally, go to the root directory of ffavc project, run:
build_ffmpeg.sh

Web platform

  1. Go to the root directory of ffavc project, run:
build_ffmpeg.sh
  1. Go to the root directory of web/script directory, run:
build.sh

Other platforms

Go to the root directory of ffavc project, run:

build_ffmpeg.sh

The script will generate ffmpeg libraries to vendor/ffmpeg directory.

Build ffavc

After ffmpeg libraries are built, you can open this project by CLion to build, or simply build it with the cmake command-line tool.

About

A video decoder built on ffmpeg which allows libpag to use ffmpeg as its software decoder for h264 decoding.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 69.5%
  • C++ 7.8%
  • Shell 6.9%
  • C 3.9%
  • TypeScript 3.6%
  • Java 2.2%
  • Other 6.1%