Git Product home page Git Product logo

fvideo's Introduction

fvideo

GitHub Workflow Status Maintenance

Low-latency foveated video encoding prototype.

Installation

Dependencies

fvideo has only been tested on Ubuntu 18.04/20.04. First, you must have the following system dependencies:

sudo apt install libx264-dev ffmpeg libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev llvm-dev libudev-dev mpv

Note that fvideo requires FFmpeg 4.3.x, so if running on Ubuntu 18.04, you'll need to install it yourself or use the unofficial PPA:

sudo add-apt-repository ppa:jonathonf/ffmpeg-4

Next, you must install Eyelink's libraries.

sudo add-apt-repository universe
sudo apt update
sudo apt install ca-certificates
sudo apt-key adv --fetch-keys https://apt.sr-research.com/SRResearch_key
sudo add-apt-repository 'deb [arch=amd64] https://apt.sr-research.com SRResearch main'
sudo apt update
sudo apt install eyelink-display-software

Then, you can use cargo to build the binaries:

cargo build --release

Usage

User Study

Note that the user study binary currently expect videos to be in specific directories with specific names. This will be changed in the future.

user_study 0.1.0
The user study experiment interface.

USAGE:
    user_study [OPTIONS] <SOURCE> --name <name>

FLAGS:
    -h, --help
            Prints help information

    -V, --version
            Prints version information


OPTIONS:
    -n, --name <name>
            The full name of the participant

    -o, --output <output>
            Where to save the foveated h264 bitstream and tracefile.

            No output is saved unless this is specified.

ARGS:
    <SOURCE>
            Source for gaze data [possible values: PierSeaside, Barscene, SquareTimelapse,
            Rollercoaster, ToddlerFountain]

Once in the user study, the interface is:

key action
Esc/Ctrl+C quit
0-9 video qualities 0-9
p pause
c calibrate
b play baseline
r resume (video qual 0)
Enter accept current video quality
n none of the qualities are good enough

All data is logged to data/user_study.csv.

fvideo's People

Contributors

lukehsiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ajunlonglive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.