<?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>n8o &#187; RTMP</title>
	<atom:link href="http://n8o.org/tag/rtmp/feed/" rel="self" type="application/rss+xml" />
	<link>http://n8o.org</link>
	<description>the geeks sandbox</description>
	<lastBuildDate>Tue, 24 Jan 2012 15:13:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Compiling FFMPEG 0.6 with RTMP Support for OSX</title>
		<link>http://n8o.org/compiling-ffmpeg-rtmp-support/</link>
		<comments>http://n8o.org/compiling-ffmpeg-rtmp-support/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 15:22:28 +0000</pubDate>
		<dc:creator>n8o</dc:creator>
				<category><![CDATA[Video]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[RTMP]]></category>
		<category><![CDATA[Streaming]]></category>

		<guid isPermaLink="false">http://www.n8o.org/?p=314</guid>
		<description><![CDATA[The other day FFMPEG released version 0.6 nick named &#8220;Works with HTML5&#8243;. Today I&#8217;m going to try to describe the steps on how to compile this new release in OSX with RTMP support. This wont be for the faint of heart. First you will need to download and install Xcode and then MacPorts. Please go here [...]]]></description>
			<content:encoded><![CDATA[<p>The other day <a title="FFMPEG" href="http://ffmpeg.org/">FFMPEG</a> released version 0.6 nick named &#8220;Works with HTML5&#8243;. Today I&#8217;m going to try to describe the steps on how to compile this new release in OSX with RTMP support. This wont be for the faint of heart.</p>
<p>First you will need to download and install <a title="Xcode" href="http://developer.apple.com/technologies/xcode.html">Xcode</a> and then <a title="MacPorts" href="http://www.macports.org/">MacPorts</a>. Please go here for MacPort <a title="MacPorts" href="http://www.macports.org/install.php">download and install instructions</a>.</p>
<p>Once when MacPorts is done being installed you will need to install a few packages. They include yasm, pkgconfig and openssl. So lets begin getting those installed first. Type the following command into terminal and then press enter.<br />
<code>sudo port install yasm pkgconfig openssl</code></p>
<p>Once when this is complete you will need to download a few extra files. We are going to compile these manually so we make sure we have the latest and greatest.</p>
<p><a title="FAAC" href="http://downloads.sourceforge.net/faac/faac-1.28.tar.gz">FAAC v1.28</a><br />
<a title="FAAD" href="http://downloads.sourceforge.net/faac/faad2-2.7.tar.gz">FAAD2 v2.7</a><br />
<a title="Lame" href="http://sourceforge.net/projects/lame/files/lame/3.98.4/lame-3.98.4.tar.gz/download">Lame</a><br />
<a title="RTMPDUMP (librtmp)" href="http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2e.tar.gz">LIBRTMP</a><br />
<a title="x264" href="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/">x264</a> (download the latest build)<br />
<a title="FFMPEG 0.6" href="http://ffmpeg.org/releases/ffmpeg-0.6.tar.gz">FFMPEG 0.6</a></p>
<p>First you will want to extract each archive. In OSX you can double-click on the archive to extract or else in terminal use the following command.</p>
<p><code> tar xzf FILE_NAME.tar.gz</code></p>
<p>Now it&#8217;s time to compile each library. Don&#8217;t worry its very easy. For the rest of the steps we will only be working in terminal. So open it up and navigate to where you downloaded your files. Mine are located in my Downloads folder.<br />
<code>cd ~/Downloads</code></p>
<p>Enter the following commands to navigate to your faac folder, configure, compile and install.</p>
<p><code>cd faac-1.28/<br />
./configure<br />
make<br />
make install</code></p>
<p>Now to compile Faad</p>
<p><code>cd ../faad2-2.7/<br />
./configure<br />
make<br />
make install</code></p>
<p>Lames turn</p>
<p><code>cd ../lame-3.98.4/<br />
./configure<br />
make<br />
make install</code></p>
<p>RTMP is a little different.</p>
<p><code>cd ../rtmpdump-2.2e/<br />
make SYS=MacOSX<br />
make install</code></p>
<p>Your path to h264 will most likely be different from mine.</p>
<p><code>cd ../x264-snapshot-20100629-2245/<br />
./configure<br />
make<br />
make install</code></p>
<p>Finally FFMPEG 0.6. This also requires a few more steps.<br />
<code>cd ../ffmpeg-0.6/<br />
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig<br />
./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264 --enable-libvpx --enable-librtmp<br />
make<br />
make install</code></p>
<p>Done! now you are ready to encode your file and send it to an RTMP server. I&#8217;ve been using the following command to test this.<br />
<code>ffmpeg -i INPUT_FILE -re -ac 2 -acodec libfaac -vcodec libx264 -vpre default -s 480x320 -f flv rtmp://localhost:1935/rtmp/test</code></p>
<p>Just replace INPUTE_FILE with the video you want to transcode and rtmp://localhost:1935/rtmp/test with the RTMP server you want to publish to. This could be a <a href="http://www.adobe.com/products/flashmediaserver/">Flash Media Server</a>, <a href="http://www.wowzamedia.com/">Wowza Server</a>, <a href="http://red5.org/">Red5</a>, <a href="http://erlyvideo.org/">Erlyvideo</a> or any other server that supports this functionality.</p>
]]></content:encoded>
			<wfw:commentRss>http://n8o.org/compiling-ffmpeg-rtmp-support/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Flash Video Streaming Solutions</title>
		<link>http://n8o.org/flash-video-streaming-solutions/</link>
		<comments>http://n8o.org/flash-video-streaming-solutions/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 16:53:35 +0000</pubDate>
		<dc:creator>n8o</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HDHomeRun]]></category>
		<category><![CDATA[MPEG-TS]]></category>
		<category><![CDATA[Red5]]></category>
		<category><![CDATA[RTMP]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.n8o.org/?p=38</guid>
		<description><![CDATA[So one of my secret obsessions is with video. I like to record video. I like to watch it. I like everything about it. But what I really like about it is the technology behind it. Call me crazy but I love to figure out how to encode a clip or video and see how [...]]]></description>
			<content:encoded><![CDATA[<p>So one of my secret obsessions is with video. I like to record video. I like to watch it. I like everything about it. But what I really like about it is the technology behind it. Call me crazy but I love to figure out how to encode a clip or video and see how good I can compress it using different codecs. Maybe that&#8217;s why I love working where I work. Since I &#8216;m a Flash / Flex programmer I have been wanting to investigate different streaming solutions for flash and see what is available and what will work with my little at home project.</p>
<p>This little project I&#8217;ve been playing around with is trying to get my <a title="HDHomeRun" href="http://www.silicondust.com/products?redirectedfrom=products%2Fhdhomerun">HDHomeRun</a> (HDHR) to rebroadcast its live feed to flash. I&#8217;ve been investigating technologies like <a title="Red5" href="http://code.google.com/p/red5/">Red5</a>, <a title="C++ RTMP Server" href="http://www.rtmpd.com/">C++ RTMP Server</a> and <a title="Flash Media Server" href="http://www.adobe.com/products/flashmediaserver/">Flash Media Server</a>. With anything that requires multiple pieces of different technologies. The hard part is integrating these different pieces together. Luckily the HDHR is open source. So that provides a lot of avenues for development. The only hard part is trying to get the MPEG-TS from the HDHR and convert it on the fly to something flash can use.</p>
<p>So far I haven&#8217;t been able to get any of the solutions to work. but as soon as I do I&#8217;ll post something here.</p>
]]></content:encoded>
			<wfw:commentRss>http://n8o.org/flash-video-streaming-solutions/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic

Served from: www.n8o.org @ 2012-02-05 07:17:29 -->
