ActionScript 3.0 :: FLV Audio Quality Drops When Viewed Online
Jun 26, 2009
I have a FLV playing in my SWF and when viewed locally in Flash or just in the Flash player by clicking the file on my desktop the file plays fine with decent quality audio. However as soon as I upload the file to my website the audio quality seems to drop.
The .swfs that make up this website were originally made by somebody else who has asked me to help them get the site working online the way they intended. The main problem I'm having now is making this white space (that appears briefly in shape of .swf's dimensions) go away. The flash projects for the swfs do not even have a white background, neither do the HTML documents. Deadline for solving this problem is early tomorrow and I am stumped. This even happens with tiny, 40kb swfs with preloaders (I thought reducing swf sizes, adding preloaders might solve problem somehow)
I'm creating a video chat application, and no matter what combination of amera/Microphone/NetStream properties and functions I use, I cannot get high quality video/audio. I get occasional audio latency, pixelated video, occasional frozen video and the degree of each depends on the combination of properties/functions I set/call.Others such as TokBox, TinyChat, Chat Roulette, etc. have achieved great video/audio quality with FMS, what is the secret? At least point me in the right direction, because right now I'm not impressed with FMS ability to provide a good video/audio experience.
I'm creating a video chat application, and no matter what combination of Camera/Microphone/NetStream properties and functions I use, I cannot get high quality video/audio. I get occasional audio latency, pixelated video, occasional frozen video and the degree of each depends on the combination of properties/functions I set/call.
Others such as TokBox, TinyChat, Chat Roulette, etc. have achieved great video/audio quality with FMS, what is the secret? At least point me in the right direction, because right now I'm not impressed with FMS ability to provide a good video/audio experience. BTW, I'm using a P2P mesh using a group specifier, not NetStream.DIRECT_CONNECTIONS.
I have created a FLV file using Adobe Media Encoder CS5. I have played it back on Several Media players and it sound fine. I import it into a Scene in Flash CS5 aand when I preview the Scene the audio has degraded and sounds terrible.
The audio is mono at 48 kbps. I cannot find any controls or options to edit the audio of the video. I have rendered it out several times using different settings but it alway plays back the same highly compressed tinny sound.
I'm trying to record a stream from a webcam using FMS4 developer edition. The streams are recording on a linux box in .flv files. These files though have problems.
1 - The video quality is terrible. Fuzzy/blocky. Any kind of motion looks awful. Is there any way to improve this?
2 - The sound jumps/skips and goes out of time with the video.
As it is now this is useless. I am trying to make a system where a user records a short video from the camera and then I upload it to YouTube from my server. If you use Youtube's webcam page the video quality is quite acceptable and the audio is obviously in sync too, so they must know something I don't. [URL]..
In an ideal world, I could do this through a browser in real-time and send a notification that would include the DOM information needed to remove the ad. In this type of model, I could theoretically then use all clients (web visitors) as test subjects. I believe that this might be far fetched, and thus will need to rely on a smaller subset of users. I'm looking for any way to do this. I have even thought about using speakers and a microphone to detect when a sound is playing, and then some how capture a screenshot and the DOM information.
I have an interactive story divided into scenes. At the end of each scene a button appears. This occurs on a frame on the timeline.
There are two different buttons that might appear based on whether a prior scene has been viewed or not.
For example, there are Scene_1 and Scene_2. At the end of Scene_2 one of two buttons will appear. The buttons will be either "Go see Scene_1" or "Return to Main Menu".
If the user has already seen Scene_1, Flash will know that and automatically go to the frame in Scene_2 that contains the button "Return to Main Menu".
Conversely, if the user has not seen Scene_1, Flash will know and automatically go to the frame in Scene_2 that contains the button "Go see Scene_1".
I imagine there would be an action frame at the end of Scene_2 that will contain the as2 code to enable this action.
Perhaps something like, but probably not at all like the following:
if ("Scene_1", last frame == true){gotoAndPlay("frame#");}else{gotoAndPlay("frame#");}
I'm building a project and I need the audio to be of the highest quality when played back. I am using .wav files and I'm not too sure how to make them work.
I've tried the: play_btn.addEventListener(MouseEvent.CLICK, playSound); function playSound(event:MouseEvent):void{ SoundMixer.stopAll(); var s1:Sound = new Sound(new URLRequest("Sound.wav")); s1.play()
But I guess it doesn't work because it's not mp3. I also tried embedding it into the hit and down parts of my button but the playback is weird, it plays slower and broken up. I'd like there to be some sort of function buttons such as play, pause, stop and some kind of time slider like for video playback if that's possible too?
My animation is complete. Previewing it (.swf) works perfectly fine. Playing it in flash works perfectly fine.But once it has exported to .mov the frame rate temporarily drops in certain places (usually around tweens)...
Sometimes in Flash, alpha transitions will just drop out without reason. They still appear in the preview mode, but when you export a swf it drops all tweened alpha animations. they become cuts instead. I've even tried opening the same file in CS4. Same dilemma.
i want to make flash file in which, when i click anywhere one water kind drop come from top to down and when it reach bottom it distribute in so many parts.after this one textbox will display and i am able to enter some text in that textbox.
a client publishes a simple webcam and microphone. I noticed that if I use rtmfp the admin console shows between 30 to 200 messages dropped for a simnple webcam at 320x240 10fps quality 69 and audio speex at quality 6. sor after some minutes the video is unsynchronized with the audio. I turned off aggregateMsg and queue. if I use RTMP there is 0 dropped packets.
Is anyone can explain why FMS 4.0..1-r2009 on linux 64bits High Internet speed line on client side without any bandwidth problem last flash player
I am a game programmer and i have made a game where there is a character which has to select the right pieces and avoid the wrong ones. the pieces/food come from top, the character jumps and fetches them. Thats why we are keeping a gap between the pieces to avoid the character touching the wrong ones.
Problem : When I win the game and keep re-playing it continuously for more than an hour i notice that the gameplay gets slow(slow FPS). The behavior and movement of the characters become slow. Upon playing for 3 hours the slowness is easily noticeable. This also happens when I minimize the game window or get the focus off the game to some other window for a long time (half an hour or more). The problem doesn't come if I play once or if I lose the game and try again. This comes when I keep playing it for a longer time.
I would like Flash to reconnect to a socket if its connection is dropped. I am using the Socket class to establish a connection and then adding an Event.CLOSE listener to the socket. What is a good strategy to reconnect back to the socket if the connection has suddenly closed? Here is a the method I am calling inside the close handler. The connect() method establishes a new socket connection
HTML Code: private function handleOutage():void { // if socket is not connected
I want "rain drops" to fall randomly and then when they hit the bottom most pixel of my stage to run another movie clip called "splash" so it looks like it is raining and the "drops" could fall and "splash" at the bottom of the stage.
first post on here and many more to come I am sure. I have a simple question on a FLA I downloaded from ultrashock. You can download the FLA here
Currently when you rollover a button the submenu drops down, but I was wanting to make that drop down menu animate above the button that is rolled over.Make sense? For some reason I just don't see where you make this change in the code.
I have trouble with a script for my game project. I can't figure out what I'm doing wrong. This is the code I'm using:
[Code].....
Now, if the variable enemie_life drops to 0 (which I'm tracking with a dynamic text box) it just ignores frame 241 and continues with the second part of the code. There I have another problem: from my understanding (and the way I'd like it to be) it should give me a 3/1 chance to go to 126 and otherwise go to 181. The latter almost never happens. It seems more like a 100/1 chance (and I tried it often ...).
I have a code that duplicates a movie clip that then falls across a picture. They are sort of like water drops on a window but I want the picture to only be seen through the water drops. My problem is I can't get more than one drop to mask the picture at a time. I have tried code in the duplicated MC and I have tried pasting a bunch of instances to the stage and creating a mask later. The following is the code of the duplicated movie clip where _root.drop is the falling mask and _root.bg is the picture I want to see through the drops.
I have started this animation and I am turning rain drops into movie clips with a small splash animation in the clip. I can just copy and paste them so I won't have to animate each one or do programming. When I test this with the swf file they turn out fine. But when I try to export this into a jpeg/png,or avi the full animation in the movie clip doesn't work. It just shows the first frame. Is there a way to make this work since I would really like the single jgep files or avi since I need to transfer this to other programs. I thought there was a way to do this but I cannot remember or I don't know if they changed it with cs4 XD.
I'm having a reliability problem with publishing live, h.264 streams from FFMPEG (using the rtmp publish ability now built into FFMPEG, where I can set an rtmp address as the output).After a random period of time (usually between an hour and several hours), the default "live" application in FMS 4 (or 3.5) eventually drops the connection from the FFMPEG encoder. This is what appears in the log for the application:"Dropping application (live/_definst_) message. Clients not allowed to broadcast message."After googling the error, I discovered that people have been reporting this error for several years, but there has not been a single response from any FMS experts or Adobe about what causes the error.
When publishing a project from Camtasia Studio 7, the params list includes a setting for quality. But instead of the usual "high" value, it sets it to "best". I Google'd and searched these forums but had no luck finding any definitive explanation if these two settings are equivalent. Can anybody enlighten? This topic also spurred another question, does the quality default to the highest value if the parameter value is invalid?
I am using OSMF v1.0 along with FMS 3.5.3 and flash player 10.1. Whenever i do a seek, lets say to a time 't'. Netstream.time gives me an incorrect result which is more than 1.5*t (varies). So if i seek to 100, i get netstream.time as approx. 160. I also noticed, 'NetStream.info.VideoBufferLength' goes very high (from around 3-4 to 50-60) just before the Netstream.time parameter gets updated and drops backs after update.
I got a mxml file that launch a script on my http server through a HTTPService.send() call. Since the script on the server side takes a LOOOONG time (it could take even more than a hour) i would like to drop the connection between my air application and server when a button is clicked. Don't know why but calling HTTPService.disconnect() is totally useless... No tcp connection drops and script keeps on running on server side. No HTTPService.cancel() nor set HTTPService var to null worked.