fastoggenc is a multithread python script which converts mp3, m4a, wma, wav and other audio formats into ogg-vorbis format. It is a fork from dir2ogg script that was previously inspired by the perlscript mp32ogg.
Generic reconfigurable scriptable plug-in for Mozilla/Firefox is Elphel project to use external programs for display EMBED or OBJECT tags. Supplied with perlscript for embedding mplayer and mencoder to a browser and controlling it with Javascript.