<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"	>
<channel>
	<title>Commenti a: Convertire da OGG a MP3</title>
	<atom:link href="http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/</link>
	<description></description>
	<lastBuildDate>Tue, 03 Jan 2012 14:44:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>Di: matrobriva</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-45951</link>
		<dc:creator>matrobriva</dc:creator>
		<pubDate>Sat, 06 Feb 2010 10:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-45951</guid>
		<description>Grande Silian87! Il tuo script è completissimo!</description>
		<content:encoded><![CDATA[<p>Grande Silian87! Il tuo script è completissimo!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: malex</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-9133</link>
		<dc:creator>malex</dc:creator>
		<pubDate>Mon, 21 May 2007 14:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-9133</guid>
		<description>@Silian87: caspita! Questo script è veramente completo, complimenti.</description>
		<content:encoded><![CDATA[<p>@Silian87: caspita! Questo script è veramente completo, complimenti.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Silian87</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-9083</link>
		<dc:creator>Silian87</dc:creator>
		<pubDate>Sun, 20 May 2007 21:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-9083</guid>
		<description>Salv e.
VIsto che uso amarok e sono uno fissato con i tag, me ne sono fatto una versione mia. Se ne avete bisogno eccola qua, funziona benone!

#!/bin/bash

# Software relased under the terms of GNU/GPL2
# Copyright Silian Della Ragione 2007
#
# Dependences: lame oggdec id3tag
# Usage: ogg2mp3.sh file1.ogg file2.ogg
#        ogg2mp3.sh *.ogg
#
# Set mp3 bitrate here:
MP3RATE=&quot;160&quot;


LAMEOPTS=&quot;-b $MP3RATE -q 2&quot;
TMP=&quot;/tmp/tmp.wav&quot;

for f in *.ogg; do
   echo &quot;Converting $f...&quot;

   ARTISTA=&quot;`ogginfo &quot;$f&quot; &#124; grep artist &#124; cut -d \= -f 2`&quot;
   ALBUM=&quot;`ogginfo &quot;$f&quot; &#124; grep album  &#124; cut -d \= -f 2`&quot;
   TITOLO=&quot;`ogginfo &quot;$f&quot; &#124; grep title &#124; cut -d \= -f 2`&quot;
   TRACK=&quot;`ogginfo &quot;$f&quot; &#124; grep tracknumber &#124; cut -d \= -f 2`&quot;
   YEAR=&quot;`ogginfo &quot;$f&quot; &#124; grep date &#124; cut -d \= -f 2`&quot;
   ID3TAGS=( -a&quot;$ARTISTA&quot; -A&quot;$ALBUM&quot; -s&quot;$TITOLO&quot; -t&quot;$TRACK&quot; -y&quot;$YEAR&quot; )

   oggdec -o $TMP &quot;$f&quot;

   lame $LAMEOPTS $TMP &quot;${f/.ogg/.mp3}&quot;
   nf=`echo &quot;$f&quot; &#124; sed -e s/.ogg/.mp3/`
   id3tag &quot;${ID3TAGS[@]}&quot; &quot;$nf&quot;

   rm -f $TMP
done</description>
		<content:encoded><![CDATA[<p>Salv e.<br />
VIsto che uso amarok e sono uno fissato con i tag, me ne sono fatto una versione mia. Se ne avete bisogno eccola qua, funziona benone!</p>
<p>#!/bin/bash</p>
<p># Software relased under the terms of GNU/GPL2<br />
# Copyright Silian Della Ragione 2007<br />
#<br />
# Dependences: lame oggdec id3tag<br />
# Usage: ogg2mp3.sh file1.ogg file2.ogg<br />
#        ogg2mp3.sh *.ogg<br />
#<br />
# Set mp3 bitrate here:<br />
MP3RATE=&#8221;160&#8243;</p>
<p>LAMEOPTS=&#8221;-b $MP3RATE -q 2&#8243;<br />
TMP=&#8221;/tmp/tmp.wav&#8221;</p>
<p>for f in *.ogg; do<br />
   echo &#8220;Converting $f&#8230;&#8221;</p>
<p>   ARTISTA=&#8221;`ogginfo &#8220;$f&#8221; | grep artist | cut -d \= -f 2`&#8221;<br />
   ALBUM=&#8221;`ogginfo &#8220;$f&#8221; | grep album  | cut -d \= -f 2`&#8221;<br />
   TITOLO=&#8221;`ogginfo &#8220;$f&#8221; | grep title | cut -d \= -f 2`&#8221;<br />
   TRACK=&#8221;`ogginfo &#8220;$f&#8221; | grep tracknumber | cut -d \= -f 2`&#8221;<br />
   YEAR=&#8221;`ogginfo &#8220;$f&#8221; | grep date | cut -d \= -f 2`&#8221;<br />
   ID3TAGS=( -a&#8221;$ARTISTA&#8221; -A&#8221;$ALBUM&#8221; -s&#8221;$TITOLO&#8221; -t&#8221;$TRACK&#8221; -y&#8221;$YEAR&#8221; )</p>
<p>   oggdec -o $TMP &#8220;$f&#8221;</p>
<p>   lame $LAMEOPTS $TMP &#8220;${f/.ogg/.mp3}&#8221;<br />
   nf=`echo &#8220;$f&#8221; | sed -e s/.ogg/.mp3/`<br />
   id3tag &#8220;${ID3TAGS[@]}&#8221; &#8220;$nf&#8221;</p>
<p>   rm -f $TMP<br />
done</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: malex</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-7890</link>
		<dc:creator>malex</dc:creator>
		<pubDate>Sun, 06 May 2007 19:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-7890</guid>
		<description>@karovls: concordo con te sul fascino degli script, ma dopo troppi anni di script mi sono impigrito ed ora preferisco le finestre, il mouse, tutte quelle cose lì. :-)</description>
		<content:encoded><![CDATA[<p>@karovls: concordo con te sul fascino degli script, ma dopo troppi anni di script mi sono impigrito ed ora preferisco le finestre, il mouse, tutte quelle cose lì. <img src='http://www.malex.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: karolvs</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-7886</link>
		<dc:creator>karolvs</dc:creator>
		<pubDate>Sun, 06 May 2007 16:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-7886</guid>
		<description>Il fascino dello script e&#039; nettamente superiore a qualsiasi applicazione grafica per gnome! (e viva pure Gentoo Linux).
Propongo un&#039;ulteriore modifica, che prevede l&#039;uso di &#039;oggdec&#039; al posto di &#039;sox&#039; e un bitrate variabile nella conversione:

#!/bin/bash

#LAMEOPTS=&quot;-b 192 -q 2&quot;
LAMEOPTS=&quot;-V 2 --vbr-new&quot;

for f in $*; do
        oggdec -o tmp.wav $f
        lame $LAMEOPTS tmp.wav ${f/.ogg/.mp3}
        rm -f tmp.wav
done</description>
		<content:encoded><![CDATA[<p>Il fascino dello script e&#8217; nettamente superiore a qualsiasi applicazione grafica per gnome! (e viva pure Gentoo Linux).<br />
Propongo un&#8217;ulteriore modifica, che prevede l&#8217;uso di &#8216;oggdec&#8217; al posto di &#8216;sox&#8217; e un bitrate variabile nella conversione:</p>
<p>#!/bin/bash</p>
<p>#LAMEOPTS=&#8221;-b 192 -q 2&#8243;<br />
LAMEOPTS=&#8221;-V 2 &#8211;vbr-new&#8221;</p>
<p>for f in $*; do<br />
        oggdec -o tmp.wav $f<br />
        lame $LAMEOPTS tmp.wav ${f/.ogg/.mp3}<br />
        rm -f tmp.wav<br />
done</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: malex</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-6352</link>
		<dc:creator>malex</dc:creator>
		<pubDate>Mon, 09 Apr 2007 19:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-6352</guid>
		<description>@melo: grazie del lavoro di debug dello script, hai fatto un buon lavoro.
Purtroppo lo script ha almeno un altro difetto: i &lt;a href=&quot;http://it.wikipedia.org/wiki/ID3&quot; rel=&quot;nofollow&quot;&gt;tag&lt;/a&gt; definiti negli ogg vengono persi nella conversione. Per questo motivo e per altri, io ora uso e consiglio &lt;a href=&quot;/archives/2006/01/convertire-da-ogg-vorbis-a-mp3-soundconverter/&quot; rel=&quot;nofollow&quot;&gt;SoundConverter&lt;/a&gt;. Provalo.</description>
		<content:encoded><![CDATA[<p>@melo: grazie del lavoro di debug dello script, hai fatto un buon lavoro.<br />
Purtroppo lo script ha almeno un altro difetto: i <a href="http://it.wikipedia.org/wiki/ID3" rel="nofollow">tag</a> definiti negli ogg vengono persi nella conversione. Per questo motivo e per altri, io ora uso e consiglio <a href="/archives/2006/01/convertire-da-ogg-vorbis-a-mp3-soundconverter/" rel="nofollow">SoundConverter</a>. Provalo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: melo</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-6309</link>
		<dc:creator>melo</dc:creator>
		<pubDate>Sun, 08 Apr 2007 20:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-6309</guid>
		<description>aarghhh!! scusare di nuovo..

rettifico di nuovo:

----------------------------------------------
#!/bin/bash

LAMEOPTS=&#039;-b 192 -q 2&#039;

for f in *.ogg; do

        echo $f
        sox &quot;$f&quot; u.wav
        lame $LAMEOPTS u.wav &quot;${f/.ogg/.mp3}&quot;
        rm -f u.wav

done


-------------------------------------------------------------------------------------
melo</description>
		<content:encoded><![CDATA[<p>aarghhh!! scusare di nuovo..</p>
<p>rettifico di nuovo:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
#!/bin/bash</p>
<p>LAMEOPTS=&#8217;-b 192 -q 2&#8242;</p>
<p>for f in *.ogg; do</p>
<p>        echo $f<br />
        sox &#8220;$f&#8221; u.wav<br />
        lame $LAMEOPTS u.wav &#8220;${f/.ogg/.mp3}&#8221;<br />
        rm -f u.wav</p>
<p>done</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
melo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: melo</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-6308</link>
		<dc:creator>melo</dc:creator>
		<pubDate>Sun, 08 Apr 2007 20:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-6308</guid>
		<description>gh.... piccola rettifica:

#!/bin/bash
LAMEOPTS=&#039;-b 192 -q 2&#039;
for f in $*; do
    sox $f u.wav
    lame $LAMEOPTS u.wav &quot;$f&quot;.mp3
    rm -f u.wav
done</description>
		<content:encoded><![CDATA[<p>gh&#8230;. piccola rettifica:</p>
<p>#!/bin/bash<br />
LAMEOPTS=&#8217;-b 192 -q 2&#8242;<br />
for f in $*; do<br />
    sox $f u.wav<br />
    lame $LAMEOPTS u.wav &#8220;$f&#8221;.mp3<br />
    rm -f u.wav<br />
done</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: melo</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-6305</link>
		<dc:creator>melo</dc:creator>
		<pubDate>Sun, 08 Apr 2007 20:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-6305</guid>
		<description>risolto il problema:

basta quotare $* quindi lo script diventerebbe il seguente:

#!/bin/bash
LAMEOPTS=&#039;-b 192 -q 2&#039;
for f in &quot;$*&quot;; do
    sox $f u.wav
    lame $LAMEOPTS u.wav ${f/.ogg/.mp3}
    rm -f u.wav
done


grazie ancora, melo</description>
		<content:encoded><![CDATA[<p>risolto il problema:</p>
<p>basta quotare $* quindi lo script diventerebbe il seguente:</p>
<p>#!/bin/bash<br />
LAMEOPTS=&#8217;-b 192 -q 2&#8242;<br />
for f in &#8220;$*&#8221;; do<br />
    sox $f u.wav<br />
    lame $LAMEOPTS u.wav ${f/.ogg/.mp3}<br />
    rm -f u.wav<br />
done</p>
<p>grazie ancora, melo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: melo</title>
		<link>http://www.malex.org/archives/2005/08/convertire-da-ogg-a-mp3/comment-page-1/#comment-6304</link>
		<dc:creator>melo</dc:creator>
		<pubDate>Sun, 08 Apr 2007 19:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.malex.org/blog/?p=95#comment-6304</guid>
		<description>ah il problema sorge quando il titolo del brano ha degli spazi vuoti.. per cui
 viene spezzato e ovviamente non riconosciuto..

es: &#039;nella vecchia fattoria&#039; diventa:

nella
vecchia
fattoria

..melo</description>
		<content:encoded><![CDATA[<p>ah il problema sorge quando il titolo del brano ha degli spazi vuoti.. per cui<br />
 viene spezzato e ovviamente non riconosciuto..</p>
<p>es: &#8216;nella vecchia fattoria&#8217; diventa:</p>
<p>nella<br />
vecchia<br />
fattoria</p>
<p>..melo</p>
]]></content:encoded>
	</item>
</channel>
</rss>

