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 (kb403029)


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()); NetStream.appendBytes, 走向Flash P2P VOD的第一步 « Kingnare Blog. 之前被告知可以自行实现Flash p2p的点播功能, 但一直疑惑, 印象中NetStream并未提供相关方法, 前天看订阅时发现的文章: ByteArray Access to NetStream in Flash Player 10.1 [ by Thibault Imbert ] 进而找到文档: 看过上述两篇文章后, 对appendBytes这个方法有一定了解, 简单来讲就是在数据生成模式下提供NetStream音视频数据供其播放.

NetStream.appendBytes, 走向Flash P2P VOD的第一步 « Kingnare Blog

另: Jinni在微博中提到Flash P2P for VOD 的 Demo也快发布了, 之前有组织过多次的P2P直播, P2P文件下载测试, 如果你对这方面有兴趣, 可关注他的微博及BLOG. 下面是我山寨的例子(请使用Flash Player 10.1测试), 点击”File”按钮, 选择FLV文件, 文件数据加载到内存后开始播放. P2PVODPlayer_First Source: P2PVODPlayer. - 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.