Adobe flash player how to play MP4 or AAC File -


i have question how use flash player play mp4 or aac.

the mp4's or aac's data in memory, haven't url or file directory. adobe's api "netstream.appendbytes" can't load mp4 file. tried use c++ convert mp4 flv , use flascc compiler it, found problem mp4's audio sample rate bigger flv, example sample rate 48k。

the second it's large size as3'code throgh flacc compile it.

so want konw, open source or tell me how use netstream.appendbytes play mp4 please.

you have use netstream class. class intended play videos , work mp4 (you might out of luck aac though, may protected proprietary encoding.)

var stream:netstream = new netstream(new netconnection('myvideo.mp4')); stream.play(); 

help.adobe.com/en_us/flashplatform/reference/actionscript/3/flash/net/netstream.html


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -