<?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/"
		>
<channel>
	<title>Comments on: iPhone Windowed HTTP Live Streaming Using Amazon S3 and Cloudfront Proof of Concept</title>
	<atom:link href="http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/</link>
	<description>Thoughts on Software Development and Engineering</description>
	<lastBuildDate>Thu, 05 Jan 2012 16:35:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Pavel</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-198750</link>
		<dc:creator>Pavel</dc:creator>
		<pubDate>Wed, 23 Feb 2011 00:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-198750</guid>
		<description>Very useful info. I&#039;m doing similar task: playing segmented videos on iPhone. I&#039;m stuck with a  strange problem and would like to know if anyone had the same issue.
When I segment a 20 minute video into 10 second segments and put first 10 segments into m3u8, then I get strange problem when playing: on the last 1 or two videos video playback slows down, while audio playback is normal. I&#039;m sure that the segments themselves do not have problem (if I start playback from them, then they don&#039;t have slowdown in video), basically I&#039;m sure it&#039;s some sort of bug in the iPhone streaming player itself. Did anyone of you noticed such problem? I&#039;m using iPhone 4.

thanks</description>
		<content:encoded><![CDATA[<p>Very useful info. I&#039;m doing similar task: playing segmented videos on iPhone. I&#039;m stuck with a  strange problem and would like to know if anyone had the same issue.<br />
When I segment a 20 minute video into 10 second segments and put first 10 segments into m3u8, then I get strange problem when playing: on the last 1 or two videos video playback slows down, while audio playback is normal. I&#039;m sure that the segments themselves do not have problem (if I start playback from them, then they don&#039;t have slowdown in video), basically I&#039;m sure it&#039;s some sort of bug in the iPhone streaming player itself. Did anyone of you noticed such problem? I&#039;m using iPhone 4.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-198448</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Fri, 18 Feb 2011 23:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-198448</guid>
		<description>Hi Carson,

Thanks a lot for all the work you&#039;ve done. I&#039;ve been trying to get project working on Snow Leopard but it&#039;s been a little slow going for me. My main problem was first of all installing FFMpeg which I finally solved after finding this blog post: 

http://www.haykranen.nl/2007/11/21/howto-install-and-use-ffmpeg-on-mac-os-x-leopard/

It shows how to install FFMpeg using Mac Ports as if it were a .dmg or package so I recommend this for any OSX users (it also simplifies the process of getting libraries such as faad, faac, libmp3lame, x264 etc..). 

So, seeing as I now have all the needed libraries I figured that compiling the live_segmenter.c would be as easy as doing a make in the root directory, however, when I did so, the error messages said it couldn&#039;t find avformat.h. I decided to replace the #include line in live_segmenter.c with:

#include &quot;../ffmpeg/libavformat/avformat.h&quot;

which is the relative URL to where my avformat.h file is located. This then lead me to the same problem of locating another header file but this time I would&#039;ve had to modify the #include in avformat.h and I didn&#039;t want to start messing around with FFMpeg&#039;s library files.

Am I totally off track here or can someone help me out ? I&#039;ve successfully encoded .mov files into .ts files (H.264 and MP3) using FFMpeg so my next step is to just compile this segmenter and chop up the .ts files.</description>
		<content:encoded><![CDATA[<p>Hi Carson,</p>
<p>Thanks a lot for all the work you&#039;ve done. I&#039;ve been trying to get project working on Snow Leopard but it&#039;s been a little slow going for me. My main problem was first of all installing FFMpeg which I finally solved after finding this blog post: </p>
<p><a href="http://www.haykranen.nl/2007/11/21/howto-install-and-use-ffmpeg-on-mac-os-x-leopard/" rel="nofollow">http://www.haykranen.nl/2007/11/21/howto-install-and-use-ffmpeg-on-mac-os-x-leopard/</a></p>
<p>It shows how to install FFMpeg using Mac Ports as if it were a .dmg or package so I recommend this for any OSX users (it also simplifies the process of getting libraries such as faad, faac, libmp3lame, x264 etc..). </p>
<p>So, seeing as I now have all the needed libraries I figured that compiling the live_segmenter.c would be as easy as doing a make in the root directory, however, when I did so, the error messages said it couldn&#039;t find avformat.h. I decided to replace the #include line in live_segmenter.c with:</p>
<p>#include &#034;../ffmpeg/libavformat/avformat.h&#034;</p>
<p>which is the relative URL to where my avformat.h file is located. This then lead me to the same problem of locating another header file but this time I would&#039;ve had to modify the #include in avformat.h and I didn&#039;t want to start messing around with FFMpeg&#039;s library files.</p>
<p>Am I totally off track here or can someone help me out ? I&#039;ve successfully encoded .mov files into .ts files (H.264 and MP3) using FFMpeg so my next step is to just compile this segmenter and chop up the .ts files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mika</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-179874</link>
		<dc:creator>Mika</dc:creator>
		<pubDate>Mon, 16 Aug 2010 11:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-179874</guid>
		<description>To add on point 2: live_upload writes the .ts but not the .m3u8...</description>
		<content:encoded><![CDATA[<p>To add on point 2: live_upload writes the .ts but not the .m3u8&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mika</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-179872</link>
		<dc:creator>Mika</dc:creator>
		<pubDate>Mon, 16 Aug 2010 11:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-179872</guid>
		<description>Awesome page and thanks for all the hints!

After I could get VoD over HTTP to iPhone and iPad, at multiple bitrates, I am now looking at live, and face little issues.

I have a Cisco DCM that is able to spit H.264/AAC in MPEG2-TS --&gt; no Xcode needed.
I also don&#039;t need to upload to any cloud computing (yet).

It looks then fairly simple but:

1. How to just have ffmpeg to output to the segmenter (no Xcoding)? I was thinking of ffplay udp://239.1.1.1:40000 and pipe it to the segmenter but ffplay just stalls on the udp stream and does nothing.

2. I don&#039;t really need the live_upload but simply the segmenter.c that was working for VoD. Again, it does not work and just exits after 3 seconds. I checked your piece of code to fix input from stream. The code I have foir segmenter.c is a little bit different and it seems it already incorporates the fix:

       ret = av_interleaved_write_frame(oc, &amp;packet);
        if (ret  0) {
            fprintf(stderr, &quot;End of stream requested\n&quot;);
            av_free_packet(&amp;packet);
            break;
        }

        av_free_packet(&amp;packet);

 
Any help much appreciated ;)

Mika</description>
		<content:encoded><![CDATA[<p>Awesome page and thanks for all the hints!</p>
<p>After I could get VoD over HTTP to iPhone and iPad, at multiple bitrates, I am now looking at live, and face little issues.</p>
<p>I have a Cisco DCM that is able to spit H.264/AAC in MPEG2-TS &#8211;&gt; no Xcode needed.<br />
I also don&#039;t need to upload to any cloud computing (yet).</p>
<p>It looks then fairly simple but:</p>
<p>1. How to just have ffmpeg to output to the segmenter (no Xcoding)? I was thinking of ffplay udp://239.1.1.1:40000 and pipe it to the segmenter but ffplay just stalls on the udp stream and does nothing.</p>
<p>2. I don&#039;t really need the live_upload but simply the segmenter.c that was working for VoD. Again, it does not work and just exits after 3 seconds. I checked your piece of code to fix input from stream. The code I have foir segmenter.c is a little bit different and it seems it already incorporates the fix:</p>
<p>       ret = av_interleaved_write_frame(oc, &amp;packet);<br />
        if (ret  0) {<br />
            fprintf(stderr, &#034;End of stream requested\n&#034;);<br />
            av_free_packet(&amp;packet);<br />
            break;<br />
        }</p>
<p>        av_free_packet(&amp;packet);</p>
<p>Any help much appreciated ;)</p>
<p>Mika</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carson</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-176203</link>
		<dc:creator>carson</dc:creator>
		<pubDate>Wed, 21 Jul 2010 13:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-176203</guid>
		<description>@Jomy I&#039;m trying to get time to come back around and update things and that is on my list of items to do.</description>
		<content:encoded><![CDATA[<p>@Jomy I&#039;m trying to get time to come back around and update things and that is on my list of items to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jomy Muttathil</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-175598</link>
		<dc:creator>Jomy Muttathil</dc:creator>
		<pubDate>Fri, 16 Jul 2010 20:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-175598</guid>
		<description>It would be great if all these pieces could be compiled into a virtual appliance that could be easily deployed to EC2.

I&#039;m thinking of trying it with a turnkeylinux.org appliance but some of this stuff is over my head.</description>
		<content:encoded><![CDATA[<p>It would be great if all these pieces could be compiled into a virtual appliance that could be easily deployed to EC2.</p>
<p>I&#039;m thinking of trying it with a turnkeylinux.org appliance but some of this stuff is over my head.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saravanan</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-166378</link>
		<dc:creator>Saravanan</dc:creator>
		<pubDate>Sun, 28 Mar 2010 13:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-166378</guid>
		<description>Thanks Carson. The small trick is to enable the plugin option of the Safari browser, else the Quicktime player never triggered even if the browser sees a  tag. 

After I enabled the plugin it started working great.</description>
		<content:encoded><![CDATA[<p>Thanks Carson. The small trick is to enable the plugin option of the Safari browser, else the Quicktime player never triggered even if the browser sees a  tag. </p>
<p>After I enabled the plugin it started working great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carson</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-166341</link>
		<dc:creator>carson</dc:creator>
		<pubDate>Sat, 27 Mar 2010 17:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-166341</guid>
		<description>The best demo if you want to just see something working is http://iphone.akamai.com/ I don&#039;t know if anyone has my version of the streamer set up for anyone to connect to as a demo.</description>
		<content:encoded><![CDATA[<p>The best demo if you want to just see something working is <a href="http://iphone.akamai.com/" rel="nofollow">http://iphone.akamai.com/</a> I don&#039;t know if anyone has my version of the streamer set up for anyone to connect to as a demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saravanan</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-166335</link>
		<dc:creator>Saravanan</dc:creator>
		<pubDate>Sat, 27 Mar 2010 14:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-166335</guid>
		<description>Is there a sample demo website where I can point my Iphone for http streaming ?</description>
		<content:encoded><![CDATA[<p>Is there a sample demo website where I can point my Iphone for http streaming ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saravanan</title>
		<link>http://www.ioncannon.net/programming/475/iphone-windowed-http-live-streaming-using-amazon-s3-and-cloudfront-proof-of-concept/comment-page-1/#comment-166333</link>
		<dc:creator>Saravanan</dc:creator>
		<pubDate>Sat, 27 Mar 2010 14:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=475#comment-166333</guid>
		<description>Can you anyone please post a capture of the packets between iphone and the Webserver ? After downloading the html file, my iphone did not go to the next step of finding the sending a GET to fetch the m3u8 file</description>
		<content:encoded><![CDATA[<p>Can you anyone please post a capture of the packets between iphone and the Webserver ? After downloading the html file, my iphone did not go to the next step of finding the sending a GET to fetch the m3u8 file</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.258 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-01-09 02:30:19 -->

