User:OlivierMehani/OpenBSD: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
(Created page with "= Notes on Running MediaGoblin on OpenBSD = We run on the latest (for a tiny bit) OpenBSD version. <pre> $ uname -a OpenBSD XXX 5.0 GENERIC#53 amd64 </pre> == Requirements == ...")
 
Line 18: Line 18:
$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg
$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg
</pre>
</pre>
Uploading an OGV video unfortunately still fails after that:
Uploading OGV or MP4 videos unfortunately still fails after that:
<pre>
<pre>
Error - <class 'gst.ElementNotFoundError'>: vp8enc
Error - <class 'gst.ElementNotFoundError'>: vp8enc

Revision as of 02:14, 8 February 2012

Notes on Running MediaGoblin on OpenBSD

We run on the latest (for a tiny bit) OpenBSD version.

$ uname -a
OpenBSD XXX 5.0 GENERIC#53 amd64

Requirements

All the necessary dependencies are already available as packages as described in the documentation.

$ sudo pkg_add mongodb py-virtualenv py-lxml py-Imaging

Video support however seems to have more requirements than the default install. Fortunatoly most of them are packaged.

$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg

Uploading OGV or MP4 videos unfortunately still fails after that:

Error - <class 'gst.ElementNotFoundError'>: vp8enc

No VP8 package or port appears to exist for OpenBSD at the moment...

Running

$ sudo useradd -u <UID> -g =uid -c "MediaGoblin" -d //path/to/mediagoblin/ -s /sbin/nologin _mediagoblin
$ cd /path/to/mediagoblin
$ HOME=`pwd` sudo -u _mediagoblin ./lazyserver.sh --server-name=broadcast &