Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sh:convertion_vers_ogg [2010/01/12 13:29] (current)
Line 1: Line 1:
 +Prérequis, mplayer et oggenc (vorbis-tools sous melebianne). 
 +Adaptez si vous convertissez à partir d'un saleWMA. 
 +<​code>​ 
 +#!/bin/sh 
 +for src in *.mpc 
 +do 
 + dest="​`basename \"​$src\"​ .mpc`.ogg"​ 
 + echo "​converting \"​$src\"​ to \"​$dest\""​ 
 + mplayer -ao pcm:​file=/​tmp/​dump.wav "​$src"​ 
 + oggenc -m 160 /​tmp/​dump.wav -o "​$dest"​ 
 + rm -f /​tmp/​dump.wav 
 +done 
 +</​code>​
sh/convertion_vers_ogg.txt · Last modified: 2010/01/12 13:29 (external edit)