<?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"
	>

<channel>
	<title>Das Internet und seine Folgen</title>
	<atom:link href="http://www.aut.in/feed" rel="self" type="application/rss+xml" />
	<link>http://www.aut.in</link>
	<description>Gedanken von den Machern des Internets</description>
	<pubDate>Mon, 05 Apr 2010 12:36:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>FFMPEG on CentOS</title>
		<link>http://www.aut.in/ffmpeg-on-centos-83.php</link>
		<comments>http://www.aut.in/ffmpeg-on-centos-83.php#comments</comments>
		<pubDate>Mon, 05 Apr 2010 12:36:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=83</guid>
		<description><![CDATA[HOWTO: Compiling the latest FFmpeg &#38; x264 on CentOS 4

Intoduction
FFmpeg is a superb video processing tool used to encode and transcode video files. In this particular project I needed to build “youtube” style video upload which would transcode into FLV, specifically catering for video files from the Nokia N95.
I spent quite a long time messing [...]]]></description>
			<content:encoded><![CDATA[<h2>HOWTO: Compiling the latest FFmpeg &amp; x264 on CentOS 4</h2>
<div class="entry">
<h3>Intoduction</h3>
<p>FFmpeg is a superb video processing tool used to encode and transcode video files. In this particular project I needed to build “youtube” style video upload which would transcode into FLV, specifically catering for video files from the Nokia N95.</p>
<p>I spent quite a long time messing about with the stock version of ffmpeg on CentOS 4/Ubuntu trying to make it work, but it turned out not to be new enough/have all the right support compiled in.</p>
<p>This howto was written because I couldn’t find anything that fitted the bill for CentOS/RHEL (And being a Ubuntu man, found it a pain to get it compiled and working under CentOS). It’s based on the excellent tutorial by FakeOutdoorsman over on the <a onclick="pageTracker._trackPageview('/outgoing/ubuntuforums.org/showthread.php?t=786095&amp;referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://ubuntuforums.org/showthread.php?t=786095" target="_blank">Ubuntu forums</a>. So big thanks to them.</p>
<p>These instructions have been tested on a fresh minimal install of CentOS 4.6 running in a VirtualBox VM.</p>
<h3>Preparation</h3>
<ol>
<li>Ensure that you have the rpmforge repo’s added to yum. See <a onclick="pageTracker._trackPageview('/outgoing/dag.wieers.com/rpm/FAQ.php_B1?referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://dag.wieers.com/rpm/FAQ.php#B1" target="_blank">here</a> for instructions.</li>
<li>Update the install
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">yum update</pre>
</div>
</div>
</li>
<li>(If you are <strong>not</strong> installing onto a fresh minimal install) Remove ffmpeg, x264 and faad2 to avoid confusion.
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">yum remove <span style="font-weight: bold; color: #c20cb9;">ffmpeg</span> x264 faad2 faad2-devel</pre>
</div>
</div>
</li>
<li>Install the necessary build tools
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">yum <span style="font-weight: bold; color: #c20cb9;">install</span> <span style="font-weight: bold; color: #c20cb9;">gcc</span> gcc-c++ <span style="font-weight: bold; color: #c20cb9;">automake</span> <span style="font-weight: bold; color: #c20cb9;">autoconf</span> libtool yasm git subversion</pre>
</div>
</div>
</li>
<li>Install the necessary libraries
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">yum <span style="font-weight: bold; color: #c20cb9;">install</span> zlib-devel libmad-devel libvorbis-devel libtheora-devel lame-devel faac-devel a52dec-devel xvidcore-devel freetype-devel</pre>
</div>
</div>
</li>
</ol>
<h3>Compile supporting libraries</h3>
<ol>
<li>Compile &amp; Install <a onclick="pageTracker._trackPageview('/outgoing/www.audiocoding.com/faad2.html?referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://www.audiocoding.com/faad2.html" target="_blank">faad2</a> (for some reason I couldn’t get it to compile against the standard rpm version)
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="font-weight: bold; color: #7a0874;">cd</span> ~
<span style="font-weight: bold; color: #c20cb9;">wget</span> http:<span style="font-weight: bold; color: #000000;">//</span>downloads.sourceforge.net<span style="font-weight: bold; color: #000000;">/</span>faac<span style="font-weight: bold; color: #000000;">/</span>faad2-2.6.1.tar.gz

<span style="font-weight: bold; color: #c20cb9;">tar</span> xzvf faad2-2.6.1.tar.gz
<span style="font-weight: bold; color: #7a0874;">cd</span> faad2
autoreconf <span style="color: #660033;">-vif</span>
.<span style="font-weight: bold; color: #000000;">/</span>configure
<span style="font-weight: bold; color: #c20cb9;">make</span>
<span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span></pre>
</div>
</div>
</li>
<li>Compile &amp; Install <a onclick="pageTracker._trackPageview('/outgoing/gpac.sourceforge.net/?referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://gpac.sourceforge.net/" target="_blank">GPAC</a>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="font-weight: bold; color: #7a0874;">cd</span> ~
<span style="font-weight: bold; color: #c20cb9;">wget</span> http:<span style="font-weight: bold; color: #000000;">//</span>downloads.sourceforge.net<span style="font-weight: bold; color: #000000;">/</span>gpac<span style="font-weight: bold; color: #000000;">/</span>gpac-0.4.4.tar.gz

<span style="font-weight: bold; color: #c20cb9;">tar</span> <span style="color: #660033;">-xzvf</span> gpac-0.4.4.tar.gz
<span style="font-weight: bold; color: #7a0874;">cd</span> gpac
.<span style="font-weight: bold; color: #000000;">/</span>configure
<span style="font-weight: bold; color: #c20cb9;">make</span>
<span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>
<span style="font-weight: bold; color: #c20cb9;">make</span> install-lib</pre>
</div>
</div>
<p>Note: if the compile fails with a osmozilla related error, please see <a onclick="pageTracker._trackPageview('/outgoing/sourceforge.net/forum/forum.php?thread_id=1950227_amp_forum_id=287546&amp;referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://sourceforge.net/forum/forum.php?thread_id=1950227&amp;forum_id=287546" target="_blank">here</a>. I had to remove mozilla support to get it to compile.</li>
<li>Update the links to the shared libs
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="font-weight: bold; color: #7a0874;">echo</span> <span style="color: #ff0000;">'/usr/local/lib/'</span> <span style="font-weight: bold; color: #000000;">&gt;</span> <span style="font-weight: bold; color: #000000;">/</span>etc<span style="font-weight: bold; color: #000000;">/</span>ld.so.conf.d<span style="font-weight: bold; color: #000000;">/</span>gapc-1386.conf
ldconfig</pre>
</div>
</div>
</li>
<li>Compile &amp; Install <a onclick="pageTracker._trackPageview('/outgoing/www.videolan.org/developers/x264.html?referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://www.videolan.org/developers/x264.html" target="_blank">x264</a>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="font-weight: bold; color: #7a0874;">cd</span> ~
git clone git:<span style="font-weight: bold; color: #000000;">//</span>git.videolan.org<span style="font-weight: bold; color: #000000;">/</span>x264.git
<span style="font-weight: bold; color: #7a0874;">cd</span> x264
.<span style="font-weight: bold; color: #000000;">/</span>configure  <span style="color: #660033;">--enable-pthread</span> <span style="color: #660033;">--enable-mp4-output</span> <span style="color: #660033;">--enable-shared</span>

<span style="font-weight: bold; color: #c20cb9;">make</span>
<span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span></pre>
</div>
</div>
</li>
<li>Update the links to the shared libs…again
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">ldconfig</pre>
</div>
</div>
</li>
</ol>
<h3>Install ffmpeg</h3>
<ol>
<li>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="font-weight: bold; color: #7a0874;">cd</span> ~
<span style="font-weight: bold; color: #c20cb9;">svn</span> <span style="font-weight: bold; color: #7a0874;">export</span> <span style="font-weight: bold; color: #c20cb9;">svn</span>:<span style="font-weight: bold; color: #000000;">//</span>svn.mplayerhq.hu<span style="font-weight: bold; color: #000000;">/</span>ffmpeg<span style="font-weight: bold; color: #000000;">/</span>trunk <span style="font-weight: bold; color: #c20cb9;">ffmpeg</span>

<span style="font-weight: bold; color: #7a0874;">cd</span> <span style="font-weight: bold; color: #c20cb9;">ffmpeg</span>
.<span style="font-weight: bold; color: #000000;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="font-weight: bold; color: #000000;">/</span>usr<span style="font-weight: bold; color: #000000;">/</span><span style="font-weight: bold; color: #7a0874;">local</span> <span style="color: #660033;">--disable-debug</span> <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--enable-gpl</span> <span style="color: #660033;">--enable-nonfree</span> <span style="color: #660033;">--enable-postproc</span> <span style="color: #660033;">--enable-swscale</span> <span style="color: #660033;">--enable-pthreads</span> <span style="color: #660033;">--enable-x11grab</span> <span style="color: #660033;">--enable-liba52</span> <span style="color: #660033;">--enable-libx264</span> <span style="color: #660033;">--enable-libxvid</span> <span style="color: #660033;">--enable-libvorbis</span> <span style="color: #660033;">--enable-libfaac</span> <span style="color: #660033;">--enable-libfaad</span> <span style="color: #660033;">--enable-libmp3lame</span>

<span style="font-weight: bold; color: #c20cb9;">make</span>
<span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span></pre>
</div>
</div>
</li>
<li>If ffmpeg has problems finding shared libraries, set the LD_LIBRARY_PATH
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="font-weight: bold; color: #7a0874;">echo</span> <span style="color: #ff0000;">'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib; export LD_LIBRARY_PATH'</span> <span style="font-weight: bold; color: #000000;">&gt;&gt;</span> <span style="font-weight: bold; color: #000000;">/</span>etc<span style="font-weight: bold; color: #000000;">/</span>ld.so.conf
ldconfig</pre>
</div>
</div>
<p>I’m not convinced that this is the <a onclick="pageTracker._trackPageview('/outgoing/xahlee.org/UnixResource_dir/_/ldpath.html?referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://xahlee.org/UnixResource_dir/_/ldpath.html" target="_blank">correct thing</a> to do, or the correct way to do it…but it seems to work…</li>
<li>All done.</li>
</ol>
<h4>Additional resources:</h4>
<p><a onclick="pageTracker._trackPageview('/outgoing/www.nazly.net/index.php?page=showevents_amp_selTopic=230&amp;referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://www.nazly.net/index.php?page=showevents&amp;selTopic=230" target="_blank">http://www.nazly.net/index.php?page=showevents&amp;selTopic=230</a></p>
<p><a onclick="pageTracker._trackPageview('/outgoing/www.tuxmachines.org/node/17063?referer=http%3A%2F%2Fwww.google.at%2Fsearch%3Fq%3Dinstall%2Bx264%2Bcentos%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Ade%3Aofficial%26client%3Dfirefox-a');" href="http://www.tuxmachines.org/node/17063" target="_blank">http://www.tuxmachines.org/node/17063</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/ffmpeg-on-centos-83.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Install FFMPEG on CentOS</title>
		<link>http://www.aut.in/install-ffmpeg-on-centos-81.php</link>
		<comments>http://www.aut.in/install-ffmpeg-on-centos-81.php#comments</comments>
		<pubDate>Mon, 05 Apr 2010 12:15:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[centos ffmepg install]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=81</guid>
		<description><![CDATA[A little while back, I posted a basic install of ffmpeg for CentOS 5. After working with that build over the last month, I found I needed to expand it to include many different video codecs. Because of licensing restrictions, binaries of the build cannot be distributed. However, instructions for a similar build can! I [...]]]></description>
			<content:encoded><![CDATA[<p>A little while back, I posted a <a href="http://gregorytomlinson.com/encoded/2008/04/11/installing-ffmpeg-on-centos-5/">basic install of <strong style="color:black;background-color:#a0ffff">ffmpeg</strong> for <strong style="color:black;background-color:#ffff66">CentOS</strong> 5</a>. After working with that build over the last month, I found I needed to expand it to include many different video codecs. Because of licensing restrictions, binaries of the build cannot be distributed. However, instructions for a similar build can! I spent several days (or more) researching the packages I would need and I must have combed dozens of blogs to find this information.  <span style="text-decoration: line-through;">The build I made strips sound from videos</span> [See update at the end of this post for more information on this subject], this decreases the final file size. If you need sound, you will not want to follow these steps exactly. I also stripped ffserver and ffplay from my build.</p>
<p>These packages were executed in the following order. I cannot say for certain this exact order must be followed, it was the order in which <strong style="color:black;background-color:#a0ffff">ffmpeg</strong> threw the errors. This tutorial assumes you have wget, bzip2, tar and subversion installed on your system. If you do not, please find and install the lastest versions of these utilities for <strong style="color:black;background-color:#ffff66">CentOS</strong> 5.  Additionally, I have allowed all packages to install into their default directories, typically this is /usr/local/[bin | lib]. If at any point during the process of a ‘make’ you run into errors, be sure and run ‘make clean’ before running ‘make’ again. You will either need root access of su access to install <strong style="color:black;background-color:#a0ffff">ffmpeg</strong>. The marker ‘codec:$’ is my prompt, it is merely to indicate separate commands.</p>
<ul>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/liba52.sourceforge.net/');" href="http://liba52.sourceforge.net/" target="_blank">Package a52</a></li>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/www.audiocoding.com/');" href="http://www.audiocoding.com/" target="_blank">Package FAAD2</a></li>
<li> <a onclick="javascript:pageTracker._trackPageview('/outgoing/www.audiocoding.com/');" href="http://www.audiocoding.com/" target="_blank">Package FAAC</a></li>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/lame.sourceforge.net/index.php');" href="http://lame.sourceforge.net/index.php" target="_blank">Package LAME</a></li>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/www.tortall.net/projects/yasm/');" href="http://www.tortall.net/projects/yasm/" target="_blank">Package yasm</a></li>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/www.videolan.org/developers/x264.html');" href="http://www.videolan.org/developers/x264.html" target="_blank">Package <strong style="color:black;background-color:#99ff99">X264</strong></a></li>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/www.xvid.org/');" href="http://www.xvid.org/" target="_blank">Package Xvid</a></li>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/www.linux1394.org/');" href="http://www.linux1394.org/" target="_blank">Package libraw1394</a></li>
<li><a onclick="javascript:pageTracker._trackPageview('/outgoing/libdc1394.sourceforge.net/');" href="http://libdc1394.sourceforge.net/" target="_blank">Package libdc1394</a></li>
</ul>
<p><strong>Getting Started</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$
codec:$ <span style="font-weight: bold; color: #c20cb9;">mkdir</span> <span style="color: #660033;">-p</span> .<span style="font-weight: bold; color: #000000;">/</span>tmp<span style="font-weight: bold; color: #000000;">/</span><strong style="color:black;background-color:#a0ffff">ffmpeg</strong>-packages
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> .<span style="font-weight: bold; color: #000000;">/</span>tmp<span style="font-weight: bold; color: #000000;">/</span><strong style="color:black;background-color:#a0ffff">ffmpeg</strong>-packages</pre>
</div>
</div>
<p><strong>Installing a52</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> http:<span style="font-weight: bold; color: #000000;">//</span>liba52.sourceforge.net<span style="font-weight: bold; color: #000000;">/</span>files<span style="font-weight: bold; color: #000000;">/</span>a52dec-0.7.4.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> <span style="color: #660033;">-zxf</span> a52dec-0.7.4.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> a52dec-0.7.4
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure <span style="color: #660033;">--enable-shared</span>=PKGS
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>

codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing FAAD2</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> http:<span style="font-weight: bold; color: #000000;">//</span>downloads.sourceforge.net<span style="font-weight: bold; color: #000000;">/</span>faac<span style="font-weight: bold; color: #000000;">/</span>faad2-2.6.1.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> zxf faad2-2.6.1.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> faad2
codec:$ autoreconf <span style="color: #660033;">-vif</span>

codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure <span style="color: #660033;">--disable-drm</span> <span style="color: #660033;">--disable-mpeg4ip</span>
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing FAAC</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> http:<span style="font-weight: bold; color: #000000;">//</span>downloads.sourceforge.net<span style="font-weight: bold; color: #000000;">/</span>faac<span style="font-weight: bold; color: #000000;">/</span>faac-1.26.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> zxfv faac-1.26.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> faac
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>bootstrap
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure <span style="color: #660033;">--disable-mp4v2</span>

codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing LAME</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> \
http:<span style="font-weight: bold; color: #000000;">//</span>superb-east.dl.sourceforge.net<span style="font-weight: bold; color: #000000;">/</span>sourceforge<span style="font-weight: bold; color: #000000;">/</span>lame<span style="font-weight: bold; color: #000000;">/</span>\
lame-3.98b8.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> zxfv lame-3.98b8.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> lame-3.98b8
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>

codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing yasm</strong></p>
<p>YASM is a modular assembler, it is required by the <strong style="color:black;background-color:#99ff99">x264</strong> package.</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> \
http:<span style="font-weight: bold; color: #000000;">//</span>www.tortall.net<span style="font-weight: bold; color: #000000;">/</span>projects<span style="font-weight: bold; color: #000000;">/</span>yasm<span style="font-weight: bold; color: #000000;">/</span>releases<span style="font-weight: bold; color: #000000;">/</span>yasm-0.7.0.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> zfvx yasm-0.7.0.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> yasm-0.7.0
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>

codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing <strong style="color:black;background-color:#99ff99">x264</strong></strong></p>
<p>The <strong style="color:black;background-color:#99ff99">x264</strong> package is under <a onclick="javascript:pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Git_(software)');" href="http://en.wikipedia.org/wiki/Git_(software)" target="_blank">git</a> revision control, which is much like CVS or SVN. Thankfully, they provide daily tarballs. I grabbed this one:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> \
<span style="font-weight: bold; color: #c20cb9;">ftp</span>:<span style="font-weight: bold; color: #000000;">//</span>ftp.videolan.org:<span style="color: #000000;">21</span><span style="font-weight: bold; color: #000000;">//</span>pub<span style="font-weight: bold; color: #000000;">/</span>videolan<span style="font-weight: bold; color: #000000;">/</span><strong style="color:black;background-color:#99ff99">x264</strong><span style="font-weight: bold; color: #000000;">/</span>snapshots<span style="font-weight: bold; color: #000000;">/</span>\

<strong style="color:black;background-color:#99ff99">x264</strong>-snapshot-<span style="color: #000000;">20080513</span>-2245.tar.bz2</pre>
</div>
</div>
<p>I just did a little exploring via an FTP program to find the snapshot I was after. If you are feeling adventurous, <a onclick="javascript:pageTracker._trackPageview('/outgoing/www.kernel.org/pub/software/scm/git/');" href="http://www.kernel.org/pub/software/scm/git/" target="_blank">download git</a> and try checking out the latest version from their repository.</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">bzip2</span> <span style="color: #660033;">-d</span> <strong style="color:black;background-color:#99ff99">x264</strong>-snapshot-<span style="color: #000000;">20080513</span>-2245.tar.bz2
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> xfv <strong style="color:black;background-color:#99ff99">x264</strong>-snapshot-<span style="color: #000000;">20080513</span>-2245.tar
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> <strong style="color:black;background-color:#99ff99">x264</strong>-snapshot-<span style="color: #000000;">20080513</span>-<span style="color: #000000;">2245</span>

codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure <span style="color: #660033;">--enable-mp4-output</span> <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--enable-pthread</span>
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>

codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing Xvid</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> http:<span style="font-weight: bold; color: #000000;">//</span>downloads.xvid.org<span style="font-weight: bold; color: #000000;">/</span>downloads<span style="font-weight: bold; color: #000000;">/</span>xvidcore-1.1.3.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> zxfv xvidcore-1.1.3.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> xvidcore-1.1.3<span style="font-weight: bold; color: #000000;">/</span>build<span style="font-weight: bold; color: #000000;">/</span>generic
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>

codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..<span style="font-weight: bold; color: #000000;">/</span>..<span style="font-weight: bold; color: #000000;">/</span>..</pre>
</div>
</div>
<p><strong>Installing libraw1394</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> http:<span style="font-weight: bold; color: #000000;">//</span>www.linux1394.org<span style="font-weight: bold; color: #000000;">/</span>dl<span style="font-weight: bold; color: #000000;">/</span>libraw1394-1.3.0.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> zxfv libraw1394-1.3.0.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> libraw1394-1.3.0
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> dev
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>

codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing libdc1394</strong></p>
<p>This project requires libraw1394, you must build it first. This project is a little confusing there is both a libdc1394 and a libdc1394-2. I have only installed the former. <a onclick="javascript:pageTracker._trackPageview('/outgoing/sourceforge.net/project/showfiles.php?group_id=8157');" href="http://sourceforge.net/project/showfiles.php?group_id=8157" target="_blank">Visit Sourceforge here</a>. I grabbed the tarball here:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">wget</span> \
http:<span style="font-weight: bold; color: #000000;">//</span>superb-west.dl.sourceforge.net<span style="font-weight: bold; color: #000000;">/</span>sourceforge<span style="font-weight: bold; color: #000000;">/</span>libdc1394<span style="font-weight: bold; color: #000000;">/</span>\
libdc1394-1.2.2.tar.gz
codec:$ <span style="font-weight: bold; color: #c20cb9;">tar</span> zxfv libdc1394-1.2.2.tar.gz
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> libdc1394-1.2.2
codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #000000;">&amp;&amp;</span> <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span>

codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ..</pre>
</div>
</div>
<p><strong>Installing <strong style="color:black;background-color:#a0ffff">ffmpeg</strong></strong></p>
<p>For <strong style="color:black;background-color:#a0ffff">FFMPEG</strong>, you will need to get the latest out of SVN. <strong style="color:black;background-color:#a0ffff">FFMPEG</strong> doesn’t ever make releases. To do so, run:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #c20cb9;">svn</span> checkout <span style="font-weight: bold; color: #c20cb9;">svn</span>:<span style="font-weight: bold; color: #000000;">//</span>svn.mplayerhq.hu<span style="font-weight: bold; color: #000000;">/</span><strong style="color:black;background-color:#a0ffff">ffmpeg</strong><span style="font-weight: bold; color: #000000;">/</span>trunk <span style="font-weight: bold; color: #c20cb9;"><strong style="color:black;background-color:#a0ffff">ffmpeg</strong></span>
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> <span style="font-weight: bold; color: #c20cb9;"><strong style="color:black;background-color:#a0ffff">ffmpeg</strong></span></pre>
</div>
</div>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ .<span style="font-weight: bold; color: #000000;">/</span>configure <span style="color: #660033;">--enable-gpl</span>  <span style="color: #660033;">--enable-postproc</span> <span style="color: #660033;">--enable-nonfree</span> <span style="color: #660033;">--enable-postproc</span> <span style="color: #660033;">--enable-libfaad</span> <span style="color: #660033;">--enable-swscale</span> <span style="color: #660033;">--enable-avfilter</span> <span style="color: #660033;">--enable-pthreads</span> <span style="color: #660033;">--enable-libxvid</span> <span style="color: #660033;">--enable-libx264</span> <span style="color: #660033;">--enable-libmp3lame</span> <span style="color: #660033;">--enable-libdc1394</span> <span style="color: #660033;">--enable-liba52</span> <span style="color: #660033;">--enable-libfaac</span> <span style="color: #660033;">--disable-ffserver</span> <span style="color: #660033;">--disable-ffplay</span>

codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span>
codec:$ <span style="font-weight: bold; color: #c20cb9;">make</span> <span style="font-weight: bold; color: #c20cb9;">install</span></pre>
</div>
</div>
<p>It usually takes at least 5 mins for ‘make’ to run, be sure you have a good file before attempting to install. You will need to be sure and run the ldconfig setting if you have to re-compile, otherwise <strong style="color:black;background-color:#a0ffff">ffmpeg</strong> will throw an error that it cannot find library files. Here is a <a onclick="javascript:pageTracker._trackPageview('/outgoing/howto-pages.org/ffmpeg/');" href="http://howto-pages.org/ffmpeg/" target="_blank">good resource for using <strong style="color:black;background-color:#a0ffff">ffmpeg</strong></a>.</p>
<p><strong>Post-Installation Actions</strong></p>
<p>After the install in complete, you may need to add the /usr/local/lib directory to your ld.so.config file. Do the following:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> <span style="font-weight: bold; color: #000000;">/</span>etc<span style="font-weight: bold; color: #000000;">/</span>
codec:$ <span style="font-weight: bold; color: #7a0874;">cd</span> ld.so.conf.d
codec:$ <span style="font-weight: bold; color: #c20cb9;">vi</span> <strong style="color:black;background-color:#a0ffff">ffmpeg</strong>.conf</pre>
</div>
</div>
<p>You need to add ‘/usr/local/lib’ [sans-quotes] to this file and save it. Press Esc, :, x to do so in vi. Afterwords you need to run the following from the commandline</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">codec:$ ldconfig</pre>
</div>
</div>
<p>That’s it, you now have a fairly robust build of <strong style="color:black;background-color:#a0ffff">ffmpeg</strong> that can take almost anything you can throw at it. Sadly, licensing restrictions prevent binaries from being made of the above steps. Happy (video) encoding!</p>
<p><strong>Update:</strong> This build doesn’t actually strip sound from videos, I am doing that with a flag when I run <strong style="color:black;background-color:#a0ffff">ffmpeg</strong>, however, it should be noted that all the audio codecs you may find in many common video formats may not be supported in this build of <strong style="color:black;background-color:#a0ffff">ffmpeg</strong>, which is why I am choosing to strip audio entirely from videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/install-ffmpeg-on-centos-81.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Domains kaufen mit Moneybookers, Alertpay und Paypal</title>
		<link>http://www.aut.in/domains-kaufen-mit-moneybookers-alertpay-und-paypal-78.php</link>
		<comments>http://www.aut.in/domains-kaufen-mit-moneybookers-alertpay-und-paypal-78.php#comments</comments>
		<pubDate>Sat, 26 Sep 2009 07:13:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Geld]]></category>

		<category><![CDATA[Tipps]]></category>

		<category><![CDATA[alertpay]]></category>

		<category><![CDATA[domains]]></category>

		<category><![CDATA[moneybookers]]></category>

		<category><![CDATA[webhosting]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=78</guid>
		<description><![CDATA[Ab und zu stellt sich die Frage, was man mit dem Geld, das man auf Moneybookers, Alertpay oder Paypal Konto hat, machen soll. Bei Paypal ist das meist eine einfache Sache, akzeptieren doch viele Online-Shops diese Art von Bezahlung. Bei den beiden anderen wird es schon eher schwierig.
Sinn machen hier Shops wie GoDots.net, die Domain-Namen [...]]]></description>
			<content:encoded><![CDATA[<p>Ab und zu stellt sich die Frage, was man mit dem Geld, das man auf Moneybookers, Alertpay oder Paypal Konto hat, machen soll. Bei Paypal ist das meist eine einfache Sache, akzeptieren doch viele Online-Shops diese Art von Bezahlung. Bei den beiden anderen wird es schon eher schwierig.</p>
<p>Sinn machen hier Shops wie <a href="http://shop.godots.net">GoDots.net</a>, die Domain-Namen und Webhosting verkaufen und dabei Alertpay und Moneybookers akzeptieren. So kommt man günstig an Domains (die Domainpreise sind an sich schon einen Kauf wert, da sie wirklich sehr, sehr niedrig sind) und kann das Guthaben endlich aufbrauchen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/domains-kaufen-mit-moneybookers-alertpay-und-paypal-78.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Dateien online konvertieren (umwandeln)</title>
		<link>http://www.aut.in/dateien-online-konvertieren-umwandeln-73.php</link>
		<comments>http://www.aut.in/dateien-online-konvertieren-umwandeln-73.php#comments</comments>
		<pubDate>Fri, 01 May 2009 08:43:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Online]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=73</guid>
		<description><![CDATA[Wer schon immer mal ein Word Dokument online in ein PDF verwandeln wollte, oder aber auch ein Video in ein anderes Format konvertieren wollte, ist bei http://www.youconvertit.com/convertfiles.aspx genau richtig.
Ein sinnvoller Online-Service, wie ich finde.
]]></description>
			<content:encoded><![CDATA[<p>Wer schon immer mal ein Word Dokument online in ein PDF verwandeln wollte, oder aber auch ein Video in ein anderes Format konvertieren wollte, ist bei <a href="http://www.youconvertit.com/convertfiles.aspx" target="_blank">http://www.youconvertit.com/convertfiles.aspx</a> genau richtig.</p>
<p>Ein sinnvoller Online-Service, wie ich finde.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/dateien-online-konvertieren-umwandeln-73.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Bis zu 90% Rabatt auf Amazon-Artikel</title>
		<link>http://www.aut.in/bis-zu-90-rabatt-auf-amazon-artikel-65.php</link>
		<comments>http://www.aut.in/bis-zu-90-rabatt-auf-amazon-artikel-65.php#comments</comments>
		<pubDate>Sun, 04 Jan 2009 13:48:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tipps]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=65</guid>
		<description><![CDATA[Zugegeben, dies ist kein Posting, wie man Geld verdient, jedoch sollte dies eine kleine Anregung sein, wie man bis zu 90% beim Einkauf auf Amazon sparen kann.
Nun, Geldverdienen kann man aber jedoch schon ein wenig, wenn man die überdurchschnittlich günstigen Artikel findet und wieder teurer verkauft. So wie jeder Einzelhändler dies nun mal macht.
Wie findet [...]]]></description>
			<content:encoded><![CDATA[<p>Zugegeben, dies ist kein Posting, wie man Geld verdient, jedoch sollte dies eine kleine Anregung sein, wie man bis zu 90% beim Einkauf auf Amazon sparen kann.</p>
<p>Nun, Geldverdienen kann man aber jedoch schon ein wenig, wenn man die überdurchschnittlich günstigen Artikel findet und wieder teurer verkauft. So wie jeder Einzelhändler dies nun mal macht.</p>
<p>Wie findet man aber nun diese stark reduzierten Artikel mit dem super günstigen Preis? Man benötigt nur eine URL, die man je nach Geschmak und gesuchtem Artikel anpassen kann:</p>
<p><span style="font-size: 9pt; font-family: Verdana;"><span style="font-size: x-small;"><strong>www.amazon.<span style="color: #ff0000;">co.uk</span>/gp/search/?node=<span style="color: #006600;">328228011</span>&amp;pct-off=<span style="color: #ff6600;">90-99</span></strong></span></span></p>
<p>oder für die deutsche Amazon-Seite:</p>
<p><a href="http://www.amazon.de/gp/search/?node=562066&amp;pct-off=90-99">http://www.amazon.de/gp/search/?node=562066&amp;pct-off=90-99</a></p>
<p>Dabei gibt es die rote, grüne und orange Variablen, die je nach gesuchtem angepasst werden können:</p>
<p>ROT:  wo möchte man suchen? .co.uk steht dabei für UK, Deutschland wäre hier einfach .de . Analog für andere Länder</p>
<p>Grün gibt an, nach was man suchen möchte:</p>
<p><span style="font-size: 9pt; font-family: Verdana;"><span style="font-size: x-small;"><strong>UK Codes</strong><br />
266239 =Bücher<br />
229816 =Musik<br />
283926 =DVD<br />
300703 =PC &amp; Video Games<br />
562066=Elektronik &amp; Foto<br />
560858 =Audio &amp; Television<br />
560884 =iPod &amp; MP3<br />
561904 =Computing &amp; Office<br />
300435 =Software<br />
11052591 =Haus und Garten<br />
468292 =Spielzeuge<br />
328228011 =Schmuck und Uhren<br />
355005011 =Schuhe<br />
362353011 =Taschen und Accesories<br />
318949011 =Sports and Freizeit<br />
65801031 =Gesundheit &amp; Beauty</span></span></p>
<p>Und die orange Sektion? Die gibt an, wieviel Prozent Rabatt man möchte: im obigen Beispiel zwischen 90 und 99%.</p>
<p>Viel Spaß beim Ausprobieren</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/bis-zu-90-rabatt-auf-amazon-artikel-65.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>invalid entry compressed size bei s60 emulator</title>
		<link>http://www.aut.in/invalid-entry-compressed-size-bei-s60-emulator-62.php</link>
		<comments>http://www.aut.in/invalid-entry-compressed-size-bei-s60-emulator-62.php#comments</comments>
		<pubDate>Thu, 11 Dec 2008 08:36:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2ME]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=62</guid>
		<description><![CDATA[Beim Starten des S60 Emulators von Nokia gibt es unter Eclipse mitunter eine Fehlermeldung. Hab dazu folgendes gefunden:
Go to the properties page of your project, &#8220;J2ME&#8221;, &#8220;Manage Devices&#8221;, edit all or your favourite &#8220;Emulator&#8221; entries and remove the &#8216;[%classpath%&#124;-classpath "%classpath%"]&#8216; entry from the Launch Command Table.
Funktioniert auch wunderbar.
]]></description>
			<content:encoded><![CDATA[<p>Beim Starten des S60 Emulators von Nokia gibt es unter Eclipse mitunter eine Fehlermeldung. Hab dazu folgendes gefunden:</p>
<p>Go to the properties page of your project, &#8220;J2ME&#8221;, &#8220;Manage Devices&#8221;, edit all or your favourite &#8220;Emulator&#8221; entries and remove the &#8216;[%classpath%|-classpath "%classpath%"]&#8216; entry from the Launch Command Table.</p>
<p>Funktioniert auch wunderbar.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/invalid-entry-compressed-size-bei-s60-emulator-62.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Darwin Streaming Server installieren</title>
		<link>http://www.aut.in/darwin-streaming-server-installieren-60.php</link>
		<comments>http://www.aut.in/darwin-streaming-server-installieren-60.php#comments</comments>
		<pubDate>Sun, 07 Dec 2008 15:14:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=60</guid>
		<description><![CDATA[Eine ausführliche Anleitung, wie man den Darwin Streaming Server installiert, findet man (leider nur auf englisch) hier.
]]></description>
			<content:encoded><![CDATA[<p>Eine ausführliche Anleitung, wie man den Darwin Streaming Server installiert, findet man (leider nur auf englisch) <a href="http://www.vaguetv.com/howtos/broadcast/servers/darwin/howto_setup_darwin_streaming_server_on_linux.html" target="_blank">hier</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/darwin-streaming-server-installieren-60.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Verzeichnis der Fotos in J2ME</title>
		<link>http://www.aut.in/verzeichnis-der-fotos-in-j2me-54.php</link>
		<comments>http://www.aut.in/verzeichnis-der-fotos-in-j2me-54.php#comments</comments>
		<pubDate>Sun, 30 Nov 2008 09:45:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2ME]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=54</guid>
		<description><![CDATA[Die Tabelle zeigt die System-Properties, die als Returnwert die URLs zu den wichtigsten Verzeichnissen eines Mobiltelefons liefern. Da diese von Handy zu Handy unterschiedlich sind, sind diese Abfragen sehr hilfreich.






String
Beschreibung




microedition.io.file.FileConnection.version
Liefert die Version des FileConnection Apis, das vom Gerät unterstützt wird.


fileconn.dir.photos.name
Der Name des &#8216;Image&#8217;-Verzeichnisses


fileconn.dir.videos.name
Der Name des &#8216;Video-Clips&#8217;-Verzeichnisses


fileconn.dir.graphics.name
Der Name des &#8216;Graphics&#8217;-Verzeichnisses


fileconn.dir.tones.name
Der Name des &#8216;Sound-Clips&#8217;-Verzeichnisses


fileconn.dir.music.name
Der Name des &#8216;Music-Clips&#8217;-Verzeichnisses


fileconn.dir.recordings.name
Der [...]]]></description>
			<content:encoded><![CDATA[<p>Die Tabelle zeigt die System-Properties, die als Returnwert die URLs zu den wichtigsten Verzeichnissen eines Mobiltelefons liefern. Da diese von Handy zu Handy unterschiedlich sind, sind diese Abfragen sehr hilfreich.</p>
<p><span id="more-54"></span></p>
<div class="tablenoborder"><a name="GUID-472EE630-D6DC-4EAE-A10F-EFA9B836DB52"><!----></a></p>
<table id="GUID-472EE630-D6DC-4EAE-A10F-EFA9B836DB52" border="1" cellspacing="0" cellpadding="4" frame="border" rules="all">
<caption><strong></strong></caption>
<thead>
<tr class="title">
<th id="d0e50539" width="32%" valign="top">String</th>
<th id="d0e50544" width="68%" valign="top">Beschreibung</th>
</tr>
</thead>
<tbody>
<tr>
<td width="32%" valign="top"><code>microedition.io.file.FileConnection.version</code></td>
<td width="68%" valign="top">Liefert die Version des FileConnection Apis, das vom Gerät unterstützt wird.</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.photos.name</code></td>
<td width="68%" valign="top">Der Name des &#8216;Image&#8217;-Verzeichnisses</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.videos.name</code></td>
<td width="68%" valign="top">Der Name des &#8216;Video-Clips&#8217;-Verzeichnisses</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.graphics.name</code></td>
<td width="68%" valign="top">Der Name des &#8216;Graphics&#8217;-Verzeichnisses</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.tones.name</code></td>
<td width="68%" valign="top">Der Name des &#8216;Sound-Clips&#8217;-Verzeichnisses</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.music.name</code></td>
<td width="68%" valign="top">Der Name des &#8216;Music-Clips&#8217;-Verzeichnisses</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.recordings.name</code></td>
<td width="68%" valign="top">Der Name des &#8216;Recordings&#8217;-Verzeichnisses</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.memorycard.name</code></td>
<td width="68%" valign="top">Der UI-Name des &#8216;Memory-Card&#8217;-Verzeichnisses</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.photos</code></td>
<td width="68%" valign="top">The URL of the default storage directory for photos captured with the integrated camera and other images. For example, &#8220;<code>file:///c:/My files/Images/</code>&#8220;.</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.videos</code></td>
<td width="68%" valign="top">The URL of the default storage directory for video clips captured with the integrated camera or downloaded and saved. For example, &#8220;<code>file:///c:/My files/Video clips/</code>&#8220;.</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.graphics</code></td>
<td width="68%" valign="top">The URL of the default storage directory for clip art graphics (caller group icons, background pictures, and other similar items). For example, &#8220;<code>file:///c:/My files/Graphic clips/</code>&#8220;.</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.tones</code></td>
<td width="68%" valign="top">The URL of the default storage directory for ring tones and other related audio files. For example, &#8220;<code>file:///c:/My files/Sound clips/</code>&#8220;.</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.music</code></td>
<td width="68%" valign="top">The URL of the default storage directory for music files (MP3, AAC, and others). For example, &#8220;<code>file:///c:/My files/Music clips/</code>&#8220;.</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.recordings</code></td>
<td width="68%" valign="top">The URL of the default storage directory for voice recordings made with the device. For example, &#8220;<code>file:///c:/My files/Recorded clips/</code>&#8220;.</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.memorycard</code></td>
<td width="68%" valign="top">Root directory of memory card. For example, &#8220;<code>file:///e:/</code>&#8220;.</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>file.separator</code></td>
<td width="68%" valign="top">File separator character. In Nokia devices it is “<code>/</code>”.</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.private.name</code></p>
<p>(Only in S60)</td>
<td width="68%" valign="top">Localized name for the private work directory, for example &#8220;<code>scratch</code>&#8220;.</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.private</code></p>
<p>(Only in S60)</td>
<td width="68%" valign="top">Private work directory of MIDlet suite. For example, &#8220;<code>file:///c:/private/102033e6/midlets/[1015b77b]/scratch</code>&#8220;.</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.roots.names</code></p>
<p>(From S60 3rd Edition FP 2 onwards)</td>
<td width="68%" valign="top">Localized names corresponding to roots returned by the <code>FileSystemRegistry.listRoots()</code> method. One localized name corresponds to each root returned by the method. Localized names are in the same order as returned by the method and are separated by a semicolon (;) character. If no localized name exists for the root, the nonlocalized (logical) name is returned in the property for this root. Root names returned through this property cannot contain the semicolon (;) character.</td>
</tr>
<tr class="bg">
<td width="32%" valign="top"><code>fileconn.dir.themes.name</code></p>
<p>(Only in Series 40)</td>
<td width="68%" valign="top">Localized name for the themes directory, for example &#8220;<code>Themes</code>&#8220;.</td>
</tr>
<tr>
<td width="32%" valign="top"><code>fileconn.dir.themes</code></p>
<p>(Only in Series 40)</td>
<td width="68%" valign="top">The URL of the default storage directory for themes. &#8220;<code>file:///C:/predefgallery/predefthemes</code>&#8220;</td>
</tr>
</tbody>
</table>
</div>
<p><strong>Beispiel</strong>:</p>
<p><code>String url = System.getProperty("fileconn.dir.photos") + "myImage.jpg";</code></p>
<p>Das Resultat: <code>file:///c:/data/Images/myImage.jpg</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/verzeichnis-der-fotos-in-j2me-54.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Textdateien schreiben/lesen in J2ME</title>
		<link>http://www.aut.in/textdateien-schreibenlesen-in-j2me-48.php</link>
		<comments>http://www.aut.in/textdateien-schreibenlesen-in-j2me-48.php#comments</comments>
		<pubDate>Sun, 30 Nov 2008 09:40:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2ME]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=48</guid>
		<description><![CDATA[Lesen und Schreiben in eine Textdatei ist möglich unter J2ME. Ein für Nokia-Handies geeigneter Code sei unten angeführt. Der Inhalt des erzeugten Textfeldes wird in die ReadMe Datei geschrieben, welche im jeweiligen Foto-Verzeichnis liegt.


import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.file.*;
import javax.microedition.io.*;
import java.io.*;

public class WriteMIDlet extends MIDlet implements CommandListener {
    private TextBox textbox;
    [...]]]></description>
			<content:encoded><![CDATA[<p>Lesen und Schreiben in eine Textdatei ist möglich unter J2ME. Ein für Nokia-Handies geeigneter Code sei unten angeführt. Der Inhalt des erzeugten Textfeldes wird in die ReadMe Datei geschrieben, welche im jeweiligen Foto-Verzeichnis liegt.</p>
<p><span id="more-48"></span></p>
<pre class="java"><span style="color: #a1a100;">
import javax.microedition.midlet.*;</span>
<span style="color: #a1a100;">import javax.microedition.lcdui.*;</span>
<span style="color: #a1a100;">import javax.microedition.io.file.*;</span>
<span style="color: #a1a100;">import javax.microedition.io.*;</span>
<span style="color: #a1a100;">import java.io.*;</span>

<span style="font-weight: bold; color: #000000;">public</span> <span style="font-weight: bold; color: #000000;">class</span> WriteMIDlet <span style="font-weight: bold; color: #000000;">extends</span> MIDlet <span style="font-weight: bold; color: #000000;">implements</span> CommandListener <span style="color: #66cc66;">{</span>
    <span style="font-weight: bold; color: #000000;">private</span> TextBox textbox;
    <span style="font-weight: bold; color: #000000;">private</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> photos = <span style="color: #ff0000;">"fileconn.dir.photos"</span>;
    <span style="font-weight: bold; color: #000000;">private</span> Command saveCommand;
    <span style="font-weight: bold; color: #000000;">private</span> Command exitCommand;
    <span style="font-weight: bold; color: #000000;">private</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> path;

    <span style="font-weight: bold; color: #000000;">public</span> <span style="color: #993333;">void</span> startApp<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
        textbox = <span style="font-weight: bold; color: #000000;">new</span> TextBox<span style="color: #66cc66;">(</span><span style="color: #ff0000;">"WriteMIDlet"</span>, <span style="color: #ff0000;">""</span>, <span style="color: #cc66cc;">1000</span>, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ATextField+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">TextField</span></a>.<span style="color: #006600;">ANY</span><span style="color: #66cc66;">)</span>;
        saveCommand = <span style="font-weight: bold; color: #000000;">new</span> Command<span style="color: #66cc66;">(</span><span style="color: #ff0000;">"Save"</span>, Command.<span style="color: #006600;">SCREEN</span>, <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">)</span>;
        exitCommand = <span style="font-weight: bold; color: #000000;">new</span> Command<span style="color: #66cc66;">(</span><span style="color: #ff0000;">"Exit"</span>, Command.<span style="color: #006600;">EXIT</span>, <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">)</span>;
        textbox.<span style="color: #006600;">addCommand</span><span style="color: #66cc66;">(</span>saveCommand<span style="color: #66cc66;">)</span>;
        textbox.<span style="color: #006600;">addCommand</span><span style="color: #66cc66;">(</span>exitCommand<span style="color: #66cc66;">)</span>;
        textbox.<span style="color: #006600;">setCommandListener</span><span style="color: #66cc66;">(</span><span style="font-weight: bold; color: #000000;">this</span><span style="color: #66cc66;">)</span>;
        Display.<span style="color: #006600;">getDisplay</span><span style="color: #66cc66;">(</span><span style="font-weight: bold; color: #000000;">this</span><span style="color: #66cc66;">)</span>.<span style="color: #006600;">setCurrent</span><span style="color: #66cc66;">(</span>textbox<span style="color: #66cc66;">)</span>;
        path = <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASystem+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">System</span></a>.<span style="color: #006600;">getProperty</span><span style="color: #66cc66;">(</span>photos<span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>

    <span style="font-weight: bold; color: #000000;">public</span> <span style="color: #993333;">void</span> pauseApp<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
    <span style="color: #66cc66;">}</span>

    <span style="font-weight: bold; color: #000000;">public</span> <span style="color: #993333;">void</span> destroyApp<span style="color: #66cc66;">(</span><span style="color: #993333;">boolean</span> unconditional<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
    <span style="color: #66cc66;">}</span>

    <span style="font-weight: bold; color: #000000;">private</span> <span style="color: #993333;">void</span> saveFile<span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> path, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> name<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
        <span style="font-weight: bold; color: #000000;">try</span> <span style="color: #66cc66;">{</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> url = path + name;
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> string = textbox.<span style="color: #006600;">getString</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
            <span style="color: #993333;">byte</span> data<span style="color: #66cc66;">[</span><span style="color: #66cc66;">]</span> = string.<span style="color: #006600;">getBytes</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
            FileConnection fconn = <span style="color: #66cc66;">(</span>FileConnection<span style="color: #66cc66;">)</span>Connector.<span style="color: #006600;">open</span><span style="color: #66cc66;">(</span>url, Connector.<span style="color: #006600;">READ_WRITE</span><span style="color: #66cc66;">)</span>;
            <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!fconn.<span style="color: #006600;">exists</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
                fconn.<span style="color: #006600;">create</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
            <span style="color: #66cc66;">}</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AOutputStream+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">OutputStream</span></a> ops = fconn.<span style="color: #006600;">openOutputStream</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
            ops.<span style="color: #006600;">write</span><span style="color: #66cc66;">(</span>data<span style="color: #66cc66;">)</span>;
            ops.<span style="color: #006600;">close</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
            fconn.<span style="color: #006600;">close</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        <span style="color: #66cc66;">}</span>
        <span style="font-weight: bold; color: #000000;">catch</span> <span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AIOException+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">IOException</span></a> ioe<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASystem+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">System</span></a>.<span style="color: #006600;">out</span>.<span style="color: #006600;">println</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"IOException: "</span>+ioe.<span style="color: #006600;">getMessage</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;
        <span style="color: #66cc66;">}</span>
        <span style="font-weight: bold; color: #000000;">catch</span> <span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASecurityException+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">SecurityException</span></a> se<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASystem+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">System</span></a>.<span style="color: #006600;">out</span>.<span style="color: #006600;">println</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"Security exception:"</span> + se.<span style="color: #006600;">getMessage</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;
        <span style="color: #66cc66;">}</span>
    <span style="color: #66cc66;">}</span> 

    <span style="font-weight: bold; color: #000000;">public</span> <span style="color: #993333;">void</span> commandAction<span style="color: #66cc66;">(</span>Command c, Displayable d<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>c == saveCommand<span style="color: #66cc66;">)</span> saveFile<span style="color: #66cc66;">(</span>path, <span style="color: #ff0000;">"readme.txt"</span><span style="color: #66cc66;">)</span>;
        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>c == exitCommand<span style="color: #66cc66;">)</span> <span style="font-weight: bold; color: #000000;">this</span>.<span style="color: #006600;">notifyDestroyed</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;

    <span style="color: #66cc66;">}</span>
<span style="color: #66cc66;">}</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/textdateien-schreibenlesen-in-j2me-48.php/feed</wfw:commentRss>
		</item>
		<item>
		<title>SMS senden in J2ME</title>
		<link>http://www.aut.in/sms-senden-in-j2me-38.php</link>
		<comments>http://www.aut.in/sms-senden-in-j2me-38.php#comments</comments>
		<pubDate>Sun, 30 Nov 2008 09:23:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2ME]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.aut.in/?p=38</guid>
		<description><![CDATA[SMS senden in Java Mobile Edition ist eigentlich sehr leicht. Untenstehend findet man eine Beispielsmethode die an eine angegebene Nummer eine Textnachricht per SMS verschickt. Dabei ist zu beachten, dass das Handy-Betriebssystem den Benutzer automatisch frägt, ob er das Senden der SMS erlaubt. Diese Abfrage kann auch mit signierten Java-Midlets nicht umgangen werden. Die Entwickler [...]]]></description>
			<content:encoded><![CDATA[<p>SMS senden in Java Mobile Edition ist eigentlich sehr leicht. Untenstehend findet man eine Beispielsmethode die an eine angegebene Nummer eine Textnachricht per SMS verschickt. Dabei ist zu beachten, dass das Handy-Betriebssystem den Benutzer automatisch frägt, ob er das Senden der SMS erlaubt. Diese Abfrage kann auch mit signierten Java-Midlets nicht umgangen werden. Die Entwickler hatten dabei sicherlich den Schutz des Benutzers im Auge, da immerhin auch Premium-SMS (also Mehrwert-SMS, die viel Geld kosten können) verschickt werden können.</p>
<pre class="java"><span id="more-38"></span>
<span style="font-weight: bold; color: #000000;">public</span> <span style="color: #993333;">boolean</span> sendSms<span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> number, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> message<span style="color: #66cc66;">)</span><span style="color: #66cc66;">{</span>
    <span style="color: #993333;">boolean</span> result = <span style="font-weight: bold; color: #000000;">true</span>;
    <span style="font-weight: bold; color: #000000;">try</span> <span style="color: #66cc66;">{</span>
      <span style="font-style: italic; color: #808080;">// die Telefonnummer, an die die Nachricht geschickt werden soll</span>
      <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">String</span></a> addr = <span style="color: #ff0000;">"sms://"</span>+number;
      <span style="font-style: italic; color: #808080;">// Verbindung öffnen</span>
      MessageConnection conn = <span style="color: #66cc66;">(</span>MessageConnection<span style="color: #66cc66;">)</span> Connector.<span style="color: #006600;">open</span><span style="color: #66cc66;">(</span>addr<span style="color: #66cc66;">)</span>;
      <span style="font-style: italic; color: #808080;">// Vorbereiten der TextNachricht</span>
      TextMessage msg =
      <span style="color: #66cc66;">(</span>TextMessage<span style="color: #66cc66;">)</span>conn.<span style="color: #006600;">newMessage</span><span style="color: #66cc66;">(</span>MessageConnection.<span style="color: #006600;">TEXT_MESSAGE</span><span style="color: #66cc66;">)</span>;
      <span style="font-style: italic; color: #808080;">// Nachrichtentext setzen</span>
      msg.<span style="color: #006600;">setPayloadText</span><span style="color: #66cc66;">(</span>message<span style="color: #66cc66;">)</span>;
      <span style="font-style: italic; color: #808080;">// Nachricht senden</span>
      conn.<span style="color: #006600;">send</span><span style="color: #66cc66;">(</span>msg<span style="color: #66cc66;">)</span>;
      conn.<span style="color: #006600;">close</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span> <span style="font-weight: bold; color: #000000;">catch</span> <span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASecurityException+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">SecurityException</span></a> se<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
        <span style="font-style: italic; color: #808080;">// falls der User das Versenden der Nachricht verweigert
        // (Sicherheitsabfrage), landet er hier.</span>
        result = <span style="font-weight: bold; color: #000000;">false</span>;
    <span style="color: #66cc66;">}</span> <span style="font-weight: bold; color: #000000;">catch</span> <span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AException+java.sun.com&amp;bntI=I%27m%20Feeling%20Lucky"><span style="font-weight: bold; color: #aaaadd;">Exception</span></a> e<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
        result = <span style="font-weight: bold; color: #000000;">false</span>;
    <span style="color: #66cc66;">}</span>
    <span style="font-weight: bold; color: #000000;">return</span> result;
  <span style="color: #66cc66;">}</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.aut.in/sms-senden-in-j2me-38.php/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
