background preloader


Facebook Twitter

FLV MetaData Injector - Adds meta info to your Flash Video files. March 31, 2010: FLVMDI 2.96 released!

FLV MetaData Injector - Adds meta info to your Flash Video files

This tiny update mainly adds support for H264 dimensions. December 14, 2009: FLVMDI 2.95 released! This version fixes some issues, especially with detecting dimensions, also FLVMDI should now be a little faster... For nearly the last 3 years, we didn't find time to update FLVMDI. This update is tiny and also not thoroughly tested, therefore version 2.94 download is still available. Version 1.05 has been only tested on Win XP, and hopefully will require no help. p2gStereoStage™ Flash Applet You need to submit your link in order to be listed in this section. <cfexecute name="C:\Inetpub\...

How to get the MetaData? When using AS1/2: You will need to add onMetaData event [handler](and onLastSecond event, if you'll be using it) to NetStream object. When you are using AS2 (as opposed to AS1), you may need to add the event(s) using the following syntax: nets["onMetaData"] = function... nets["onLastSecond"] = function...


性能优化. 新标签页. To view/add comments, you must enable JavaScript in your browser. Issue If you view streaming content in Adobe Flash Player, you experience latency when pausing and resuming video playback. Reason This issue occurs with versions of Adobe Flash Player earlier than Flash Player 9 Update 3 (build When you pause video streaming from Adobe Flash Media Server, Adobe Flash Player sends pause event (NetStream.Pause.Notify) to Flash Media Server. Solution Upgrade to Flash Media Server 3.0 and Flash Player Update 3 (build to utilize the Smart Pause feature. Additional Information Smart Pause does not clear the buffer during pause and unpause events.

Once the buffer limit is reached, Flash Player sends the pause event to Flash Media Server. Flash Player flushes the buffer (set NetStream.bufferLength to 0) if any single pause event increases the value of NetStream.bufferLength more than 600 seconds or the value of NetStream.bufferTime*2, whichever number is greater. Doc ID.


Introducing FLVSlicer (slicing and merging capabilities) Recently I wanted to do some simple video slicing in AS3 with FLV's.

Introducing FLVSlicer (slicing and merging capabilities)

I did not found any library for that so here is FLVSlicer ! FLVSlicer allows you to extract a "slice" of an FLV at runtime, but also merge multiple slices if you need to. The library may be really useful if you want to get a specific part from an FLV with no server involved. Ley's say for instance that you are looking for a specific text content in a video and you would like to save it on your hard disk or post it on youtube. The API is really simple : 02.var slicer:FLVSlicer = new FLVSlicer(new flvBytes()); 05.slicer.addEventListener( SlicedEvent.COMPLETE, onSliced ); 08.var firstSlice:FLVSlice = slicer.slice(1000, 3000); NetStream.appendBytes, 走向Flash P2P VOD的第一步 « Kingnare Blog. - ActionScript® 3.0 Reference for the Adobe® Flash® Platform. The Socket class enables code to establish Transport Control Protocol (TCP) socket connections for sending and receiving binary data. - ActionScript® 3.0 Reference for the Adobe® Flash® Platform

The Socket class is useful for working with servers that use binary protocols. To use the methods of the Socket class, first use the constructor, new Socket, to create a Socket object. A socket transmits and receives data asynchronously. On some operating systems, flush() is called automatically between execution frames, but on other operating systems, such as Windows, the data is never sent unless you call flush() explicitly. To ensure your application behaves reliably across all operating systems, it is a good practice to call the flush() method after writing each message (or related group of data) to the socket. In Adobe AIR, Socket objects are also created when a listening ServerSocket receives a connection from an external process. SWF content running in the local-with-filesystem security sandbox cannot use sockets.

View the examples.