<?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 HTTP Streaming with FFMpeg and an Open Source Segmenter</title>
	<atom:link href="http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/</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: startx</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-228401</link>
		<dc:creator>startx</dc:creator>
		<pubDate>Wed, 04 Jan 2012 16:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-228401</guid>
		<description>i came across the same problem, a segmentation fault when hitting the 40th segment.

interestingly m3u8 segmenter has the same problem ( at segment 50 )

any ideas whats causing that?</description>
		<content:encoded><![CDATA[<p>i came across the same problem, a segmentation fault when hitting the 40th segment.</p>
<p>interestingly m3u8 segmenter has the same problem ( at segment 50 )</p>
<p>any ideas whats causing that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Padma</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-228280</link>
		<dc:creator>Padma</dc:creator>
		<pubDate>Tue, 03 Jan 2012 23:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-228280</guid>
		<description>Hi,

Are there any tools available to parse the master index file and the alternate index files for the URLs? I am working something that requires to parse the files and downloads the segments. I am hoping that there is a tool/API available to parse the index files.

Appreciate your help.

Thanks,
Padma.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Are there any tools available to parse the master index file and the alternate index files for the URLs? I am working something that requires to parse the files and downloads the segments. I am hoping that there is a tool/API available to parse the index files.</p>
<p>Appreciate your help.</p>
<p>Thanks,<br />
Padma.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rdkls</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-218883</link>
		<dc:creator>rdkls</dc:creator>
		<pubDate>Wed, 02 Nov 2011 02:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-218883</guid>
		<description>Please note the svn mentioned above is quite old, and the  latest version is here https://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor/tree/v2

I&#039;ve just sent Carson pull request for minor changes fixing compilation against new versions of libav, not sure how active he is with it though.
Until applied, my fixed fork is here:
https://github.com/rdkls/HTTP-Live-Video-Stream-Segmenter-and-Distributor/tree/v2</description>
		<content:encoded><![CDATA[<p>Please note the svn mentioned above is quite old, and the  latest version is here <a href="https://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor/tree/v2" rel="nofollow">https://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor/tree/v2</a></p>
<p>I&#039;ve just sent Carson pull request for minor changes fixing compilation against new versions of libav, not sure how active he is with it though.<br />
Until applied, my fixed fork is here:<br />
<a href="https://github.com/rdkls/HTTP-Live-Video-Stream-Segmenter-and-Distributor/tree/v2" rel="nofollow">https://github.com/rdkls/HTTP-Live-Video-Stream-Segmenter-and-Distributor/tree/v2</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep Suresh</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-218720</link>
		<dc:creator>Sandeep Suresh</dc:creator>
		<pubDate>Mon, 31 Oct 2011 09:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-218720</guid>
		<description>Dear Carson,
    Is there a package with FFMpeg and stream segmenter which can be compiled, linked and built for an emmedded system (ARM, MIPS, x86 etc). Currently there seems to be a lot of dependency on a number of libraries. I got a link at http://www.users.on.net/~belles/software/ffmpeg/
but this again does not contain the sources, but only libraries for a RISC architecture.
Regards
Sandeep Suresh.</description>
		<content:encoded><![CDATA[<p>Dear Carson,<br />
    Is there a package with FFMpeg and stream segmenter which can be compiled, linked and built for an emmedded system (ARM, MIPS, x86 etc). Currently there seems to be a lot of dependency on a number of libraries. I got a link at <a href="http://www.users.on.net/~belles/software/ffmpeg/" rel="nofollow">http://www.users.on.net/~belles/software/ffmpeg/</a><br />
but this again does not contain the sources, but only libraries for a RISC architecture.<br />
Regards<br />
Sandeep Suresh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joolz</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-209635</link>
		<dc:creator>joolz</dc:creator>
		<pubDate>Wed, 13 Jul 2011 20:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-209635</guid>
		<description>ok just built the software and modified it to compile and link with the latest git of ffmpeg and x264 libraries

but i get a crash &quot;***stack smashing ...&quot;

always when trying to start creating segment 40?

anybody got a version running with a new build of ffmpeg libs

also lots of memory lost

joolz</description>
		<content:encoded><![CDATA[<p>ok just built the software and modified it to compile and link with the latest git of ffmpeg and x264 libraries</p>
<p>but i get a crash &#034;***stack smashing &#8230;&#034;</p>
<p>always when trying to start creating segment 40?</p>
<p>anybody got a version running with a new build of ffmpeg libs</p>
<p>also lots of memory lost</p>
<p>joolz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Morton</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-206954</link>
		<dc:creator>Brian Morton</dc:creator>
		<pubDate>Tue, 14 Jun 2011 20:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-206954</guid>
		<description>Here&#039;s my patch to get the original segmenter working against ffmpeg trunk.  Note that m3u8-segmenter does not compile against ffmpeg trunk either.

&lt;code&gt;
Index: segmenter.c
===================================================================
--- segmenter.c	(revision 50)
+++ segmenter.c	(working copy)
@@ -20,6 +20,20 @@
 
 #include &quot;libavformat/avformat.h&quot;
 
+/* This code is here to allow old versions of ffmpeg to compile.
+** It should be removed in the near future after everyone updates
+** to the latest ffmpeg version.
+*/
+#define CodecType AVMediaType
+#define CODEC_TYPE_UNKNOWN    AVMEDIA_TYPE_UNKNOWN
+#define CODEC_TYPE_VIDEO      AVMEDIA_TYPE_VIDEO
+#define CODEC_TYPE_AUDIO      AVMEDIA_TYPE_AUDIO
+#define CODEC_TYPE_DATA       AVMEDIA_TYPE_DATA
+#define CODEC_TYPE_SUBTITLE   AVMEDIA_TYPE_SUBTITLE
+#define CODEC_TYPE_ATTACHMENT AVMEDIA_TYPE_ATTACHMENT
+#define CODEC_TYPE_NB         AVMEDIA_TYPE_NB
+#define PKT_FLAG_KEY AV_PKT_FLAG_KEY
+
 static AVStream *add_output_stream(AVFormatContext *output_format_context, AVStream *input_stream) {
     AVCodecContext *input_codec_context;
     AVCodecContext *output_codec_context;
@@ -239,7 +253,7 @@
         exit(1);
     }
 
-    ofmt = guess_format(&quot;mpegts&quot;, NULL, NULL);
+    ofmt = av_guess_format(&quot;mpegts&quot;, NULL, NULL);
     if (!ofmt) {
         fprintf(stderr, &quot;Could not find MPEG-TS muxer\n&quot;);
         exit(1);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Here&#039;s my patch to get the original segmenter working against ffmpeg trunk.  Note that m3u8-segmenter does not compile against ffmpeg trunk either.</p>
<div class="codesnip-container" >Index: segmenter.c<br />
===================================================================<br />
&#8212; segmenter.c	(revision 50)<br />
+++ segmenter.c	(working copy)<br />
@@ -20,6 +20,20 @@</p>
<p> #include &#034;libavformat/avformat.h&#034;</p>
<p>+/* This code is here to allow old versions of ffmpeg to compile.<br />
+** It should be removed in the near future after everyone updates<br />
+** to the latest ffmpeg version.<br />
+*/<br />
+#define CodecType AVMediaType<br />
+#define CODEC_TYPE_UNKNOWN    AVMEDIA_TYPE_UNKNOWN<br />
+#define CODEC_TYPE_VIDEO      AVMEDIA_TYPE_VIDEO<br />
+#define CODEC_TYPE_AUDIO      AVMEDIA_TYPE_AUDIO<br />
+#define CODEC_TYPE_DATA       AVMEDIA_TYPE_DATA<br />
+#define CODEC_TYPE_SUBTITLE   AVMEDIA_TYPE_SUBTITLE<br />
+#define CODEC_TYPE_ATTACHMENT AVMEDIA_TYPE_ATTACHMENT<br />
+#define CODEC_TYPE_NB         AVMEDIA_TYPE_NB<br />
+#define PKT_FLAG_KEY AV_PKT_FLAG_KEY<br />
+<br />
 static AVStream *add_output_stream(AVFormatContext *output_format_context, AVStream *input_stream) {<br />
     AVCodecContext *input_codec_context;<br />
     AVCodecContext *output_codec_context;<br />
@@ -239,7 +253,7 @@<br />
         exit(1);<br />
     }</p>
<p>-    ofmt = guess_format(&#034;mpegts&#034;, NULL, NULL);<br />
+    ofmt = av_guess_format(&#034;mpegts&#034;, NULL, NULL);<br />
     if (!ofmt) {<br />
         fprintf(stderr, &#034;Could not find MPEG-TS muxer\n&#034;);<br />
         exit(1);</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: rct</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-206828</link>
		<dc:creator>rct</dc:creator>
		<pubDate>Mon, 13 Jun 2011 02:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-206828</guid>
		<description>Getting the same error as Cristi with the git ffmpeg... Anyone know a version of the ffmpeg that works with this?</description>
		<content:encoded><![CDATA[<p>Getting the same error as Cristi with the git ffmpeg&#8230; Anyone know a version of the ffmpeg that works with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristi</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-205769</link>
		<dc:creator>Cristi</dc:creator>
		<pubDate>Tue, 31 May 2011 16:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-205769</guid>
		<description>This is a new one! I am also having trouble compiling the segmentor, but I have not seen the error I&#039;m getting at the other people.

http://pastebin.com/d6hPVhhg

Help is much appreciated. 

Thank you!</description>
		<content:encoded><![CDATA[<p>This is a new one! I am also having trouble compiling the segmentor, but I have not seen the error I&#039;m getting at the other people.</p>
<p><a href="http://pastebin.com/d6hPVhhg" rel="nofollow">http://pastebin.com/d6hPVhhg</a></p>
<p>Help is much appreciated. </p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alntke</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-204383</link>
		<dc:creator>alntke</dc:creator>
		<pubDate>Thu, 12 May 2011 13:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-204383</guid>
		<description>Hi Carson ,
Thanks for such a nice tutorial it helped a lot.

But I am stuck, with playing .m3u8 file in Safari. I have taken the source code which you have given above.
But it is opening the index file in the browser as such instead of playing it. What could be wrong here . Any help will be appreciated.</description>
		<content:encoded><![CDATA[<p>Hi Carson ,<br />
Thanks for such a nice tutorial it helped a lot.</p>
<p>But I am stuck, with playing .m3u8 file in Safari. I have taken the source code which you have given above.<br />
But it is opening the index file in the browser as such instead of playing it. What could be wrong here . Any help will be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/comment-page-4/#comment-203224</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 28 Apr 2011 05:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=452#comment-203224</guid>
		<description>I managed to get segmenter to compile on OSX, but all it did was segfault on my ts files (they are aac audio only, no video).

Then, I came across &lt;a href=&quot;https://github.com/johnf/m3u8-segmenter&quot; rel=&quot;nofollow&quot;&gt;m3u8-segmenter&lt;/a&gt;. Hooray, works first time. Now if only I&#039;d found it three hours ago...</description>
		<content:encoded><![CDATA[<p>I managed to get segmenter to compile on OSX, but all it did was segfault on my ts files (they are aac audio only, no video).</p>
<p>Then, I came across <a href="https://github.com/johnf/m3u8-segmenter" rel="nofollow">m3u8-segmenter</a>. Hooray, works first time. Now if only I&#039;d found it three hours ago&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.250 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-01 15:19:27 -->

