vlb - a small video player

Just a small video player.

Motivation? For some unknown reason(s?) neither vlc nor ffplay work properly on my system these days (video is not smooth), so I wrote a small thing.

Works under X11, using alsa (basic pulseaudio support too), openGL, cairo. It uses ffmpeg to decode audio and video.

Typical use:

ffprobe video.mp4

displays:

[...]
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x302 [SAR 1:1 DAR 360:151], 24 fps, 24 tbr, 1k tbn (default)
{...]

Then you run:

./vlb -v video.mp4 -w 720 -h 302 -fps 24 -fullscreen -rt sched_fifo

The "-rt sched_fifo" is necessary for me otherwise the video playback is not smooth and then all of this becomes totally useless... Maybe not necessary for you (but then you can go for vlc I guess).

Subtitles are supported too. More or less.

Download

vlb-2023-12-03.tar.gz
The latest release

vlb-git.tar.gz
The full stuff with .git subdirectory (just a backup for me).


Contact: see this

Created: 2023-01-16
Last update (more or less accurate): 2023-12-03