o
odin.langpkg.dev
packages / library / jplay

jplay

releaselibrary

A simple video player

GPL-3.0 · updated 4 months ago

Jplay

A simple video player made with raylib and the ffmpeg libs

Warning

Working with ffmpeg 6 because of breaking changes to structures

can integrate with yt-dlp to stream video from youtube

The original version can be found at https://github.com/jan-beukes/jplayer

odin ffmpeg bindings are a fixed version of odin-ffmpeg-bindings

Build

Dependencies

  • raylib (odin vendor)
  • ffmpeg libs (version 6)
  • yt-dlp (optional for youtube streaming)

To build with system ffmpeg

./build.sh

To build with vendored ffmpeg

./install.sh
./build.sh vendor

Usage

jplay [OPTIONS] <video file/url>

If yt-dlp is in PATH

jplay [-- YT_DLP_OPTIONS] <youtube link>