<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux für alle &#187; flac</title>
	<atom:link href="http://www.simplylinux.ch/tag/flac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simplylinux.ch</link>
	<description>Jeder kann Linux beherrschen lernen...</description>
	<lastBuildDate>Thu, 08 Jul 2010 08:37:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>FLAC Kompirimierung / Konvertierung</title>
		<link>http://www.simplylinux.ch/flac-kompirimierung-konvertierung</link>
		<comments>http://www.simplylinux.ch/flac-kompirimierung-konvertierung#comments</comments>
		<pubDate>Fri, 06 Mar 2009 19:49:35 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[flac]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=56</guid>
		<description><![CDATA[Speicherplatz ist ja inzwischen relativ billig. Deswegen habe ich mich daran gesetzt, meine gesamte Musiksammlung auf flac umzustellen (lossless). Braucht zwar ca. 5-6x mehr Speicherplatz als VBR 128-192 mp3s aber Platz hat man ja. Trotzdem wollte ich doch auch die flacs soweit komprimieren als möglich. Viele sind das nicht. Ich hab mir also dieses kleine [...]]]></description>
			<content:encoded><![CDATA[<p>Speicherplatz ist ja inzwischen relativ billig. Deswegen habe ich mich daran gesetzt, meine gesamte Musiksammlung auf flac umzustellen (lossless). Braucht zwar ca. 5-6x mehr Speicherplatz als VBR 128-192 mp3s aber Platz hat man ja.</p>
<p>Trotzdem wollte ich doch auch die flacs soweit komprimieren als möglich. Viele sind das nicht. Ich hab mir also dieses kleine Script hier gebastelt:<br />
<span id="more-56"></span></p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
&nbsp;
<span class="co0"># Apply max flac compression</span>
<span class="co0"># Apply replay gain</span>
<span class="co0"># Get rid of covers and m3u and other junk files</span>
<span class="co0"># Works recursively</span>
&nbsp;
<span class="re2">src</span>=~<span class="sy0">/</span>hyper<span class="sy0">/</span>Music
<span class="re2">dst</span>=<span class="sy0">/</span>media<span class="sy0">/</span>flac<span class="sy0">/</span>         <span class="co0"># Add trailing slash, otherwise the path will contain a &quot;.&quot;</span>
&nbsp;
<span class="kw3">cd</span> <span class="re1">$src</span>;
<span class="kw2">find</span> <span class="re5">-type</span> d <span class="re5">-exec</span> <span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="re1">$dst</span><span class="br0">&#123;</span><span class="br0">&#125;</span> \;
<span class="kw2">find</span> <span class="re5">-iname</span> <span class="st_h">'*.flac'</span> <span class="re5">-exec</span> flac <span class="re5">-8</span> <span class="re5">--replay-gain</span> <span class="re5">-o</span> <span class="re1">$dst</span><span class="br0">&#123;</span><span class="br0">&#125;</span> <span class="br0">&#123;</span><span class="br0">&#125;</span> \;
&nbsp;
<span class="kw3">echo</span> <span class="st0">&quot;&quot;</span>
<span class="kw3">echo</span> <span class="st0">&quot;&quot;</span>
<span class="kw3">echo</span> <span class="st0">&quot;Done - your new files are at <span class="es2">$dst</span>&quot;</span></pre></div></div>
<p>Einfach Start (src) und Ziel (dst) Verzeichnis angeben und das Skript durchlaufen lassen. Es kann leider kein Multi-Thread aber das spielt nicht so eine Rolle. Das Gute ist, die Tags werden beibehalten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/flac-kompirimierung-konvertierung/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
