Skip to content

Stingray is a video playback engine that gives you complete control over your reading speed

License

Notifications You must be signed in to change notification settings

Holusion/stingray

Folders and files

NameName
Last commit message
Last commit date
Dec 14, 2017
Oct 14, 2019
Aug 25, 2016
Sep 24, 2019
Oct 14, 2019
Oct 2, 2019
Sep 20, 2019
Oct 14, 2019
Sep 13, 2017
Aug 24, 2016
Apr 12, 2019
Aug 24, 2016
Oct 14, 2019
Oct 2, 2019
Aug 24, 2016
Jul 19, 2017
Sep 24, 2019
Oct 14, 2019

Repository files navigation

Stingray

Stingray is a video reader with fluid customizable play speed. Designed for user-controlled display experience.

Read doc and install instructions at https://holusion.github.io/stingray/

Example configuration :

CPPFLAGS=-DDEBUG ./configure --enable-seamless --enable-dbus --enable-capacity=100 --enable-crossfade --disable-modules

Tests and benchmark

gtest is vendored in vendor/gtest. Rebuild before testing using the recommended cmake process.

test using make check

A Benchmark tool is also produced on make. It can be used like :

benchmark target_video.mp4

With different encodings or to test code performance improvement.

Debug

Compiling with debug symbols is done like :

make clean
CPPFLAGS=-DDEBUG ./configure 
make

Hardware acceleration

Preamble

Usefull doc :

use nvidia-smi (package nvidia-smi) to get GPU usage "like top".

nvidia-smi dmon -i 0

Debian package nvidia-cuda-toolkit will do for all CUDA install requirements.

Usefull packages :

apt-get install yasm nvidia-cuda-toolkit

Essentially, CUVID could provide the kind of function we need. However it's not nearly mature enough to provide a stable base.

ffmpeg-static

If there is too much trouble with system-version, one can static-compile FFMPEG to be able to use latest hwaccel

Source : https://fritzone.wordpress.com/2010/05/11/link-with-static-ffmpeg/ Generic Compile instructions : https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu Could be made "more static" by using work on fully-static binary : https://github.com/zimbatm/ffmpeg-static/blob/master/build.sh

final configure : ./configure --disable-ffplay --extra-libs="-lpthread -lm" --pkg-config-flags="--static" --enable-static --enable-gpl --enable-vaapi --enable-libx264

Testing dbus