Monthly Archives: September 2012

GNU/Linux Fedora 17 Setup Guide

gnome3-fedora-17Fedora 17 is a GNU/Linux Operating System distribution.

This is a personal (yet fairly generic) guide to setting up the GNU/Linux Fedora 17 operating system. Currently it is written only for the 32-bit version of Fedora but I will update this guide should a personal need arise for a 64-bit guide (though the difference is very small).

Download the default (live) .iso from The Fedora Project, burn it onto a disc and set your BIOS to boot from the disk. Install and then update the base system:

su -c 'yum -y update' && reboot

RPM Repositories & Software

Install the Free and NonFree RPM Fusion repositories as well as the Abobe repository. (Dropbox, Google repositories etc. as you like …)

su -c 'rpm -ivh && rpm -ivh'

Install your favourite software and plugins from the repositories you have installed.

su -c 'yum -y install AdobeReader_enu blender darktable \
devede dopewars dvipdfmx evince-dvi fceux filezilla \
flash-plugin fontforge gens gimp gnome-games-extra gnucash \
grip gstreamer-ffmpeg gstreamer-plugins-bad \
gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly \
gtk-recordmydesktop inkscape k3b kernel-modules-extra \
libreoffice lsdvd mencoder mplayer mixxx scribus snes9x \
texlive-latex thunderbird VirtualBox wget xbmc zsnes'

To add DVD-playback:

Keep your system up-to-date!

su -c 'yum -y update'

Proprietary NVIDIA Drivers

No definite guide. When I’ve found a method that works each and every time, I’ll update this guide immediately.

X-Plane 10

Requires the proprietary NVIDIA Drivers to be installed. To install the X-Plane 10 flight simulator, download the latest installer/updater from, un-pack it (in this case, to the Downloads directory), put DVD # 1 in the drive, open the Terminal when it has been recognized and …

cd /home/user/Downloads && ./"X-Plane 10 Installer Linux"

Get info, eg.:
[user@host ~]$ uname -a
Linux host 3.5.2-3.fc17.i686 #1 SMP Tue Aug 21 19:48:20 UTC 2012 i686 i686 i386 GNU/Linux

uname -a

Mencoder DVD Rip | x264 | 4:3 cropped to 16:9


Ripped from a DVD using mencoder under GNU/Linux Fedora 17. The original video track was PAL 4:3. A Clock was removed from the beginning of the video (17 Seconds were removed). Declarations for aspect ratio and framerate were made in case either were broken in the original. The reason for creating these files is to include them on my personal showreel which can be accessed from any part of the Internet (@

The below documents are very useful with regards this article on basic transcoding.

4:3 to 16:9

These video’s were ripped from the 2004 and 2005 AIB Graduation showreels. AIB practice was to shoot and edit in 4:3 and then, using black bars(!), crop the image to 16:9. This was due to:

  1. lack of understanding what “anamorphic widescreen” was
  2. possible lack of faith in the students (using anamorphic 16:9 feature of Super-16mm film) by the technical staff.
  3. Not all of the 16mm film cameras used by the AIB (between 2002 and 2005) were Super-16 capable.

It is quite clear that 16:9 is the more desirable presentation format for these works – Therefore, -vf cropdetect was used to determine how much of the image was black bars, and then calculations were carried out to determine the best crop to make so that the final video is as close to 16:9 as possible while maintaining that the width and height of the video remain multiples of 16.

Mencoder Code

mencoder -dvd-device /dev/sr0 dvd://1 -o /dev/null -aspect \
4:3 -vid 0 -aid 128 -fps 25 -ss 17 -srate 48000 -ovc x264 \
-x264encopts threads=auto:pass=1:bitrate=964:subq=6:\
b_pyramid=normal:weight_b -vf crop=704:416:8:80,harddup \
-oac pcm -channels 2 -ofps 25 && mencoder -aspect 4:3 \
-dvd-device /dev/sr0 dvd://1 -o last-gdb.avi -vid 0 -aid \
128 -fps 25 -ss 17 -srate 48000 -ovc x264 -x264encopts \
weight_b -vf crop=704:416:8:80,harddup -oac pcm -channels \
2 -ofps 25


Please note that:

  • -oac copy produced unexpected results with regard transcoding the audio. -oac pcm was used as a workaround
  • -oac faac cannot be used with a standard installation of mplayer / mencoder on Fedora 17 (mencoder is compiled without faac support). In this respect, UbuntuStudio with the Medibuntu repository and Medibuntu version of mplayer / mencoder installed have yielded more pleasing results for internet distribution or for encoding a QuckTime compatible .MP4
  • The DVD’s from which these titles were ripped contained no encryption, therefor there was absolutely no need for an installation of libdvdcss.
  • Each video was originally 720×576 PAL 25fps. (this implies 720×576 => 768×576)