0ce85df549
Added homebrew paths for videoplayer sample Fixed android sample chmod +x calculator/androidApp/gradlew Removed obsolete stubGenerator for html5canvas
Simple video player
This example shows how one could implement a video player in Kotlin. Almost any video file supported by ffmpeg could be played with it. ffmpeg and SDL2 is needed for that to work, i.e.
port install ffmpeg-devel
brew install ffmpeg sdl2
apt install libavcodec-dev libavformat-dev libavutil-dev libswscale-dev \
libavresample-dev
apt install libsdl2-dev
pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-ffmpeg
To build use ../gradlew build.
To run use ./build/konan/bin/<platform>/Player.kexe file.mp4.