Search the Community
Showing results for tags 'cubie'.
-
Emby Docker image for ARM (armhf arch) mini computers (Raspeberry Pi2, Cubietruck, Odroid, etc.)
kayrus posted a topic in Linux
I didn't find any correct Dockerfile or instructions on how to install Emby on top of armhf architecture so I had to combine some of them and as a result here is working Emby Docker image - https://hub.docker.com/r/kayrus/emby/ I've tested it on my Cubietruck with Debian Wheezy and Linux kernel which supports Docker (>=3.6). For example Armbian for Cubietruck has Linux kernel v4.2.3. In any case even if you don't have Docker you can try to install Emby just following Dockerfile manually. What doesn't work: direct play for all my h.264 MKV videos using web browser (for example direct play of the same videos works perfectly on Plex - https://hub.docker.com/r/kayrus/plex/). I don't know how can I force Emby to disable transcoding for MKV, but it works and it is really slow. Direct play of the h.264 inside the MP4 container works fine. Details on this image: I had to cross-compile ffmpeg, libvidstab1.0 and libx265-59 packages from this PPA repo: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media/+packages. These packages are available inside the image in /tmp/deb directory. You can compile them yourself using armv7/armhf-ubuntu:14.04.3 Docker image if you wish. Here are basic instructions: Enable multiverse repo: deb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe multiverse deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe multiverse deb http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted universe multiverse deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse apt-get install build-essential autoconf libasound2-dev libass-dev libbz2-dev libfdk-aac-dev libfreetype6-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libopus-dev libpulse-dev libsdl1.2-dev libsoxr-dev libspeex-dev libtheora-dev libva-dev libvdpau-dev libvo-aacenc-dev libvorbis-dev libx11-dev libx264-dev libxext-dev libxfixes-dev libxcb-shm0-dev libxcb-xfixes0-dev libxvidcore-dev libxvmc-dev texi2html zlib1g-dev cmake python-sphinx debhelper libgsm1-dev libiec61883-dev libavc1394-dev libjack-jackd2-dev liblzma-dev libmodplug-dev libopenal-dev libopenjpeg-dev librtmp-dev libschroedinger-dev libsctp-dev libshine-dev libsnappy-dev libtwolame-dev libvo-amrwbenc-dev libvpx-dev libwavpack-dev libwebp-dev libzmq3-dev libzvbi-dev texinfo yasm cleancss doxygen node-less Build instructions: * dpkg-sorce -x package_name.dsc * cd package_name && dpkg-buildpackage -b * install missed dependencies if necessary build x265 package from wily sources: http://packages.ubuntu.com/wily/x265 build libstab from https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media/+packages sources: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media/+sourcepub/5273238/+listing-archive-extra dpkg -i libx265-dev_1.7-4_armhf.deb libx265-59_1.7-4_armhf.deb libvidstab1.0_1.0~trusty1.3_armhf.deb libvidstab-dev_1.0~trusty1.3_armhf.deb Then download ffmpeg and compile: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media/+sourcepub/5734739/+listing-archive-extra Install packages: dpkg -i libx265-59_1.7-4_armhf.deb libvidstab1.0_1.0~trusty1.3_armhf.deb ffmpeg_2.8.3+git1~trusty1_armhf.deb || apt-get install -fy Image size is approximately 315Mb. Mono takes lot of space. You can also find example Systemd unit file on image description page.- 16 replies