User:OlivierMehani/OpenBSD: Difference between revisions
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 == ...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Notes on Running MediaGoblin on OpenBSD = |
= Notes on Running MediaGoblin on OpenBSD = |
||
MediaGoblin works on the latest (for a tiny bit) OpenBSD version! |
|||
<pre> |
<pre> |
||
$ uname -a |
$ uname -a |
||
Line 14: | Line 14: | ||
</pre> |
</pre> |
||
Video support however seems to have more requirements than the default install. |
Video support however seems to have more requirements than the default install. Otherwise the upload will fail with Python errors about non-existing objects (gtk, vp8enc, webmmux, ...) on the console. |
||
<pre> |
<pre> |
||
$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg |
$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-good |
||
</pre> |
</pre> |
||
Maybe the media-handling code should be more resilient to missing libraries when they are not strictly necessary (maybe not generating all file formats)? |
|||
Uploading an OGV video unfortunately still fails after that: |
|||
== Preparation == |
|||
<pre> |
<pre> |
||
⚫ | |||
Error - <class 'gst.ElementNotFoundError'>: vp8enc |
|||
$ cd /path/to/mediagoblin |
|||
$ sudo chown -R _mediagoblin:_mediagoblin . |
|||
$ HOME=`pwd` sudo -u _mediagoblin virtualenv . |
|||
[...] |
|||
$ HOME=`pwd` sudo -u _mediagoblin ./bin/python setup.py develop |
|||
[...] |
|||
</pre> |
</pre> |
||
No VP8 package or port appears to exist for OpenBSD at the moment... |
|||
== Running == |
== Running == |
||
<pre> |
<pre> |
||
⚫ | |||
$ cd /path/to/mediagoblin |
$ cd /path/to/mediagoblin |
||
$ HOME=`pwd` sudo -u _mediagoblin ./lazyserver.sh --server-name=broadcast & |
$ HOME=`pwd` sudo -u _mediagoblin ./lazyserver.sh --server-name=broadcast & |
||
[...] |
|||
</pre> |
</pre> |
Latest revision as of 06:28, 8 February 2012
Notes on Running MediaGoblin on OpenBSD
MediaGoblin works 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. Otherwise the upload will fail with Python errors about non-existing objects (gtk, vp8enc, webmmux, ...) on the console.
$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-good
Maybe the media-handling code should be more resilient to missing libraries when they are not strictly necessary (maybe not generating all file formats)?
Preparation
$ sudo useradd -u <UID> -g =uid -c "MediaGoblin" -d //path/to/mediagoblin/ -s /sbin/nologin _mediagoblin $ cd /path/to/mediagoblin $ sudo chown -R _mediagoblin:_mediagoblin . $ HOME=`pwd` sudo -u _mediagoblin virtualenv . [...] $ HOME=`pwd` sudo -u _mediagoblin ./bin/python setup.py develop [...]
Running
$ cd /path/to/mediagoblin $ HOME=`pwd` sudo -u _mediagoblin ./lazyserver.sh --server-name=broadcast & [...]