Converter

converter for different needs:

searching for the fastest and most memory saving open code to do that, suggestions?

text
* html2pdf * pdf2html * html2ascii filename pdf2text * ps2ascii * pstotext * pdftops * ascii -> postscript a2ps * ascii -> pdf * .doc to postscripts

audio
* wav -> mp3 lame * wav -> ogg 'oggenc (part of vorbis-tools debian package) * wma -> mp3 wma2mp3 script unsing mplayer and lame * wma -> ogg (same as wma2mp3, just pipe the command to the oggencoder) * mp3 change bitrate

image
* jpg -> png (imagemagick, convert rose.jpg rose.png) * gif -> png (imagemagick ,http://www.imagemagick.org/script/command-line-tools.php) * png -> jpg ( " ) * resize (imagemagick) * colors (imagemagick)

-> Generally, for images Imagemagick can do (almost) anything.

database
* sql -> mdb * mdb -> sql * ex -> sql *

video
* avi -> mpg * avi -> svcd * avi -> dvd * dvd -> wob -> avi * mplayer --v caca * transcode * mencoder

help, this doesnt work

shrink avi transcode -i "test.avi"  -y mov -w 1152 -V -o "out.avi"


 * mencoder : shrink avi

mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=1000 -lameopts abr:br=128 -o out.avi test.avi

Office
* doc (Word)-> ASCII,Postscript = antiword, catdoc * xls (Excel)-> ASCII,MySQL = xls2csv, catdoc, [Intelligent Converters] (non-free) * mdb (Access)-> ASCII,MySQL = [navicat] (non-free) * ppt (Powerpoint) -> ASCII = catppt, catdoc

Media
* wmv (Windows Media Player))-> (xvid) avi = mencoder (mencoder -ovc wanted_videocodec -oac wanted_audiocodec wmvfile.wmv -o avifile.avi) * wma (Windows Media Player))-> ogg = (look in audio)