How to create audio deformation effects in actionsctipt 3? - actionscript-3

I use NetConnection, NetStream and Video classes to show video in actionscript 3 (AIR SDK 31.0.0.96) and I can play/stop/pause video, but I don't know how can I add any audio effects (speed changing, distortion, waves or something else).
In my game user has to guess video by deformated sound and for some reasons deformated effect should to be applied in runtime.
I hope, that you will can advice me some library for process audio track in runtime or show me simple code example to access to audio from actionscript.
Thank you.

Related

Play video after tracking image success with Spark Ar

Do you know how to play video after success tracking image in Spark Ar. I see it only support audio with Audio Playback Controller. Now , i want to play video.(i don't want to use animationSequence to make sprite sheet animation (simulate video))
How can i do it ?
Thanks
Only through Animation Sequence. This is the only and universal way. The engine does not support any video formats.

Getting little play controls over my flash video?

I have an .swf that plays a small flash video on a website, and I can't for the life of me figure out how to get little controls similar to this virtual spokesperson on this website.
http://washerwizards.com/
I'm not flash savvy, but I keep reading about skin files etc. I'm unsure of how to make them work though.

What kind of bug in flash video playback can show this image?

This picture is shown when one of my friends tries to play the video in my flash program. I use standard Flash Video things to play it (a media.Video class). I don't have a slighets idea what could cause such a peculiar bug???
Here is the image:

How can I use 2 MediaElements at the same time?

I'm creating a mini game. It has music background and gun sound. But I can not play them at the same time.
How can I do it ???
You can't - as MSDN says:
When a MediaElement control plays audio or video content, any background sounds or media already playing are halted. The app launches the playback experience when the user taps the control. Only one MediaElement control can operate at a time.
Instead you can try to use SoundEffect from XNA to play your gun sound.

RTMP stream of a+v plays only audio, no video

In Flash, AS3, I am using NetConnection to connect to a RTMP server, then I use NetStream to play a video+audio stream.
I attach the stream (attachNetStream) to a flash.media.Video instance that is added to stage (double checked that it is ON the stage) and play it, but all I get is the sound of the stream that's being played - no video is displayed.
Note that even though I cannot see the video, when I listen to the onMetaData of the stream I can get plenty of information about the video such as width, height, FPS (changes during playback as if a video is shown), number of decoded frames.
Does anybody have an idea how can I make the video work too?
Instead of using "raw" NetConnection and NetStream and attach it to a flash.media.Video, I'd recommend using some wrapper such as Pyro Player. Its basically a video API and I've used it many times for RTMP video and it works like a charm (I've always found the Video component from Adobe very buggy, specially when displaying video from a RTMP server). Give it a try!
Thank you guys! but I found out the answer:
Apparently Flash's (CS3) built-in Video class does not support H.264 streams. I tried to compile the exact same code in Flex 3.5 and everything worked!
There is a possibility that CS4 also supports H.264 streams. I did not try.
JWPlayer is great, I did not try Pyro.
Cheers.