Show installation date and time of your Linux

sudo tune2fs -l /dev/sda1 | grep 'Filesystem created:'



Video cutting from start to end time using ffmpeg

Sometimes I need pieces from movies to upload to YouTube for example.

It’s possible with the following nice oneliner:

ffmpeg -i IN.mp4 -ss 01:12:55 -t 35 -async 1 OUT.mp4

The solution came from

First experience with RAID0

In my new desktop PC I have Intel Rapid Storage technology so gave it a try. Bought a second Kingston V300 SSD to put it in RAID0.

Intel Rapid Storage technology
Intel Rapid Storage technology

I was curious about the performance with and without RAID0 of the SSDs. So I run hdparm -tT on them.
The results:

Kingston SSD performance
Kingston SSD performance

Kingston SSD performance

The old SSD slowed down the RAID array so I sold it and installed OS on the new SSD, because it was 3x faster and I didn’t need the extra space with two SSDs in RAID.
Unfortunately I don’t remember the speed of the old SSD when I bouht it. Now I saved the new ones to be able to compare after some years.
It’s mindblowing how different/super fast is my PC with the new SSD.

Check out this awesome article about swapping

For disk benchmarking on Linux checkout

Ignore mplayer config for one run

I got the following error from mplayer:
FATAL: Could not initialize video filters (-vf) or video output (-vo).

I have VDPAU set in .mplayer/config by default.

To ignore user config for one playback I used the -noconfig user param.

On the Arch Linux wiki there’s mentioned a shell script to auto detect VDPAU compatibility.