<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Pseudo-streaming MP4/H264 video from PHP</title>
	<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/</link>
	<description>Thoughts about high architecture and sheer speed.</description>
	<pubDate>Tue, 07 Feb 2012 15:21:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: Arjen</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-466</link>
		<author>Arjen</author>
		<pubDate>Wed, 04 Feb 2009 23:36:42 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-466</guid>
					<description>Hi Valeriu,

Nice to see that the code is being picked up and used. :)

Just to keep you updated, there are now also plugins available for Apache and Nginx (next to Lighttpd).

Let me know if you have any feature requests, we're always looking to improve on things.

Regards,

Arjen
http://h264.code-shop.com</description>
		<content:encoded><![CDATA[<p>Hi Valeriu,</p>
<p>Nice to see that the code is being picked up and used. :)</p>
<p>Just to keep you updated, there are now also plugins available for Apache and Nginx (next to Lighttpd).</p>
<p>Let me know if you have any feature requests, we&#8217;re always looking to improve on things.</p>
<p>Regards,</p>
<p>Arjen<br />
<a href="http://h264.code-shop.com" rel="nofollow">http://h264.code-shop.com</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Joe</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-467</link>
		<author>Joe</author>
		<pubDate>Fri, 06 Feb 2009 13:58:52 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-467</guid>
					<description>Many thanks for sharing this!</description>
		<content:encoded><![CDATA[<p>Many thanks for sharing this!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-468</link>
		<author>Valeriu Paloş</author>
		<pubDate>Fri, 06 Feb 2009 14:15:06 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-468</guid>
					<description>@Joe: Glad to hear it :)

@Arjen: The code is excellent and is essential for a website I'm working on so, thank you!</description>
		<content:encoded><![CDATA[<p>@Joe: Glad to hear it :)</p>
<p>@Arjen: The code is excellent and is essential for a website I&#8217;m working on so, thank you!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Doru Moisa</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-470</link>
		<author>Doru Moisa</author>
		<pubDate>Mon, 09 Feb 2009 15:12:34 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-470</guid>
					<description>For me, it works only if I disable the bandwidth limit functionality
ini_set('psstream.bandwidth_limit',0);
Tested on CentOS5 with apache 2.2 and lighttpd 1.4.20.
Anyway, it this extension is extremely usefull, since it allows you to "pseudo-stream" both flv and mp4 files from any webserver software on linux with PHP.
Thanks and keep up the good work!

Doru.</description>
		<content:encoded><![CDATA[<p>For me, it works only if I disable the bandwidth limit functionality<br />
ini_set(&#8217;psstream.bandwidth_limit&#8217;,0);<br />
Tested on CentOS5 with apache 2.2 and lighttpd 1.4.20.<br />
Anyway, it this extension is extremely usefull, since it allows you to &#8220;pseudo-stream&#8221; both flv and mp4 files from any webserver software on linux with PHP.<br />
Thanks and keep up the good work!</p>
<p>Doru.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mike</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-471</link>
		<author>Mike</author>
		<pubDate>Wed, 11 Feb 2009 14:44:03 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-471</guid>
					<description>Do you now how it can be compiled for windows?</description>
		<content:encoded><![CDATA[<p>Do you now how it can be compiled for windows?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Hans Guth</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-477</link>
		<author>Hans Guth</author>
		<pubDate>Sat, 04 Apr 2009 19:44:39 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-477</guid>
					<description>Hi there.  I think I got everything installed properly but when I try to run the movie from the link below, I get a movie cannot be found message?  I tried a direct url and a local reference but nothing seems to work?  Argh...  Can you take a look at see if you can see what I am doing wrong?  Thanks so much for posting this.  I hope I can get it working.

Hans

http://www.listingsmagic.com/jw_player2/mp4_player_test.php</description>
		<content:encoded><![CDATA[<p>Hi there.  I think I got everything installed properly but when I try to run the movie from the link below, I get a movie cannot be found message?  I tried a direct url and a local reference but nothing seems to work?  Argh&#8230;  Can you take a look at see if you can see what I am doing wrong?  Thanks so much for posting this.  I hope I can get it working.</p>
<p>Hans</p>
<p><a href="http://www.listingsmagic.com/jw_player2/mp4_player_test.php" rel="nofollow">http://www.listingsmagic.com/jw_player2/mp4_player_test.php</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-478</link>
		<author>Valeriu Paloş</author>
		<pubDate>Sun, 05 Apr 2009 18:50:03 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-478</guid>
					<description>@Hans Guts:

Hello, the problem is in your flashvars line (the script that I used at the demo site could not have worked for you since it uses a slightly modified version of the original player).

In the original form of the player (the SWF you have on your site) the player only sends the correct requests to psstream if it has the "streamer=lighttpd" parameter passed in the flashvars; the mp4 file path is then sent through the id parameter (i.e. "streamer=lighttpd&#038;id=video.mp4").

Please see the section marked above in red (in the post) to understand the issue, it is all explained there in detail.

Please tell me if you need more help, I'll be glad to pitch in :D.</description>
		<content:encoded><![CDATA[<p>@Hans Guts:</p>
<p>Hello, the problem is in your flashvars line (the script that I used at the demo site could not have worked for you since it uses a slightly modified version of the original player).</p>
<p>In the original form of the player (the SWF you have on your site) the player only sends the correct requests to psstream if it has the &#8220;streamer=lighttpd&#8221; parameter passed in the flashvars; the mp4 file path is then sent through the id parameter (i.e. &#8220;streamer=lighttpd&#038;id=video.mp4&#8243;).</p>
<p>Please see the section marked above in red (in the post) to understand the issue, it is all explained there in detail.</p>
<p>Please tell me if you need more help, I&#8217;ll be glad to pitch in :D.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bryan</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-481</link>
		<author>Bryan</author>
		<pubDate>Mon, 06 Apr 2009 10:22:33 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-481</guid>
					<description>Great extension, quick question does it support duration? I have the extension working well but could not find the support for duration. Would be very useful?</description>
		<content:encoded><![CDATA[<p>Great extension, quick question does it support duration? I have the extension working well but could not find the support for duration. Would be very useful?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bookmarks for April 14th at dpwolf/blog</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-486</link>
		<author>Bookmarks for April 14th at dpwolf/blog</author>
		<pubDate>Tue, 14 Apr 2009 12:08:38 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-486</guid>
					<description>[...] Pseudo-streaming MP4/H264 video from PHP &#124; Paloş::Code.Blog() - This PHP extension allows you to start downloading a video file from a given offset time. This means you can jump to a point halfway through a movie without having to wait for the first half to load. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Pseudo-streaming MP4/H264 video from PHP | Paloş::Code.Blog() - This PHP extension allows you to start downloading a video file from a given offset time. This means you can jump to a point halfway through a movie without having to wait for the first half to load. [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-489</link>
		<author>Valeriu Paloş</author>
		<pubDate>Thu, 16 Apr 2009 11:04:48 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-489</guid>
					<description>@Bryan: What exactly do you mean by duration? You mean to actually serve only a part of the file (limiting the length served)? This is not implemented, maybe when I make a bit of time I could look into it.</description>
		<content:encoded><![CDATA[<p>@Bryan: What exactly do you mean by duration? You mean to actually serve only a part of the file (limiting the length served)? This is not implemented, maybe when I make a bit of time I could look into it.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Thomas</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-490</link>
		<author>Thomas</author>
		<pubDate>Wed, 22 Apr 2009 09:06:33 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-490</guid>
					<description>Hi Valeriu,

many thanks for your work!

Can I ask you if the parameter settings for mp4 pseudostreaming (as given above) is still deemed to be correct:
s1.addParam("flashvars","image=preview.jpg&#38;file=http://mydomain.com/psstream.php&#38;type=video&#38;id=video.mp4&#38;streamer=lighttpd");     ?

I tried many different combinations of this bunch of parameters but I never got it to work properly (with version 1.0 (beta) downloaded yesterday). Sometimes the video started but the pseudostreaming seek functionality never worked.

I then had a look at the source code of your demo and with some minor changes I managed to get it to work both with the JWPlayer embedded in Flex and the standalone version (embedded in HTML via swfobject):

Flex:

private var file:String = "player.swf?file=kanea_maa.mp4&#38;" +
		"streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&#38;" +
		"controlbar=over&#38;" + 
		"resizing=false";





HTML:

	var s1 = new SWFObject('flash/player.swf','player','400','300','9');
	s1.addParam('allowfullscreen','false');
	s1.addParam('allowscriptaccess','always');
	s1.addParam("flashvars","file=kanea_maa.mp4&#38;streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&#38;image=img/annex-icon.gif");
	s1.write('preview');



I'm using XAMPP (-&#62; Apache 2) in an ubuntu vmware image as pseudostreaming solution.


Cheers, Thomas</description>
		<content:encoded><![CDATA[<p>Hi Valeriu,</p>
<p>many thanks for your work!</p>
<p>Can I ask you if the parameter settings for mp4 pseudostreaming (as given above) is still deemed to be correct:<br />
s1.addParam(&#8221;flashvars&#8221;,&#8221;image=preview.jpg&amp;file=http://mydomain.com/psstream.php&amp;type=video&amp;id=video.mp4&amp;streamer=lighttpd&#8221;);     ?</p>
<p>I tried many different combinations of this bunch of parameters but I never got it to work properly (with version 1.0 (beta) downloaded yesterday). Sometimes the video started but the pseudostreaming seek functionality never worked.</p>
<p>I then had a look at the source code of your demo and with some minor changes I managed to get it to work both with the JWPlayer embedded in Flex and the standalone version (embedded in HTML via swfobject):</p>
<p>Flex:</p>
<p>private var file:String = &#8220;player.swf?file=kanea_maa.mp4&amp;&#8221; +<br />
		&#8220;streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&amp;&#8221; +<br />
		&#8220;controlbar=over&amp;&#8221; +<br />
		&#8220;resizing=false&#8221;;</p>
<p>HTML:</p>
<p>	var s1 = new SWFObject(&#8217;flash/player.swf&#8217;,'player&#8217;,'400&#8242;,&#8217;300&#8242;,&#8217;9&#8242;);<br />
	s1.addParam(&#8217;allowfullscreen&#8217;,'false&#8217;);<br />
	s1.addParam(&#8217;allowscriptaccess&#8217;,'always&#8217;);<br />
	s1.addParam(&#8221;flashvars&#8221;,&#8221;file=kanea_maa.mp4&amp;streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&amp;image=img/annex-icon.gif&#8221;);<br />
	s1.write(&#8217;preview&#8217;);</p>
<p>I&#8217;m using XAMPP (-&gt; Apache 2) in an ubuntu vmware image as pseudostreaming solution.</p>
<p>Cheers, Thomas</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Thomas</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-491</link>
		<author>Thomas</author>
		<pubDate>Wed, 22 Apr 2009 09:09:45 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-491</guid>
					<description>Unfortunately all the tags in my code snippets were eaten up in my previous post. I'll have another try:

Flex:

private var file:String = "player.swf?file=kanea_maa.mp4&#38;" +
		"streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&#38;" +
		"controlbar=over&#38;" + 
		"resizing=false";

&#60;mx:SWFLoader id="player" source="{file}" 
	maintainAspectRatio="false" scaleContent="false" 
	width="320" height="240" minHeight="200"
	init="loaderFinished(event);"
	resize="resizePlayer();"&#62;
&#60;/mx:SWFLoader&#62;


HTML:
&#60;script type='text/javascript'&#62;
	var s1 = new SWFObject('flash/player.swf','player','400','300','9');
	s1.addParam('allowfullscreen','false');
	s1.addParam('allowscriptaccess','always');
	s1.addParam("flashvars","file=kanea_maa.mp4&#38;streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&#38;image=img/annex-icon.gif");
	s1.write('preview');
&#60;/script&#62;</description>
		<content:encoded><![CDATA[<p>Unfortunately all the tags in my code snippets were eaten up in my previous post. I&#8217;ll have another try:</p>
<p>Flex:</p>
<p>private var file:String = &#8220;player.swf?file=kanea_maa.mp4&amp;&#8221; +<br />
		&#8220;streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&amp;&#8221; +<br />
		&#8220;controlbar=over&amp;&#8221; +<br />
		&#8220;resizing=false&#8221;;</p>
<p>&lt;mx:SWFLoader id=&#8221;player&#8221; source=&#8221;{file}&#8221;<br />
	maintainAspectRatio=&#8221;false&#8221; scaleContent=&#8221;false&#8221;<br />
	width=&#8221;320&#8243; height=&#8221;240&#8243; minHeight=&#8221;200&#8243;<br />
	init=&#8221;loaderFinished(event);&#8221;<br />
	resize=&#8221;resizePlayer();&#8221;&gt;<br />
&lt;/mx:SWFLoader&gt;</p>
<p>HTML:<br />
&lt;script type=&#8217;text/javascript&#8217;&gt;<br />
	var s1 = new SWFObject(&#8217;flash/player.swf&#8217;,'player&#8217;,'400&#8242;,&#8217;300&#8242;,&#8217;9&#8242;);<br />
	s1.addParam(&#8217;allowfullscreen&#8217;,'false&#8217;);<br />
	s1.addParam(&#8217;allowscriptaccess&#8217;,'always&#8217;);<br />
	s1.addParam(&#8221;flashvars&#8221;,&#8221;file=kanea_maa.mp4&amp;streamer=http://192.168.193.129/psstream.php?id=kanea_maa.mp4&amp;image=img/annex-icon.gif&#8221;);<br />
	s1.write(&#8217;preview&#8217;);<br />
&lt;/script&gt;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Thomas</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-492</link>
		<author>Thomas</author>
		<pubDate>Wed, 22 Apr 2009 09:15:43 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-492</guid>
					<description>A question to everybody: has anyone ever managed to get mp4 pseudostreaming with this PHP module properly up and running with FlowPlayer (FlowPlayer manages to do mp4 pseudostreaming with the original h264.code-shop module)? If so, would you mind to share the code snippets to make the correct call to FlowPlayer?

Thanks, Thomas</description>
		<content:encoded><![CDATA[<p>A question to everybody: has anyone ever managed to get mp4 pseudostreaming with this PHP module properly up and running with FlowPlayer (FlowPlayer manages to do mp4 pseudostreaming with the original h264.code-shop module)? If so, would you mind to share the code snippets to make the correct call to FlowPlayer?</p>
<p>Thanks, Thomas</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Блог депрессивного веб-программиста. »</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-493</link>
		<author>Блог депрессивного веб-программиста. »</author>
		<pubDate>Wed, 22 Apr 2009 14:15:27 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-493</guid>
					<description>[...] Оригинальный пост в блоге Palos. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Оригинальный пост в блоге Palos. [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alex Zinchenko</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-494</link>
		<author>Alex Zinchenko</author>
		<pubDate>Mon, 27 Apr 2009 19:09:41 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-494</guid>
					<description>Thomas,

It seems only JW FLV Player supports this type of h264 pseudo-streaming.</description>
		<content:encoded><![CDATA[<p>Thomas,</p>
<p>It seems only JW FLV Player supports this type of h264 pseudo-streaming.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Grey</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-505</link>
		<author>Grey</author>
		<pubDate>Sat, 06 Jun 2009 20:33:15 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-505</guid>
					<description>FYI TO ALL

psstream_flv and psstream_mp4 do not work when attempting to load the files through Internet Explorer over SSL (https).

I am guessing its a header issue.  Presuming that these plugins output headers?  I've tried using PHP to output proper headers before calling psstream plugins, but to no avail.

I can use xmoov-php pseudo-streaming script (basically php file-seeker) for FLV files and it works fine over SSL in IE.  As soon as I switch to psstream_flv, IE fails to work over SSL.  In JW Player, error comes back as "video not found"</description>
		<content:encoded><![CDATA[<p>FYI TO ALL</p>
<p>psstream_flv and psstream_mp4 do not work when attempting to load the files through Internet Explorer over SSL (https).</p>
<p>I am guessing its a header issue.  Presuming that these plugins output headers?  I&#8217;ve tried using PHP to output proper headers before calling psstream plugins, but to no avail.</p>
<p>I can use xmoov-php pseudo-streaming script (basically php file-seeker) for FLV files and it works fine over SSL in IE.  As soon as I switch to psstream_flv, IE fails to work over SSL.  In JW Player, error comes back as &#8220;video not found&#8221;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-506</link>
		<author>Valeriu Paloş</author>
		<pubDate>Sat, 06 Jun 2009 21:05:15 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-506</guid>
					<description>@Grey:

Did you try using psstream_flv without SSL? Have you made sure the player send the correct parameters to psstream? Read the section in red displayed above carefully.</description>
		<content:encoded><![CDATA[<p>@Grey:</p>
<p>Did you try using psstream_flv without SSL? Have you made sure the player send the correct parameters to psstream? Read the section in red displayed above carefully.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: John</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-507</link>
		<author>John</author>
		<pubDate>Sat, 06 Jun 2009 22:04:42 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-507</guid>
					<description>What about the license restrictions for this extension?
Is it fine to use it in commercial environment?</description>
		<content:encoded><![CDATA[<p>What about the license restrictions for this extension?<br />
Is it fine to use it in commercial environment?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-508</link>
		<author>Valeriu Paloş</author>
		<pubDate>Sat, 06 Jun 2009 22:19:41 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-508</guid>
					<description>The main restriction for this extension is that it can *not* be used to stream pornographic or erotic material! I can not agree with that! Aside of that, you are completely free to use it in commercial environment.</description>
		<content:encoded><![CDATA[<p>The main restriction for this extension is that it can *not* be used to stream pornographic or erotic material! I can not agree with that! Aside of that, you are completely free to use it in commercial environment.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nigel</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-509</link>
		<author>Nigel</author>
		<pubDate>Mon, 08 Jun 2009 14:52:25 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-509</guid>
					<description>Hi
I tried to install your script and it seemed to go all fine, but when I try to load a video I get this error : "Video stream not found : "
I also tried run_tests.php and got this error :
ERROR: environment variable TEST_PHP_EXECUTABLE must be set to specify PHP executable!</description>
		<content:encoded><![CDATA[<p>Hi<br />
I tried to install your script and it seemed to go all fine, but when I try to load a video I get this error : &#8220;Video stream not found : &#8221;<br />
I also tried run_tests.php and got this error :<br />
ERROR: environment variable TEST_PHP_EXECUTABLE must be set to specify PHP executable!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Kami</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-512</link>
		<author>Kami</author>
		<pubDate>Fri, 12 Jun 2009 11:20:27 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-512</guid>
					<description>I got some problems ...

I have this structure:

myhost.com/mediaplayer/psstream.php
myhost.com/mediaplayer/predator.mp4
myhost.com/mediaplayer/index.php (where the player actually is running)

I've check and everything is reachable from the outside (internet) and the psstream module is working !

Refering to the demo and the howto, I tried the following configurations :

s1.addParam("flashvars","file=predator.mp4&#38;streamer=http://myhost.com/mediaplayer/psstream.php");
-&#62; ERROR: Video not found predator.mp4

s1.addParam("flashvars","image=predator.jpg&#38;file=http://myhost.com/mediaplayer/psstream.php&#38;type=video&#38;id=predator.mp4&#38;streamer=lighttpd");
- &#62; ERROR: Video not found http://myhost.com/mediaplayer/psstream.php


Can you help me please ?</description>
		<content:encoded><![CDATA[<p>I got some problems &#8230;</p>
<p>I have this structure:</p>
<p>myhost.com/mediaplayer/psstream.php<br />
myhost.com/mediaplayer/predator.mp4<br />
myhost.com/mediaplayer/index.php (where the player actually is running)</p>
<p>I&#8217;ve check and everything is reachable from the outside (internet) and the psstream module is working !</p>
<p>Refering to the demo and the howto, I tried the following configurations :</p>
<p>s1.addParam(&#8221;flashvars&#8221;,&#8221;file=predator.mp4&amp;streamer=http://myhost.com/mediaplayer/psstream.php&#8221;);<br />
-&gt; ERROR: Video not found predator.mp4</p>
<p>s1.addParam(&#8221;flashvars&#8221;,&#8221;image=predator.jpg&amp;file=http://myhost.com/mediaplayer/psstream.php&amp;type=video&amp;id=predator.mp4&amp;streamer=lighttpd&#8221;);<br />
- &gt; ERROR: Video not found <a href="http://myhost.com/mediaplayer/psstream.php" rel="nofollow">http://myhost.com/mediaplayer/psstream.php</a></p>
<p>Can you help me please ?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ryocu</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-524</link>
		<author>Ryocu</author>
		<pubDate>Sat, 11 Jul 2009 13:30:05 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-524</guid>
					<description>Hi,
Thanks for the script.
I run into few problem, the script was working great with apache-prefork but then I needed to switch to apache-worker.
The problem with worker is that various macro TSRMLS are set. (They remain unset with prefork).
And two functions used in your script are prototyped this way in SAPI.C: 
SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC);
SAPI_API int sapi_send_headers(TSRMLS_D);

So I modified psstream.c adding the variable tsrm_ls.
line 123 : sapi_header_op(SAPI_HEADER_ADD, &#38;psstream_sapi_header_line, tsrm_ls);
line 128 : sapi_header_op(SAPI_HEADER_REPLACE, &#38;psstream_sapi_header_line, tsrm_ls);
line 130 : #define SEND_HEADERS sapi_send_headers(tsrm_ls);

And now it compile fine, spend couple hours so if it can help anyone.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for the script.<br />
I run into few problem, the script was working great with apache-prefork but then I needed to switch to apache-worker.<br />
The problem with worker is that various macro TSRMLS are set. (They remain unset with prefork).<br />
And two functions used in your script are prototyped this way in SAPI.C:<br />
SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC);<br />
SAPI_API int sapi_send_headers(TSRMLS_D);</p>
<p>So I modified psstream.c adding the variable tsrm_ls.<br />
line 123 : sapi_header_op(SAPI_HEADER_ADD, &amp;psstream_sapi_header_line, tsrm_ls);<br />
line 128 : sapi_header_op(SAPI_HEADER_REPLACE, &amp;psstream_sapi_header_line, tsrm_ls);<br />
line 130 : #define SEND_HEADERS sapi_send_headers(tsrm_ls);</p>
<p>And now it compile fine, spend couple hours so if it can help anyone.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: jim hood</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-536</link>
		<author>jim hood</author>
		<pubDate>Mon, 17 Aug 2009 11:00:09 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-536</guid>
					<description>Veleriu,

This looks like a great piece of work and I would like to modify it so that I can use it with my cutom Flash Player and shared windows hosting account.

The shared hosting thing means I suspect that I can't instal it as an extension as per your process.

What I think I can do is create an extension as a .dll and store it in a an extensions path on my server (and point to this path in my PHP.ini).

I am about to embark on this voyage of discovery .. any help would be appreciated (and If I get there I will post the results back here).

First peice of help would be .. Am I on the right track, and is it possible?

If so what aspects of the current code should be dropped?

What will have to be added?

Thanks

Jim</description>
		<content:encoded><![CDATA[<p>Veleriu,</p>
<p>This looks like a great piece of work and I would like to modify it so that I can use it with my cutom Flash Player and shared windows hosting account.</p>
<p>The shared hosting thing means I suspect that I can&#8217;t instal it as an extension as per your process.</p>
<p>What I think I can do is create an extension as a .dll and store it in a an extensions path on my server (and point to this path in my PHP.ini).</p>
<p>I am about to embark on this voyage of discovery .. any help would be appreciated (and If I get there I will post the results back here).</p>
<p>First peice of help would be .. Am I on the right track, and is it possible?</p>
<p>If so what aspects of the current code should be dropped?</p>
<p>What will have to be added?</p>
<p>Thanks</p>
<p>Jim</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-537</link>
		<author>Valeriu Paloş</author>
		<pubDate>Tue, 18 Aug 2009 06:37:08 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-537</guid>
					<description>Hello Jim, the way I build this extension is actually pretty much the generic way one would do it under any Linux distro, and at least in theory, I think you could build psstream on Windows following "the generic way of building a PHP extension under Windows" (whatever that may be - I'm sure there are plenty of tutorials on the net for that).

There is a problem though, as far as I can tell, the real issues that usually make code incompatible between Windows and Linux are things like low/level routines, I/O, access to hardware and so on.

The problem is that psstream uses moov.c (from Cinelarra project) which is the really the smart bit of the whole thing, and which does a lot of complex file I/O.

So, although I am unfamiliar with porting PHP extensions to Windows, I don't think this is the real problem. You should first check if the moov.c file contains any operations that are incompatible with Windows (or maybe missing).

I'm really sorry I can't help further with this.</description>
		<content:encoded><![CDATA[<p>Hello Jim, the way I build this extension is actually pretty much the generic way one would do it under any Linux distro, and at least in theory, I think you could build psstream on Windows following &#8220;the generic way of building a PHP extension under Windows&#8221; (whatever that may be - I&#8217;m sure there are plenty of tutorials on the net for that).</p>
<p>There is a problem though, as far as I can tell, the real issues that usually make code incompatible between Windows and Linux are things like low/level routines, I/O, access to hardware and so on.</p>
<p>The problem is that psstream uses moov.c (from Cinelarra project) which is the really the smart bit of the whole thing, and which does a lot of complex file I/O.</p>
<p>So, although I am unfamiliar with porting PHP extensions to Windows, I don&#8217;t think this is the real problem. You should first check if the moov.c file contains any operations that are incompatible with Windows (or maybe missing).</p>
<p>I&#8217;m really sorry I can&#8217;t help further with this.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: jim hood</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-540</link>
		<author>jim hood</author>
		<pubDate>Mon, 24 Aug 2009 21:06:24 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-540</guid>
					<description>Thanks,

i have been really busy on other stuff of late, but hope to get back to this next week and will check out windows moov.c

Thanks again for the heads up.

Jim</description>
		<content:encoded><![CDATA[<p>Thanks,</p>
<p>i have been really busy on other stuff of late, but hope to get back to this next week and will check out windows moov.c</p>
<p>Thanks again for the heads up.</p>
<p>Jim</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ak</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-542</link>
		<author>Ak</author>
		<pubDate>Sat, 29 Aug 2009 10:03:41 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-542</guid>
					<description>The Demo Link is dead :-/</description>
		<content:encoded><![CDATA[<p>The Demo Link is dead :-/</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-543</link>
		<author>Valeriu Paloş</author>
		<pubDate>Sun, 30 Aug 2009 06:11:58 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-543</guid>
					<description>Yup, I'm sorry about that, I actually forgot about the demo. I use that server to develop a new version of this lib. If a demo is still really needed, I'll install a new one somewhere more stable.</description>
		<content:encoded><![CDATA[<p>Yup, I&#8217;m sorry about that, I actually forgot about the demo. I use that server to develop a new version of this lib. If a demo is still really needed, I&#8217;ll install a new one somewhere more stable.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Tony</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-545</link>
		<author>Tony</author>
		<pubDate>Tue, 01 Sep 2009 16:24:41 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-545</guid>
					<description>Hi, 

Thanks a lot for your excellent work firstly, I have tried to find this kind of library for several days. But I still have some problem when playing flv or mp4 files, it reports "file not found" error. Besides, I also want to confirm whether this library can support streaming of both normal FLV and FLV with H264?

Thank you again!</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Thanks a lot for your excellent work firstly, I have tried to find this kind of library for several days. But I still have some problem when playing flv or mp4 files, it reports &#8220;file not found&#8221; error. Besides, I also want to confirm whether this library can support streaming of both normal FLV and FLV with H264?</p>
<p>Thank you again!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Fabien</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-567</link>
		<author>Fabien</author>
		<pubDate>Mon, 09 Nov 2009 18:17:02 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-567</guid>
					<description>Hi,

Thanks for this php extension but,
Can you write this directly in a php class (without ext) ?

Regards, bernedef.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for this php extension but,<br />
Can you write this directly in a php class (without ext) ?</p>
<p>Regards, bernedef.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-568</link>
		<author>Valeriu Paloş</author>
		<pubDate>Mon, 09 Nov 2009 19:45:39 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-568</guid>
					<description>@Fabien: That might be possible but the fact is that the part that does the actual parsing of the movies is written in C and is quite sizable. Porting that to PHP would be not only hard but I would suppose also unrecommended, since the PHP version would be slower and would use up more memory.

I think the best scenario would be to have a separate streaming micro-server that would wrap the h264 parsing functionality and would only serve mp4/flv files. This is quite doable, and I intend to make it happen quite soon (because I need it). 

I agree that the PHP extension is a bit awkward to compile and use; it also uses more memory and is slower since it implies that the whole PHP virtual machine must be started for streaming to be done. The micro-server would be faster, lighter and a lot safer to use.</description>
		<content:encoded><![CDATA[<p>@Fabien: That might be possible but the fact is that the part that does the actual parsing of the movies is written in C and is quite sizable. Porting that to PHP would be not only hard but I would suppose also unrecommended, since the PHP version would be slower and would use up more memory.</p>
<p>I think the best scenario would be to have a separate streaming micro-server that would wrap the h264 parsing functionality and would only serve mp4/flv files. This is quite doable, and I intend to make it happen quite soon (because I need it). </p>
<p>I agree that the PHP extension is a bit awkward to compile and use; it also uses more memory and is slower since it implies that the whole PHP virtual machine must be started for streaming to be done. The micro-server would be faster, lighter and a lot safer to use.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Fabien</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-569</link>
		<author>Fabien</author>
		<pubDate>Tue, 10 Nov 2009 17:43:34 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-569</guid>
					<description>Can you compile me your extension (.so and .dll) ?
Thanks.</description>
		<content:encoded><![CDATA[<p>Can you compile me your extension (.so and .dll) ?<br />
Thanks.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: br41n</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-572</link>
		<author>br41n</author>
		<pubDate>Tue, 24 Nov 2009 16:39:00 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-572</guid>
					<description>Salut :)

Do you know if peteava.ro is using your extension or.. something else?
i like how it's working on big files so i'm wondering what are they using because personally on my tests the code-shop method in nginx/lighttpd gave me few times the i/o wait of usual downloads under some load..

multumesc.</description>
		<content:encoded><![CDATA[<p>Salut :)</p>
<p>Do you know if peteava.ro is using your extension or.. something else?<br />
i like how it&#8217;s working on big files so i&#8217;m wondering what are they using because personally on my tests the code-shop method in nginx/lighttpd gave me few times the i/o wait of usual downloads under some load..</p>
<p>multumesc.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-573</link>
		<author>Valeriu Paloş</author>
		<pubDate>Tue, 24 Nov 2009 21:54:31 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-573</guid>
					<description>Yeah, http://peteava.ro does use this extension! However in a few days they will move from using this extension (which must use apache2+mod_php or nginx+php-fastcgi) to using a standalone streaming micro-server that yields much higher performance! I will return with information here when the streaming server will be ready (should be a few days) so everyone can use it too!</description>
		<content:encoded><![CDATA[<p>Yeah, <a href="http://peteava.ro" rel="nofollow">http://peteava.ro</a> does use this extension! However in a few days they will move from using this extension (which must use apache2+mod_php or nginx+php-fastcgi) to using a standalone streaming micro-server that yields much higher performance! I will return with information here when the streaming server will be ready (should be a few days) so everyone can use it too!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: hidabe</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-575</link>
		<author>hidabe</author>
		<pubDate>Thu, 17 Dec 2009 09:44:42 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-575</guid>
					<description>Hi, I am trying with JW Player 5, and it dont do streaming, too, i must write:
so.addVariable("file", "'http://myurl/psstream.php?id=/mypath/video.mp4"); for that it work.

I have tried too with:
so.addVariable("file", "'http://myurl/psstream.php?id=/mypath/video.mp4");
and
so.addVariable("id", "/mypath/video.mp4");

and nothing... it dont work.

Yes, I have added:
so.addVariable("streamer", "lighttpd");

Any help? Very thank for this script, i will can protect access to my video files now! :)</description>
		<content:encoded><![CDATA[<p>Hi, I am trying with JW Player 5, and it dont do streaming, too, i must write:<br />
so.addVariable(&#8221;file&#8221;, &#8220;&#8216;http://myurl/psstream.php?id=/mypath/video.mp4&#8243;); for that it work.</p>
<p>I have tried too with:<br />
so.addVariable(&#8221;file&#8221;, &#8220;&#8216;http://myurl/psstream.php?id=/mypath/video.mp4&#8243;);<br />
and<br />
so.addVariable(&#8221;id&#8221;, &#8220;/mypath/video.mp4&#8243;);</p>
<p>and nothing&#8230; it dont work.</p>
<p>Yes, I have added:<br />
so.addVariable(&#8221;streamer&#8221;, &#8220;lighttpd&#8221;);</p>
<p>Any help? Very thank for this script, i will can protect access to my video files now! :)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: hidabe</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-576</link>
		<author>hidabe</author>
		<pubDate>Thu, 17 Dec 2009 09:59:15 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-576</guid>
					<description>Ok, it yes work with version 4, thanks you!!!</description>
		<content:encoded><![CDATA[<p>Ok, it yes work with version 4, thanks you!!!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: dq</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-578</link>
		<author>dq</author>
		<pubDate>Tue, 05 Jan 2010 11:27:46 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-578</guid>
					<description>halooo
i want to ask
if i want to make web server video streaming mp4 h264 with ubuntu what packet i must install???and what script php must i change...
thx..</description>
		<content:encoded><![CDATA[<p>halooo<br />
i want to ask<br />
if i want to make web server video streaming mp4 h264 with ubuntu what packet i must install???and what script php must i change&#8230;<br />
thx..</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ivan</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-583</link>
		<author>Ivan</author>
		<pubDate>Tue, 19 Jan 2010 20:10:44 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-583</guid>
					<description>Hi,

I installed the module and is working fine with mp4 video files. Then I tried with an AAC file and the resulting data is not recognized by VLC player.

This is how I tested it:

1) Test original AAC file (40 seconds long) with VLC in my workstation
2) Upload file to my test web server
3) wget "http://192.168.0.41/test/psstream.php?id=music.mp4&#38;start=10"
4) Download resulting file to my workstation and test with VLC. VLC does not play it

File was converted from WAV with Nero AAC Encoder in variable bit rate mode (-q 0.15)

Is it possible to use this fantastic module with AAC files?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I installed the module and is working fine with mp4 video files. Then I tried with an AAC file and the resulting data is not recognized by VLC player.</p>
<p>This is how I tested it:</p>
<p>1) Test original AAC file (40 seconds long) with VLC in my workstation<br />
2) Upload file to my test web server<br />
3) wget &#8220;http://192.168.0.41/test/psstream.php?id=music.mp4&amp;start=10&#8243;<br />
4) Download resulting file to my workstation and test with VLC. VLC does not play it</p>
<p>File was converted from WAV with Nero AAC Encoder in variable bit rate mode (-q 0.15)</p>
<p>Is it possible to use this fantastic module with AAC files?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ivan</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-584</link>
		<author>Ivan</author>
		<pubDate>Wed, 20 Jan 2010 20:08:41 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-584</guid>
					<description>I found the solution. The AAC file encoded by Nero should be muxed. I used ffmpeg:

ffmpeg -i music.aac -acodec copy -f mp4 music.mp4

Then, change the MOOV position with

qt-faststart music.mp4 musicOK.mp4

Now, you can access musicOK.mp4 via http pseudostream.</description>
		<content:encoded><![CDATA[<p>I found the solution. The AAC file encoded by Nero should be muxed. I used ffmpeg:</p>
<p>ffmpeg -i music.aac -acodec copy -f mp4 music.mp4</p>
<p>Then, change the MOOV position with</p>
<p>qt-faststart music.mp4 musicOK.mp4</p>
<p>Now, you can access musicOK.mp4 via http pseudostream.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Tibal</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-586</link>
		<author>Tibal</author>
		<pubDate>Wed, 27 Jan 2010 15:10:29 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-586</guid>
					<description>Thank you so much for this extension ! you saved my stream ;-)</description>
		<content:encoded><![CDATA[<p>Thank you so much for this extension ! you saved my stream ;-)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: valeriu.palos.ro &#187; Loomiere/Stream &#8211; A high performance streaming server</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-587</link>
		<author>valeriu.palos.ro &#187; Loomiere/Stream &#8211; A high performance streaming server</author>
		<pubDate>Sat, 30 Jan 2010 19:48:00 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-587</guid>
					<description>[...] yes! I am sure that many of you already know about psstream (the PHP streaming extension I made a while back). Well, many things happened since then and I came [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] yes! I am sure that many of you already know about psstream (the PHP streaming extension I made a while back). Well, many things happened since then and I came [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-588</link>
		<author>Valeriu Paloş</author>
		<pubDate>Sat, 30 Jan 2010 19:57:33 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-588</guid>
					<description>Hi everybody, please see &lt;a href="http://codeblog.palos.ro/2010/01/30/rest-in-peace-psstream/" rel="nofollow"&gt;my latest post&lt;/a&gt; regarding your issues. The problems you had with psstream (or around it) are all too familiar to me.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi everybody, please see <a href="http://codeblog.palos.ro/2010/01/30/rest-in-peace-psstream/" rel="nofollow">my latest post</a> regarding your issues. The problems you had with psstream (or around it) are all too familiar to me.</p>
<p>Thanks!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Arslan Hassan</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-618</link>
		<author>Arslan Hassan</author>
		<pubDate>Wed, 02 Jun 2010 12:18:18 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-618</guid>
					<description>Man, you are indeed awsome :)

i will soon make this thing ready for ClipBucket ;)</description>
		<content:encoded><![CDATA[<p>Man, you are indeed awsome :)</p>
<p>i will soon make this thing ready for ClipBucket ;)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-619</link>
		<author>Valeriu Paloş</author>
		<pubDate>Wed, 02 Jun 2010 12:51:08 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-619</guid>
					<description>@Arslan: awesome! In about 2 or 3 weeks Loomiere/Stream 2.0 will be ready. It will pack a HUGE lot of ass-kicking sweetness! :)

Maybe you could then provide your users with a professional/commercial version of the ClipBucket services based on L/S-2.0.</description>
		<content:encoded><![CDATA[<p>@Arslan: awesome! In about 2 or 3 weeks Loomiere/Stream 2.0 will be ready. It will pack a HUGE lot of ass-kicking sweetness! :)</p>
<p>Maybe you could then provide your users with a professional/commercial version of the ClipBucket services based on L/S-2.0.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Choosing a Flash video format for pseudostreaming « Adobe Flash « Blog « Flash Freelancer « Gavin Orland</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-621</link>
		<author>Choosing a Flash video format for pseudostreaming « Adobe Flash « Blog « Flash Freelancer « Gavin Orland</author>
		<pubDate>Fri, 04 Jun 2010 22:02:32 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-621</guid>
					<description>[...] unless you have shell access to your Linux server and wish to try compiling a PHP module like this or you are using lighttpd as your web [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] unless you have shell access to your Linux server and wish to try compiling a PHP module like this or you are using lighttpd as your web [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Barnet</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-679</link>
		<author>Barnet</author>
		<pubDate>Fri, 20 Aug 2010 05:57:38 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-679</guid>
					<description>This article helps me better understand the mechanism of portable video players. Thanks.</description>
		<content:encoded><![CDATA[<p>This article helps me better understand the mechanism of portable video players. Thanks.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: nero</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-725</link>
		<author>nero</author>
		<pubDate>Sat, 06 Nov 2010 15:55:47 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-725</guid>
					<description>how to compile it on windows ?</description>
		<content:encoded><![CDATA[<p>how to compile it on windows ?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Valeriu Paloş</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-726</link>
		<author>Valeriu Paloş</author>
		<pubDate>Sat, 06 Nov 2010 20:21:27 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-726</guid>
					<description>@nero: Well that would need some porting actually. It's definitely not a straight-forward job :(. Do you really need this to run under Windows? I'm curious...</description>
		<content:encoded><![CDATA[<p>@nero: Well that would need some porting actually. It&#8217;s definitely not a straight-forward job :(. Do you really need this to run under Windows? I&#8217;m curious&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David S</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-751</link>
		<author>David S</author>
		<pubDate>Mon, 10 Jan 2011 11:04:53 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-751</guid>
					<description>Damn this works good.  Amazing.</description>
		<content:encoded><![CDATA[<p>Damn this works good.  Amazing.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Andrei</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-766</link>
		<author>Andrei</author>
		<pubDate>Wed, 09 Feb 2011 18:53:14 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-766</guid>
					<description>Just wanted to say a big thanks for your work. I'm starting to play with it as I write this.

Cheers,
Andrei</description>
		<content:encoded><![CDATA[<p>Just wanted to say a big thanks for your work. I&#8217;m starting to play with it as I write this.</p>
<p>Cheers,<br />
Andrei</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Tom</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-886</link>
		<author>Tom</author>
		<pubDate>Tue, 05 Jul 2011 20:45:03 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-886</guid>
					<description>Hi Valeriu,

do you know if your php extension also works together with flowplayer (www.flowplayer.org) and the flowplayer pseudostreaming plugin? http://flowplayer.org/plugins/streaming/pseudostreaming.html

and what would then be the correct syntax to call your php extension?

thanks very much!

Tom</description>
		<content:encoded><![CDATA[<p>Hi Valeriu,</p>
<p>do you know if your php extension also works together with flowplayer (www.flowplayer.org) and the flowplayer pseudostreaming plugin? <a href="http://flowplayer.org/plugins/streaming/pseudostreaming.html" rel="nofollow">http://flowplayer.org/plugins/streaming/pseudostreaming.html</a></p>
<p>and what would then be the correct syntax to call your php extension?</p>
<p>thanks very much!</p>
<p>Tom</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Martin Lapietra</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-901</link>
		<author>Martin Lapietra</author>
		<pubDate>Wed, 27 Jul 2011 00:16:27 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-901</guid>
					<description>I’m starting to play with it as I write this.</description>
		<content:encoded><![CDATA[<p>I’m starting to play with it as I write this.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alex</title>
		<link>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-1081</link>
		<author>Alex</author>
		<pubDate>Wed, 16 Nov 2011 20:56:44 +0000</pubDate>
		<guid>http://codeblog.palos.ro/2008/11/13/pseudo-streaming-mp4h264-video-from-php/#comment-1081</guid>
					<description>Hello,

everthing works fine for me, but if I jump to a certain position via "&#38;start=" there's no sound. Without offset sound is fine. I'm using h264 with ACC. Any ideas?

Alex</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>everthing works fine for me, but if I jump to a certain position via &#8220;&amp;start=&#8221; there&#8217;s no sound. Without offset sound is fine. I&#8217;m using h264 with ACC. Any ideas?</p>
<p>Alex</p>
]]></content:encoded>
				</item>
</channel>
</rss>

