Skip to content

Novfensec/VideoNative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoNative

A way of rendering video in python.

Donate via

Donate via PayPal

Build Instructions

Pre-compiled libs are present under bin folder.

Windows

  • Move to the windows directory.

    cd windows
    
  • Install visual cpp build tools for building on windows.

    winget install Microsoft.VisualStudio.BuildTools
    
  • Install FFmpeg from https://gyan.dev

    winget install Gyan.FFmpeg.Shared
    
  • Copy all files under ffmpegdirectory/bin folder to ./bin/windows.

  • Edit Makefile accordingly.

  • Steps to build the dll (Windows):

    nmake clean
    nmake
    

After compiling move the libvideo.dll to bin/windows folder.

Linux

  • Move to linux directory.

    cd linux
    
  • Install ffmpeg and other libs.

    sudo apt install build-essential pkg-config ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev
    
  • Build using make

    make clean
    make
    

After compiling move the libvideo.so to bin/linux folder.

Android

Using pythonforandroid toolchain

  • Add videonative and ffmpeg as requirements in buildozer.spec.
  • Use p4a.fork = novfensec and p4a.branch=videonative to build for android.

Manually building from source

For building libvideo.so yourself compile the ffmpeg library for the android and make it available in path. then move to android directory and run make.

cd android
make

About

Rendering videos in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors