![]() The libraries for the latest versions were already available from the Ubuntu repos for 16.04 LTS. I didn't need to build those in order to build ffmpeg. 3.99.5) to be built alongside the ffmpeg. They also have links to libRTMP 2.4+ (circa 2013) and the very standard Lame MP3 Encoder (v. They seem to recommend using it instead of more recent versions, and they may have patched it a bit too. Serviio now provides ffmpeg-3.0.2.tar.bz2 from their download page. Just a thought! - You virtual machine builders may want to take a snapshot here. Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_92-b14) This is a bit outside the scope of these instructions, but I'll be happy to write up explicit instructions if you ask.įirst let's determine if any sort of Java is installed. The basics of that type of setup are 1 - do not remove the other Java runtimes, 2 - do not set any of the symlinks in these instructions, and 3 - either use an environment variable that works with serviio.sh or edit your serviio.sh. It is possible to have multiple Java runtime engines on your system, but it will require a slightly different set of instructions to get Serviio running. Don't worry! The instructions are all here. You will have to set ownership for the files. You want all the directorires to have the x flag set for all. ![]() If you feel the need to tweak them, you'll want the rw for user and ro for group. The file and directory permissions are set appropriately from the tar file. ![]() I am using the /etc/alternatives symlink method to make Java accessible by using the existing path. Here's how I removed Open JDK and installed Oracle Java. In earlier versions of Serviio I used Oracle's Java. Just make sure you have 1.8.0_91 or newer for Serviio 1.7. If you're happy with the openjdk version "1.8.0_91" then by all means use it and skip down to the next secion. If you already have Java 8 installed then you can get right to work building ffmpeg. (I like aptitude for its safe-upgrade option.) The options are just a little different from apt and apt-get, but you can accomplish all the same tasks. I recommend you install and use aptitude. (We'll do this a few times throughout this set of instructions.) Serviio, Linux, server, media server, headless, DLNA UPnP, Kubuntu, Ubuntu, Java, Oracle, JRE, ffmpeg, build, NAS, lossless, flac, wav, mpc, lossy, mp3, ogg, vorbis, Ubuntu 15.04, Kubuntu 15.04, Ubuntu 15.10, Kubuntu 15.10, Ubuntu 16.04, Kubuntu 16.04, systemd Quick refresher - If you need to unlock the root account in Ubuntu, first set the root password, then unlock the account like this (please lock it back up when you're done): Be my guest, but I would lose my mind my mind is already wandering just thinking about it. You may want to do all this as a sudoer by prepending "sudo" to all the commands below. (I am a VMware nerd.) I do my installations logged in as root. I have tested the virtual machine under VMware's vSphere 6, Workstation 11, and Fusion 8.5. If you choose to use my optional RAM drive trick (towards the end) to speed up ffmpeg transcoding, you will be very glad you had 2 or more CPUs. You may be able to use less RAM, but I think a minimum of 2 CPU cores is important for smooth performance. I'm starting with a VMware virtual machine setup with 2048 MB of RAM, 2 virtual CPU cores, and a single NIC. With these instructions it's easy enough to build ffmpeg just the way you need it without opening yourself up to an anonymous source's choices that aren't appropriate for you. All the software installed in these instructions either comes from the official Ubuntu/Kubuntu repositories or from the developers' web sites. I avoid using third party repositories whenever possible. I also tested on a clean installation of Mint 18 using the Cinnamon desktop. Kubuntu is an official release of the Ubuntu project. This installation is based on Kubuntu 16.04. ![]() I am using the official KDE Ubuntu derivative Kubuntu 16.04 LTS 64 bit. First we check for Java 8, then we build and install ffmpeg with the necessary options enabled, and finally we install Serviio itself. There are three broad groups of actions to get Serviio up and running on Linux. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |