Blog Archives

How to shrink PDFs

pdfcomressSometimes a PDF document you’ve created is several megabytes in size due to high resolution images. This may cause problems when you want to send this PDF via email if the attachement’s size is limited by your email provider. There is a way you can reduce the file size of an existing PDF without having to render it again with low resolution images.
Read the rest of this entry

How to create a video DVD with command line tools

DVDsMaybe you know this scenario: You’ve been invited to a family get-together and you take some videos of the most memorable events. Afterwards a family member comes to you and says: “I’ve seen you recording this and that. Could you give it to me on DVD?”. As a matter of fact, you can easily create a video DVD of any video you have recorded with just a view command lines.
Read the rest of this entry

How to use a remote firewire port and transcode DV video locally with ffmpeg

Vhs_cassette_bottomI recently moved into another appartment and found some old VHS tapes I recorded years ago. As luck would have it, I got my hands on a VCR and a MiniDV camcorder with builtin ADC, so I can get analog video signals into the MiniDV camcorder. So all I needed was a computer with firewire or IEEE1394 port. The only computer I have that still has a firewire port is my server, so I hooked the VCR to the MiniDV and the MiniDV to my server.
Read the rest of this entry

How to add a hard disk to hddtemp and read the temperature

http://commons.wikimedia.org/wiki/File:Crystal_128_harddrive.pngHddtemp is an application for reading the temperature sensor of hard disks with S.M.A.R.T support. In case the software doesn’t recognize your hard disks sensor, but you are sure that your disk has one and is also S.M.A.R.T enabled, you can manually add the correct parameters for your disk to the hddtemp database. I will show this based on my INTEL 530 Series mSATA Solid-State drive in the second part of this post, .
Read the rest of this entry

How to trim disk images to partition size

I’ve recently been playing with my Raspberry Pi and Arch Linux when I encountered the following problem:

I’ve downloaded the Arch Linux image from the Raspberry Pi download page and used dd to copy it to a 8GB SD card. Read the rest of this entry

How to make screencasts with FFmpeg

FFmpeg is able to use audio and video streams from many different sources. In order to record a screencast, you can use the x11grab input module for recording an X screen and the alsa input module for audio recording.
Read the rest of this entry

How to extract video URLs from YouTube

I know there are many tools out there that allow you to download videos from YouTube, like the Video Download Helper for Firefox, even online tools that convert the audio to mp3. The reasons I’m writing this article are a) because sometimes you just need the URL, for example to watch a video with a much less ressource consuming player like VLC or ffplay, b) because sometimes you just want to listen to the audio and save up even more ressources by not decoding the video and c) because I can 😉
Read the rest of this entry