<?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"
	>
<channel>
	<title>Comments on: SimpleFlvWriter.as - AS3 Class to Create FLV&#8217;s</title>
	<atom:link href="http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs</link>
	<description>personal flash/actionscript work - lee felarca</description>
	<pubDate>Mon, 08 Sep 2008 12:58:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Cam</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-18553</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Sat, 06 Sep 2008 18:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-18553</guid>
		<description>ohhh sorry for this 3rd post but I would like to for the video to start recording if the button is hit once and stop recording if it is hit twice.

btn2.addEventListener(MouseEvent.MOUSE_DOWN, saveVideo); 

this is the code for when the button is clicked. It starts the function on my first post.</description>
		<content:encoded><![CDATA[<p>ohhh sorry for this 3rd post but I would like to for the video to start recording if the button is hit once and stop recording if it is hit twice.</p>
<p>btn2.addEventListener(MouseEvent.MOUSE_DOWN, saveVideo); </p>
<p>this is the code for when the button is clicked. It starts the function on my first post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cam</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-18551</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Sat, 06 Sep 2008 18:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-18551</guid>
		<description>ohhh and if you want to see how I did my JPG code here it is

function saveStill(e:MouseEvent):void 
{
	var bitmapdata:BitmapData = new BitmapData(320, 240);
	bitmapdata.draw(video);
	var bytearray:ByteArray = PNGEncoder.encode(bitmapdata);
	var file:File = File.desktopDirectory.resolvePath("webcam" + count++ + ".jpg");
	var fileStream:FileStream = new FileStream();
	fileStream.open(file, FileMode.WRITE);
	fileStream.writeBytes(bytearray);
	fileStream.close();
}</description>
		<content:encoded><![CDATA[<p>ohhh and if you want to see how I did my JPG code here it is</p>
<p>function saveStill(e:MouseEvent):void<br />
{<br />
	var bitmapdata:BitmapData = new BitmapData(320, 240);<br />
	bitmapdata.draw(video);<br />
	var bytearray:ByteArray = PNGEncoder.encode(bitmapdata);<br />
	var file:File = File.desktopDirectory.resolvePath(&#8221;webcam&#8221; + count++ + &#8220;.jpg&#8221;);<br />
	var fileStream:FileStream = new FileStream();<br />
	fileStream.open(file, FileMode.WRITE);<br />
	fileStream.writeBytes(bytearray);<br />
	fileStream.close();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cam</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-18550</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Sat, 06 Sep 2008 18:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-18550</guid>
		<description>Can someone help me with this code?

I am trying to make an AIR application to make an FLV video or a JPG file when one of the 2 buttons are clicked. I got the JPG working write, but I can seem to get the video to work.

function saveVideo(e:MouseEvent):void 
{
		___I need something here to write the FLV file to the desktop of my mac___
}

Thanks</description>
		<content:encoded><![CDATA[<p>Can someone help me with this code?</p>
<p>I am trying to make an AIR application to make an FLV video or a JPG file when one of the 2 buttons are clicked. I got the JPG working write, but I can seem to get the video to work.</p>
<p>function saveVideo(e:MouseEvent):void<br />
{<br />
		___I need something here to write the FLV file to the desktop of my mac___<br />
}</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clip Frames</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13700</link>
		<dc:creator>Clip Frames</dc:creator>
		<pubDate>Fri, 11 Jul 2008 07:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13700</guid>
		<description>&lt;strong&gt;Clip Frames...&lt;/strong&gt;

I enjoyed reading your blog. What a great thing it is to be able to share information like this on the Internet....</description>
		<content:encoded><![CDATA[<p><strong>Clip Frames&#8230;</strong></p>
<p>I enjoyed reading your blog. What a great thing it is to be able to share information like this on the Internet&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jessie</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13697</link>
		<dc:creator>Jessie</dc:creator>
		<pubDate>Fri, 11 Jul 2008 02:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13697</guid>
		<description>&lt;strong&gt;capture flash video...&lt;/strong&gt;

) Some individuals or companies have abused the TrackBack feature to insert spam links on some blogs (see sping). The TrackBack specification...</description>
		<content:encoded><![CDATA[<p><strong>capture flash video&#8230;</strong></p>
<p>) Some individuals or companies have abused the TrackBack feature to insert spam links on some blogs (see sping). The TrackBack specification&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mels</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13284</link>
		<dc:creator>mels</dc:creator>
		<pubDate>Mon, 23 Jun 2008 10:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13284</guid>
		<description>Neeraj, tested your code and it worked..</description>
		<content:encoded><![CDATA[<p>Neeraj, tested your code and it worked..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neeraj</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13098</link>
		<dc:creator>Neeraj</dc:creator>
		<pubDate>Fri, 20 Jun 2008 10:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-13098</guid>
		<description>Hey can you plz guide me as to how to go thru the process of making this work?
this is what i did...
public function init():void
			{
				var myWriter:SimpleFlvWriter = SimpleFlvWriter.getInstance();
				var myFile:File=new File("c:/check1.flv");
				var myArray:Array=new Array;
				var myBitmapData1:BitmapData=new BitmapData(100,100,false);
				var myBitmapData2:BitmapData=new BitmapData(100,100,false);
				var myBitmapData3:BitmapData=new BitmapData(100,100,false);
				var myBitmapData4:BitmapData=new BitmapData(100,100,false);
				var myBitmapData5:BitmapData=new BitmapData(100,100,false);
				var myBitmapData6:BitmapData=new BitmapData(100,100,false);
				var myBitmapData7:BitmapData=new BitmapData(100,100,false);
				var myBitmapData8:BitmapData=new BitmapData(100,100,false);
				var myBitmapData9:BitmapData=new BitmapData(100,100,false);
				var myBitmapData10:BitmapData=new BitmapData(100,100,false);
				var myBitmapData11:BitmapData=new BitmapData(100,100,false);
				var myBitmapData12:BitmapData=new BitmapData(100,100,false);
				var myBitmapData13:BitmapData=new BitmapData(100,100,false);
				var myBitmapData14:BitmapData=new BitmapData(100,100,false);
				var myBitmapData15:BitmapData=new BitmapData(100,100,false);
				var myBitmapData16:BitmapData=new BitmapData(100,100,false);
				var myBitmapData17:BitmapData=new BitmapData(100,100,false);
				var myBitmapData18:BitmapData=new BitmapData(100,100,false);
				var myBitmapData19:BitmapData=new BitmapData(100,100,false);
				var myBitmapData20:BitmapData=new BitmapData(100,100,false);
				myBitmapData1.floodFill(0,0,0xff0000);
				myBitmapData2.floodFill(0,0,0xff0000);
				myBitmapData3.floodFill(0,0,0xff0000);
				myBitmapData4.floodFill(0,0,0xff0000);
				myBitmapData5.floodFill(0,0,0xff0000);
				myBitmapData6.floodFill(0,0,0xff0000);
				myBitmapData7.floodFill(0,0,0xff0000);
				myBitmapData8.floodFill(0,0,0xff0000);
				myBitmapData9.floodFill(0,0,0xff0000);
				myBitmapData10.floodFill(0,0,0xff0000);
				myBitmapData11.floodFill(0,0,0xff0000);
				myBitmapData12.floodFill(0,0,0xff0000);
				myBitmapData13.floodFill(0,0,0xff0000);
				myBitmapData14.floodFill(0,0,0xff0000);
				myBitmapData15.floodFill(0,0,0xff0000);
				myBitmapData16.floodFill(0,0,0xff0000);
				myBitmapData17.floodFill(0,0,0xff0000);
				myBitmapData18.floodFill(0,0,0xff0000);
				myBitmapData19.floodFill(0,0,0xff0000);
				/*for(var i:int=0;i&#60;80;i++)
				
				{
						myBitmapData1.floodFill(0,0,0xff0000);
						myArray.splice(i,0,new BitmapData(100,100,false));
							
				}*/
				
						
				
				myWriter.createFile(myFile, 320,240, 30, 120);
				/*for(var k:int=0;k++;k&#60;80)
				{
					myWriter.saveFrame((BitmapData)(myArray[k]));
				} // etc.*/
				
				myWriter.saveFrame( myBitmapData1 );
				myWriter.saveFrame( myBitmapData2 );
				myWriter.saveFrame( myBitmapData3 );
				myWriter.saveFrame( myBitmapData4 );
				myWriter.saveFrame( myBitmapData5 );
				myWriter.saveFrame( myBitmapData6 );
				myWriter.saveFrame( myBitmapData7 );
				myWriter.saveFrame( myBitmapData8 );
				myWriter.saveFrame( myBitmapData9 );
				myWriter.saveFrame( myBitmapData10 );
				myWriter.saveFrame( myBitmapData11 );
				myWriter.saveFrame( myBitmapData12 );
				myWriter.saveFrame( myBitmapData13);
				myWriter.saveFrame( myBitmapData14 );
				myWriter.saveFrame( myBitmapData15 );
				myWriter.saveFrame( myBitmapData16 );
				myWriter.saveFrame( myBitmapData17 );
				myWriter.saveFrame( myBitmapData18 );
				myWriter.saveFrame( myBitmapData19 );
				
				
				myWriter.closeFile();		
			}

there is a .flv file being made,but that doesnt show me any videos,whereas i was expecting atleast a red screen.</description>
		<content:encoded><![CDATA[<p>Hey can you plz guide me as to how to go thru the process of making this work?<br />
this is what i did&#8230;<br />
public function init():void<br />
			{<br />
				var myWriter:SimpleFlvWriter = SimpleFlvWriter.getInstance();<br />
				var myFile:File=new File(&#8221;c:/check1.flv&#8221;);<br />
				var myArray:Array=new Array;<br />
				var myBitmapData1:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData2:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData3:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData4:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData5:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData6:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData7:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData8:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData9:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData10:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData11:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData12:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData13:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData14:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData15:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData16:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData17:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData18:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData19:BitmapData=new BitmapData(100,100,false);<br />
				var myBitmapData20:BitmapData=new BitmapData(100,100,false);<br />
				myBitmapData1.floodFill(0,0,0xff0000);<br />
				myBitmapData2.floodFill(0,0,0xff0000);<br />
				myBitmapData3.floodFill(0,0,0xff0000);<br />
				myBitmapData4.floodFill(0,0,0xff0000);<br />
				myBitmapData5.floodFill(0,0,0xff0000);<br />
				myBitmapData6.floodFill(0,0,0xff0000);<br />
				myBitmapData7.floodFill(0,0,0xff0000);<br />
				myBitmapData8.floodFill(0,0,0xff0000);<br />
				myBitmapData9.floodFill(0,0,0xff0000);<br />
				myBitmapData10.floodFill(0,0,0xff0000);<br />
				myBitmapData11.floodFill(0,0,0xff0000);<br />
				myBitmapData12.floodFill(0,0,0xff0000);<br />
				myBitmapData13.floodFill(0,0,0xff0000);<br />
				myBitmapData14.floodFill(0,0,0xff0000);<br />
				myBitmapData15.floodFill(0,0,0xff0000);<br />
				myBitmapData16.floodFill(0,0,0xff0000);<br />
				myBitmapData17.floodFill(0,0,0xff0000);<br />
				myBitmapData18.floodFill(0,0,0xff0000);<br />
				myBitmapData19.floodFill(0,0,0xff0000);<br />
				/*for(var i:int=0;i&lt;80;i++)</p>
<p>				{<br />
						myBitmapData1.floodFill(0,0,0xff0000);<br />
						myArray.splice(i,0,new BitmapData(100,100,false));</p>
<p>				}*/</p>
<p>				myWriter.createFile(myFile, 320,240, 30, 120);<br />
				/*for(var k:int=0;k++;k&lt;80)<br />
				{<br />
					myWriter.saveFrame((BitmapData)(myArray[k]));<br />
				} // etc.*/</p>
<p>				myWriter.saveFrame( myBitmapData1 );<br />
				myWriter.saveFrame( myBitmapData2 );<br />
				myWriter.saveFrame( myBitmapData3 );<br />
				myWriter.saveFrame( myBitmapData4 );<br />
				myWriter.saveFrame( myBitmapData5 );<br />
				myWriter.saveFrame( myBitmapData6 );<br />
				myWriter.saveFrame( myBitmapData7 );<br />
				myWriter.saveFrame( myBitmapData8 );<br />
				myWriter.saveFrame( myBitmapData9 );<br />
				myWriter.saveFrame( myBitmapData10 );<br />
				myWriter.saveFrame( myBitmapData11 );<br />
				myWriter.saveFrame( myBitmapData12 );<br />
				myWriter.saveFrame( myBitmapData13);<br />
				myWriter.saveFrame( myBitmapData14 );<br />
				myWriter.saveFrame( myBitmapData15 );<br />
				myWriter.saveFrame( myBitmapData16 );<br />
				myWriter.saveFrame( myBitmapData17 );<br />
				myWriter.saveFrame( myBitmapData18 );<br />
				myWriter.saveFrame( myBitmapData19 );</p>
<p>				myWriter.closeFile();<br />
			}</p>
<p>there is a .flv file being made,but that doesnt show me any videos,whereas i was expecting atleast a red screen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-12313</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 30 May 2008 18:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-12313</guid>
		<description>SimpleFLVFan:

I think the answer is... quite a lot :) 

If anyone has any ideas on this... please to tell.

Lee</description>
		<content:encoded><![CDATA[<p>SimpleFLVFan:</p>
<p>I think the answer is&#8230; quite a lot :) </p>
<p>If anyone has any ideas on this&#8230; please to tell.</p>
<p>Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SimpleFLVFan</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-12312</link>
		<dc:creator>SimpleFLVFan</dc:creator>
		<pubDate>Fri, 30 May 2008 17:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-12312</guid>
		<description>Lee,

What would it take to add a compression CODEC to this?

Per http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v9.pdf , here are the codecs available:

1: JPEG (currently unused)
2: Sorenson H.263
3: Screen video
4: On2 VP6
5: On2 VP6 with alpha channel
6: Screen video version 2
7: AVC

It would be great to be able to get the final file size down.

Thanks!</description>
		<content:encoded><![CDATA[<p>Lee,</p>
<p>What would it take to add a compression CODEC to this?</p>
<p>Per <a href="http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v9.pdf" rel="nofollow">http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v9.pdf</a> , here are the codecs available:</p>
<p>1: JPEG (currently unused)<br />
2: Sorenson H.263<br />
3: Screen video<br />
4: On2 VP6<br />
5: On2 VP6 with alpha channel<br />
6: Screen video version 2<br />
7: AVC</p>
<p>It would be great to be able to get the final file size down.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nurah</title>
		<link>http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-11950</link>
		<dc:creator>nurah</dc:creator>
		<pubDate>Sun, 18 May 2008 15:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs#comment-11950</guid>
		<description>thanks</description>
		<content:encoded><![CDATA[<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
