ActionScript 3.0 :: Loading MP4 Only Audio No Video?
Sep 15, 2009
I'm trying to load an MP4 using CS4 and actionscript 3. The clip is loading but I'm only hearing the audio, I'm not getting any audio. Not sure what I'm missing. Here's my code it doesn't produce any errors:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
[Code].....
View 0 Replies
Similar Posts:
Aug 6, 2010
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 Replies
Jan 14, 2009
how to get flv's to load up dynamically using xml - it all works well apart from this one problem that i have.
when the thumbnail for the flv is clicked the preloader appears and the flv starts to load - but for some reason the audio begins to play almost immediately - then when the flv actually loads then the audio plays again whilst the initial (unwanted) audio carries on playing!
this is the script for the netstream:
[Code].....
View 1 Replies
Aug 25, 2009
I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)
Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.
I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.
View 8 Replies
Jan 28, 2012
I think it is loading the whole audio first into the swf, but I would like to get confirmation from someone more knowledgible.[code]I want it to stream the audio when the button is clicked only so that 100 of these swf will not slow down a whole webpage from loading.[code]I only start getting concerned when I noticed that on FF and Chrome, the page loads really quick but when I open the page in IE, it takes a very long time for the page to appear.
View 3 Replies
Jun 2, 2010
I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.
View 3 Replies
Jul 12, 2011
I am using Flex and FMS to develop a video conferencing application. I am using DynamicStream to automatically switch incoming streams to the appropriate bitrate depending on the available bandwidth. I was wondering if there is anyway in which I can instruct the DynamicStream to allow more bandwidth for audio (obviously at the cost of losing some frames from the video).
View 1 Replies
Mar 7, 2011
I have a SWF movie (only animation, no Actionscript) and I would like to programatically extract the resulting video and audio and whatever resolution.
View 2 Replies
Dec 7, 2009
When I use the webcam and microsoft to record a video, my audio and video are out of sync.This does not happens when I use the built-in Microphone on the webcam.
View 2 Replies
May 4, 2010
I imported a quicktime .mov video clip onto my stage for my website, but when I preview movie, there is no audio.
View 1 Replies
May 18, 2006
I have a video embeded into my scene, it is an flv. I need toremove the audio from it so I can put on a backing track. Is this
View 3 Replies
Sep 5, 2008
I have a video that consists of an imported FLV to thetimeline so I could put a new background behind the alpha-channeledbackground of the movie and put other thingsin front of it. When Iexport as SWF it plays just great. However, the download is akiller over DSL speed connection, so I thought I'd try making thefinished product into an FLV. To do that I have to export as QTmovie first, then from QT Pro export to FLV. It loads much quicker,however the movie's video and audio get out of synch by the firstminute (it's 4 1/2 minutes long), and by the end it looks terrible.
View 2 Replies
Jul 30, 2009
this one is really doing my head in and any advice (even vague thoughts) would be really great.I have an FLVPlayback component on the stage and I am loading 8 FLVs in to 8 separate video players within it. I then play the first one and when it ends I randomly select which to play next.Everything seems to work fine except that each time I run it one or two of the clips play back with only audio only and no video. It is not the same clip each time but whichever one it is will consistently fail to playback untill I re publish when it chooses a differrent clip to fail on.I am publishing for FP8 from CS4 on a Mac and it fails when I test movie as well as in FF and Safari.
If anyone has any ideas on this at all please shout them out or I am heading for the forrest never to return
View 3 Replies
Jun 13, 2010
When I go to test my video the audio and video are playing at different playback speeds. I'm trying to create a video using Flash that requires events based on the song itself. how to make the audio and video play at the same speed during Timeline playback and testing?
View 1 Replies
Mar 1, 2012
i am new to flex. I have this task. My boss wants an application that will enable his secretary in another room listen and view and probably take minutes of his meeting in the conference room. There is a webcam attached to one of the computers in the conference room.
View 1 Replies
Aug 18, 2006
I am trying to use some streaming video and audio inside my flash movie, but can't quite figure it out..I have the video saved as an FLV file, and this file was uploaded into my streaming folder on my server. I tried to use a sample player I found, and everything should add up, but nothing is coming through. How exactly am I supposed to do this, and does anyone have a sample video controller/viewer I could borrow to test this out?
View 2 Replies
Jul 6, 2009
I have a video on my site (progressive download, flv file, imported using flash cs3 video encoder) and I used the FLVPlayback component with a simple skin. The video works great, my only problem is that I want the sound to stop when I click on other buttons on the page. The way I designed the site (maybe not a great set up) everything is in one big swf file, so when you click on another button on the page to show another project, the sound from the video file (that is no longer showing) is still playing.URL...
View 10 Replies
Feb 15, 2011
I am developing Video Chat over Ip (including audio and text too). But I am unable to get the proper startup material for my desktop application.
View 2 Replies
Jun 28, 2009
I'm looking for a flash video player and a flash audio player with playlist that I can customize.
View 2 Replies
Aug 19, 2010
I am trying to control the audio of an embedded video from a mute button. I can get the audio to play and the mute button to control the volume using the following script:
var my_nc:NetConnection=new NetConnection();
my_nc.connect(null);
var my_ns:NetStream=new NetStream(my_nc);
[code]....
The problem I am having with this is that the video is not appearing on the stage and when I place it on the stage the audio is playing twice. how I can get it to appear on the stage and still control the sound as the button is doing at the moment?
View 1 Replies
Jan 11, 2011
Just wondering if it is posssible to use Flash to record the AV from a web cam and save the video file locally?
View 2 Replies
Apr 1, 2009
Can I use addchild & cuepoints in a streamed video to
1. play an external moviclip/swf on top layer with a transparent background? (without affecting original timeline & background video playback)
2. play an external audioclip/mp3/swf that will be "inserted" into original timeline?(thus extending original timeline however long the external
audioclip is)
View 1 Replies
Feb 3, 2009
I want to create a simple app the will run on a PC as a desktop application - not on the web. What I would like to do is have it show a webcam image on screen (yup, i can do this bit), then when the user clicks a button, the video and audio from the camera is recorded and saved to their local machine (eg. the desktop). I'd prefer it to be an flv or f4v file, but any video format would do for now. I've seen examples of video being recorded only (basically grabbing a jpeg/png of each frame and using these, but this has no audio!) I've also seen mention off flash media server, but as this app will be going on over 100 pc's with no network/server connection - I cant see how the cost would work!! (100 x licences -
View 1 Replies
Oct 20, 2008
audio from Flash CS3 Video overlapping stopping the FLVPlayback instance (which has an instance name of theVideo) when another button is clicked! How do I stop flv playback when user clicks a navigation button ...
I'm using the attached code to go from the main stage to one subset of .swf files (loaded movies) and I apparently have no problems with overlapping. Hell, the files even seem to unload themselves correctly. Then, when I go to my second subset of .swf files (with the exact same AS3 structure), which has a Flash Video file (made by the FLV Playback component), I get into an overlapping problem associated with the audio.How can I stop, cancel, or unload the audio when the file is clicked away from (the user selects another button on the mainstage)?
View 27 Replies
Jul 8, 2008
I'm trying to build a simple portfolio website, which displays images and videos. I imported a video, and got it to play when a certain button is pressed. But when I press another button (to go look at an image, for example) the video's audio keeps playing. How do I make the audio stop whenever another button is pressed?
View 2 Replies
Apr 15, 2009
I want to set the bit rate of audio and video (48,96.128 kbps) at the time of live streaming . i m not using the flash media live encoder because i have to make it as web applicaton. can any one tell me how to set bit rate.
View 1 Replies
May 22, 2009
I have several flash based lessons that I have created that are being distributed online to several companies. Each lesson has a video that is played within the lesson through the flvplayback control. The videos were supplied by a third party and some of the videos are encoded at 384K and some are at 568K.
One company that is attempting to view the lessons is seeing the following behavior. The video plays for approximately 20 seconds then suddenly the video drops out and the audio continues to play. With the audio still playing the video scrubber rolls back and attempts to start the video again but all that comes through is the audio track again. Now there are 2 instances of the audio playing with no video. This happens a third time and finally keeps going until all the audio is played out.
The IT staff at the company has showed me a fiddler log that shows the flash player making a connection out to Akamai to retrieve the video and then rolling from port 80 to port 1935 and finally to port 443. This would explain the three audio tracks playing
I have read that the flash player will attempt to gather the stream from the stated rtmp location and then if it encounters an issue with a proxy or firewall it will attempt the other ports.So I am not sure if there is anything I can do by design or programatically to alleviate this issue. It appears to me that the company attempting to view this video has some kind of bandwidth throttling program in place that is kicking off this behavior in the flash player.
Is it possible to prevent the flash player from making the three attempts? Would a sudden cut of bandwidth prompt the player to attempt to roll to another port if a network load balancing program suddenly kicked in? If it is bandwidth is that why the audio stream continues to play because there is enough bandwidth for the audio track to get through, but not the video?
I have attached a screen shot of the sniffer output so you can see the rolling ports thing.
Attachments:
networkSniffer.gif
(33.7 K)
View 6 Replies
Jun 16, 2009
I have 3 .mov files I am trying to import to the stage. Each time I bring them in all goes well. When I test my swf they lose the last 25%~ of the audio no matter what codec I use audiobitrate etc.
View 1 Replies
Aug 2, 2009
My dillema is that on my site when you load a video on one page then click on another page the audio keeps playing. I've had a look around other topics but nothing seems to work for me. I've put in things like videosname.stop() with no success.
View 25 Replies
Aug 7, 2009
I have a flash program that loads an external flv dynamically. I first create an empty movie clip then I attach an instance of the FLVPlayback component using Moviclip.attachMovie();. Then i control the FLVPlayback component with AS2. I have a play and pause button, a scrubber, and a loading progress bar. None of these are components. When I publish and preview the file in Flash CS4, Adobe Flash Player 10, and all my internet browsers everything works fine, all the buttons, the multiple functions of the scrubber, and even the loading progress bar.
However when I uploaded all the files from my computer to my company's server and tested it from there, I recieved audio but no video. All of the various controls still worked for the audio but I couldn't see anything on the stage. If I waited for the loading progress bar to complete and then reloaded the external flv then I got video, but the purpose of this program is to stream the video and I cannot have the users waiting for a preloader.
If you want to look at my FLVPlayback code here it is:
_root.createEmptyMovieClip("lesson_mc",-16381);
lesson_mc.attachMovie("FLVPlayback","lesson_video",0);
lesson_mc.lesson_video.contentPath = page.attributes.url;
lesson_mc.lesson_video.autoSize = true;
[code]....
View 4 Replies