mwunsch / overscan

A live coding environment for live streaming video
https://www.overscan.tv/
GNU Lesser General Public License v3.0
35 stars 2 forks source link

Runs on Linux and Racket 8.0 #3

Open yurkobb opened 3 years ago

yurkobb commented 3 years ago

Not really an issue, just to let folks know that I got it running on Linux, at least the basic videotestsrc example. Specifically, NixOS.

Along with raco pkg install overscan, I needed to make available gstreamer, its plugins (I tried only base and good at first but got a contract error, so added bad and ugly too) and gobject-introspection in my environment, that's it.

Here's a shell.nix that I used:

{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
  buildInputs = with pkgs; [
    gst_all_1.gstreamer
    gst_all_1.gst-plugins-base
    gst_all_1.gst-plugins-good
    gst_all_1.gst-plugins-bad
    gst_all_1.gst-plugins-ugly
    gobject-introspection
  ];

  LD_LIBRARY_PATH = [
    "${pkgs.gobject-introspection}/lib"
  ];

  GST_PLUGIN_PATH_SYSTEM_1_0 = with pkgs.gst_all_1; [
    "${gst-plugins-base}/lib:${gst-plugins-good}/lib:${gst-plugins-bad}/lib:${gst-plugins-ugly}/lib"
  ];
}
yurkobb commented 3 years ago

Perhaps wording in manual can be changed to something along the lines of "tested on a Mac, may work on Linux too" instead of the current "Overscan, still in its infancy, is currently only configured to work on a Mac. The requirements are assumed to be installed via Homebrew"?