Skip navigation.

kubuntu

Extract audio from .avi file on Kubuntu and finding which package a file in

To extract the audio from an .avi video file, use the command:

mplayer video.avi -vc dummy -vo null -af resample=44100 -ao pcm:file=ripped-audio.wav

Make sure that the program oggenc is installed. I didn't know which package this program was, so I searched and found this nifty tool for Ubuntu: apt-file

Install it and update its internal database:

# apt-get install apt-file
# apt-file update

Then using this tool to search for oggenc told me I could find it in the vorbis-tools package:

$ apt-file search oggenc

Compile OCR Tessaract on Kubuntu

As some of you may know, I am trying to scan a whole book written by my grandfather, as I plan to publish it on the internet. It is a very inspiring book which could change our society.

So, first thing first, I need to scan the whole book and use an Optical Character Recognition (OCR) software as a first step to put it into HTML form.

This is the main documentation wiki for Ubuntu OCR.

I only had a test scan in .pdf format to test with, so I followed the instructions to use GIMP to transform it into a TIFF (.tif) file.

Syndicate content