Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minosss/codec-as3
[DEPRECATED] :arrows_counterclockwise: AS3視頻封裝解析~FLV, MP4
https://github.com/minosss/codec-as3
Last synced: about 2 months ago
JSON representation
[DEPRECATED] :arrows_counterclockwise: AS3視頻封裝解析~FLV, MP4
- Host: GitHub
- URL: https://github.com/minosss/codec-as3
- Owner: minosss
- License: mit
- Archived: true
- Created: 2014-12-25T03:20:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-04T04:15:50.000Z (over 8 years ago)
- Last Synced: 2024-08-03T05:05:59.048Z (5 months ago)
- Language: ActionScript
- Homepage:
- Size: 384 KB
- Stars: 30
- Watchers: 6
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actionscript-sorted - codec-as3 - :arrows_counterclockwise: AS3視頻封裝解析~FLV, MP4 (Unsorted / Other API)
README
Codec-AS3
=========> 这个项目已经不再维护
## 说明
`NetStream.appendBytes()`只支持FLV封裝的格式,在需要播放其他封裝的視頻的話,就必須將其他封裝格式轉成FLV的封裝。
## 格式
- [MP4](http://xhelmboyx.tripod.com/formats/mp4-layout.txt)
- [FLV](http://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/video_file_format_spec_v10.pdf)
- [MKV](http://www.matroska.org/files/matroska.pdf)## 使用
``` as3
var mp4:Mp4Codec = new Mp4Codec();
mp4.decode(mp4bytes);
var bytes:ByteArray = new FlvCodec().encode(mp4);
ns.appendBytes(bytes);
```## 许可证
MIT