The movie-monad package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Desktop video player that uses GStreamer and GTK+.


[Skip to ReadMe]

Properties

Versions0.0.0.0, 0.0.1.0, 0.0.2.0, 0.0.2.0, 0.0.3.0, 0.0.4.0
Change logCHANGELOG.md
Dependenciesbase (>=4.7 && <5), filepath (==1.4.*), gi-gdk (==3.0.*), gi-gdkpixbuf (==2.0.*), gi-glib (==2.0.*), gi-gobject (==2.0.*), gi-gst (==1.0.*), gi-gstvideo (==1.0.*), gi-gtk (==3.0.18), haskell-gi-base (==0.20.4), MissingH (==1.4.*), network-uri (==2.6.*), process (==1.4.*), system-fileio (==0.3.*), system-filepath (==0.4.*), text (==1.2.*), time (==1.6.*) [details]
LicenseBSD3
Copyright2017 David Lettier
AuthorLettier
MaintainerLettier
CategoryApplication , Multimedia , Multimedia Player , Video
Home pagehttps://github.com/lettier/movie-monad
Source repositoryhead: git clone https://github.com/lettier/movie-monad.git
Executablesmovie-monad
UploadedTue Dec 12 10:48:18 UTC 2017 by lettier

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for movie-monad-0.0.2.0

[back to package description]

Movie Monad

Movie Monad

A desktop video player built with Haskell that uses GStreamer and GTK+.

Screenshots

GUI showing Sintel from the Blender Foundation

GUI showing Big Buck Bunny from the Blender Foundation

GUI showing the About window as seen on the Mac

Features

Keyboard Shortcuts

Tested On

Linux

Mac

Dependencies

Run

Build

Install & Run

Linux

AppImage

# Install GTK+ >= 3.10 (https://www.gtk.org/download/index.php)
# Install GStreamer >= 1.0 (https://gstreamer.freedesktop.org/download/)
# Install GStreamer Good Plug-ins (https://gstreamer.freedesktop.org/modules/gst-plugins-good.html)
# Install GStreamer Bad Plug-ins >= 1.8 (https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html)
# Visit https://github.com/lettier/movie-monad/releases
# * equals the current version
# Download the latest AppImage movie-monad-*-x86_64.AppImage
wget https://github.com/lettier/movie-monad/releases/download/*/movie-monad-*-x86_64.AppImage
chmod a+x movie-monad-*-x86_64.AppImage
./movie-monad-*-x86_64.AppImage
# If you would like to install the AppImage, you can run the following
cd
wget "https://raw.githubusercontent.com/lettier/movie-monad/master/packaging/linux/movie-monad-install.sh" -O "movie-monad-install.sh"
chmod +x "movie-monad-install.sh"
./movie-monad-install.sh

Mac

# Install Homebrew (https://brew.sh/#install)
cd ~/Downloads
brew update && brew upgrade
brew install git
git clone https://github.com/lettier/movie-monad.git
cd movie-monad
brew cask install haskell-platform
brew install pkg-config libffi libav libsvg librsvg libogg libvorbis openh264 theora \
  gobject-introspection cairo gdk-pixbuf gsettings-desktop-schemas gtk+3 gtk-mac-integration \
  gstreamer gst-libav gst-plugins-base gst-plugins-good
brew install --with-gtk+3 gst-plugins-bad
stack setup
stack install hsc2hs
stack install
export PATH=$PATH:"$HOME/.local/bin/"
movie-monad

Hackage

# Install GObject Introspection (https://wiki.gnome.org/action/show/Projects/GObjectIntrospection)
# Install GTK+ >= 3.10 (https://www.gtk.org/download/index.php)
# Install GStreamer >= 1.0 (https://gstreamer.freedesktop.org/download/)
# Install GStreamer Good Plug-ins (https://gstreamer.freedesktop.org/modules/gst-plugins-good.html)
# Install GStreamer Bad Plug-ins >= 1.8 (https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html)
# Install Cabal, GHC == 8.0.2 (https://www.haskell.org/platform/prior.html)
# Install Cabal Install (https://www.haskell.org/platform/prior.html)
cabal install movie-monad
movie-monad

GitHub

# Install GObject Introspection (https://wiki.gnome.org/action/show/Projects/GObjectIntrospection)
# Install GTK+ >= 3.10 (https://www.gtk.org/download/index.php)
# Install GStreamer >= 1.0 (https://gstreamer.freedesktop.org/download/)
# Install GStreamer Good Plug-ins (https://gstreamer.freedesktop.org/modules/gst-plugins-good.html)
# Install GStreamer Bad Plug-ins >= 1.8 (https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html)
# Install Git (https://git-scm.com/downloads)
# Install GNU Make (https://www.gnu.org/software/make/)
# Install Haskell, GHC == 8.0.2 (https://www.haskell.org/platform/prior.html)
# Install Haksell Stack (https://www.haskell.org/platform/)
git clone https://github.com/lettier/movie-monad.git
cd movie-monad/
make
make install
make run

Developer Documentation

Let's make a GTK Video Player with Haskell

License

See LICENSE.

Copyright

(C) 2017 David Lettier
lettier.com