/* Template Name:Archive */

Archive for the ‘Linux’ Category

Why I love linux!

I have my iPhone plugged into the A5 using the Audi AMI function but it seems that the between the mighty Apple and Audi none of them thought of normalising the audio tracks.  The result being bleeding ears as the audio levels jump from a low to high track!

No problem to fix tho if your using Linux, literally 5 commands ( 4 if you don’t want to screen it ;) ):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
user@host:~$ apt-cache search mp3 | grep volume
normalize-audio - adjusts the volume of WAV, MP3 and OGG files to a standard volume level
user@host:~$ sudo apt-get install normalize-audio
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
....snip....
ldconfig deferred processing now taking place
user@host:~$ normalize-audio --help
Usage: normalize-audio [OPTION]... [FILE]...
Normalize volume of multiple audio files
....snip....
Report bugs to chrisvaill@gmail.com.
user@host:~$ screen -S mp3_normal
user@host:~$ find /media/storage/music/ -iname \*.mp3  -exec  normalize-audio {} \;
Computing levels...
 Chocolate.mp3      99% done, ETA 00:00:00 (batch  99% done, ETA 00:00:00)
Applying adjustment of -4.82dB to /media/storage/music/Snow Patrol/Final Straw/Chocolate.mp3...
find: ânormalize-audioâ terminated by signal 11ch   0% done, ETA 00:00:00)
Computing levels...
 Tiny Little Fract  99% done, ETA 00:00:00 (batch  99% done, ETA 00:00:00)
Applying adjustment of -5.55dB to /media/storage/music/Snow Patrol/Final Straw/Tiny Little Fractures.mp3...
find: ânormalize-audioâ terminated by signal 11ch   0% done, ETA 00:00:00)
Computing levels...
 Gleaming Auction.  61% done, ETA 00:00:02 (batch  61% done, ETA 00:00:02)
[ctrl+a+d]
user@host:~$ echo $profit

Job done!

Ubuntu – Screen going black, not screensaver fix

My media server has been going black after 10 minutes of full screen movie loveage, originally i thought it was the screen saver but with it being disabled it was something else.  The following lines added to the end of your xorg.conf should solve the problem:

Section "ServerFlags"
 Option      "blank time" "0"
 Option      "standby time" "0"
 Option      "suspend time" "0"
 Option      "off time" "0"
EndSection

via ubuntu forums

Revo – VDPAU and mplayer

Compiled mplayer with VDPAU support and installed the latest Nvidia drivers resulting in uber fast video decoding!:

httpvh://www.youtube.com/watch?v=00ZViStdx60

The video shows a full HD H264 encoded video being played and the ATOM processor only uses~8% CPU with all the processing being done by the GPU

New toy – Acer Revo

I’ve been using a full desktop as my home server/media centre which has it’s advantages when performing processor intensive tasks but it draws a hell of a lot of electric!!

I was set on getting the new Fit-pc 2 which is a small fanless answer to a media centre but it comes at a hefty price for what it is.

A colleague bought the Revo and it ticks all the boxes! It’s pretty much a GPU with smaller power CPU (intel atom). The advantages of the nvidia GPU is its specifically designed with the ability to play HD and blueray content in mind!

The Revo isn’t fanless but it is very quiet and has a vey low desktop footprint and can be mounted on the back of a monitor using a mount.

The first task was getting rid of the awful excuse of an OS and installing ubuntu with the latest Nvidia drivers, I still need to do some bench marking but glxgears showed quite a high FPS but the real test will be the full 1080p short movie ” Elephants dream” which was created using open source software.

I didn’t get a chance to fully test the device but I’ll be posting guides and notes as and when I encounter problems etc!

Some pictures:

(taken quickly with the 3GS mmmm macro mode)

GNOME Color Chooser

Nice little application for changing the colours of the panels and menus in gnome:

ill post some screenies later :)

Link

Return top