Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




FLV - Just Audio, No Video



any one had an problems with FLVs just playing audio and not the video? i am using the netConnection and NetStream methods and not a media player component. any suggestions?



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 03-15-2005, 10:54 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Video Stops And Audio Continues - Individual Scenes Work, Together Video Freezes
This is my first flash project ever, but I think I got a handle on layers, scenes, using streamed audio, etc. The sync works for every scene when tested independently. Those exported .swf run fine. But when I try to publish the entire movie as a .swf or .exe or any other format, it always freezes at a certain point. The video stops but the audio continues.

Can anyone help me or give me an idea of where to start diagnosing the issue?

I've resorted to converting each individual .swf into .avis then combining the segments into the video that I want, but, of course, this doesn't retain the size, scalability, and quality benefits of a .swf file. Please help!

Making A Music Video -- Audio-video Sync?
Apparently, the sound file must be set to stream to assure synchronization.

I also read this somewhere:

Note that it's critical to add a preloader to allow the music file to properly stream down to the player before playback begins. With the sound file set to Stream, the animation and song may be out of step with each other if this step is not taken.

What does this mean? If the song it's set to stream it just isnt loaded in the preloader -- how do I make it load?

One more question, what is the optimal framerate for a music video? 30?

No Video (only Audio) When Playing Basic Video Player.
Hey everyone.
I used to be fairly good at flash, and then i had a break. Now i'm struggling with this really simple problem, that no one else seems to be having...

Here is my actionscript for playing the video

Code:

var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream (nc);

theVideo.AttachVideo(ns);

ns.play("antena1wheel_1.flv");

When i preview it, it comes up with the white stage, and you can hear the sound... but no sign of any video.

Thanks, and appologies for my stupidity...

Tim =)

Audio And Video
Im fairly new to flash but ive come a long way in the past 3 months but i need some help, right now i have my audio and video in my main SWF but im trying to fig out how to have seperate SWF's so my main movie is not so big, right now its 9.6 megs which about 95% of that is audio and video, i heard you can use actionscript to link and load the SWF's as your main movie is playing then when they load they would be available. heres what i have so far if yah want to check it out, please tell me how long it takes to load.

http://nraclan.com

i can send the FLA to someone experienced ms MSN messenger addy is
AMD64Hillbilly@Hotmail.com

if you have team speak you can join my server at ts.nraclan.com:1967 no password.

thanks for anyone that can help me.

How Could I?(audio/video)
hi guys, whats the best way to intergreate a video or audio file into a flash file, so that it only plays on my website and is encrypted so that it can not be decoded

Video+audio
Hi all,
I want to know whether AMFPHP supports audio and video files .In my project i am trying to use a series of video files which now i want to access from the server.so i want to know the details.
Pls give me the details of the tutorials if possible

pls help,
Thanks in advance.

Audio Without Video
I just updated to the latest flash player and cannot see my streaming video. The site works as I can see it on another PC. In IE or Firefox when I open the link the audio plays but I don't get get the video just a blank screen.

I have run the uninstaller and reinstalled. I see the flash object from the install page fine.

http://shows.ctv.ca/2007/ this is the video I'm trying to view.

Audio And Video
Okay I have a video within a movie clip.
I have the created my own buttons ie. stop, play, forward & back
I was using AS3 but I switched back to AS2 and found the the
on (release) {
stopAllSounds();
}
stops the video as well as the audio.
My question is how do I start the audio and video.. ie. what's the code I need to use in order to get this to function appropriately .
Cheers-
Graphic Graeme

Video, But No Audio
Hi. Im importing an mpg video file with audio in it to flash.
But i cant get the audio in.
Anyone know why?

FLV - Just Audio, No Video
any one had an problems with FLVs just playing audio and not the video?

i am using the netConnection and NetStream methods and not a media player component.

any suggestions?

FLV Audio But No Video
Hi,
Am using 'NetStream' and attachVideo commands to dynamically load external flv's into a media display component.
on button release the relevant video should load into the display component. but all i'm getting is audio and no video. The code i'm using is as follows:

on (release)
{
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject){
    status_txt.text += "Status (NetStream)" + newline;
    status_txt.text += "Level:"+infoObject.level + newline;
    status_txt.text += "Code:"+infoObject.code + newline;
};
my_video.attachVideo(netStream);
netStream.setBufferTime(5);
netStream.play("video.flv");
}

Any help is much appreciated,
Thanks,
DigiPencil..

Audio And Video
Greetings!

I have a movie that I attend to ad a background sound loop to with 'on' and 'off' buttons. In a apart of the movie loads an external swf with video in it and the sound loop has to stop. Well to this point I believe I can make it on my own BUT if the user has muted the sound loop before loading the video, how do I make the check if the sound loop was on or off before loading the video so it can after closing the video determine to start the loop again or not?

If there is a tutorial on this matter, it would be great 'cos I'm not so at home when it comes to actionscripting.

Matching Audio With Video
ive made a couple of movies w/ Flash MX and i have noticed that in some of my movies that the video in the movie tends to slow down at points, and some events are matched up with the sound but they dont when the video slows down

ive noticed on movies not made by me the video matches right up with the backround movie

is there something im missing or are there too many objects moving at one time?

the thing is that im making a little movie in which i edited some music and now want to make 3 guys on stage playing this music, and at times there are insterment changes and i want to have one insterment fly out and another to come in, all in a joking matter, but if the video doesnt match up with the sound all my work will be ruined

is there anything i can do to stop this slowing down?

Sync Audio And Video?
I'm trying to improve the quality of spoken audio in a video i'm importing into the flash. all of the s sounds are coming off "lispy". Will it work for me to seperate the video and audio tracks and try to sync them up so the audio can be saved as a wav or mp3 and be higher quality?

Audio& Video Synchron?
Hi,
i am planning to make a pure vector-based movie in Flash, but in my .swf-file my music is not running synchron to my visuals. The audio is faster, and after having pushed the graphics to a place where it compensates the problem, i cannot ad any new frame without confusing everything again.
In fact i cannot work with the frequency, displayed inthe music-layer, because it has nothing to do with what is coming out in the end. If i choose a climax in the frequency and ad a rectangle there for example, i can be sure that it will appear later than my climax.
Anyway, i am quite sure it has got do with the complexity of my vector-objects. And in some way it maybe a CPU- problem( 2400+).Whatever... How can i manage this? Maybe by using Actionscript?
e.g. LOADMOVIE/ LOADSOUND?
Thanks for helping an "advanced newbie"!

Audio From Imported Video
I have imported an embedded video into my flash movie. When I play it in flash I cannot hear the audio(of the video). If I export the file to a swf I can hear the audio fine. Shouldn't I be able to hear the video's audio track in flash while I develop the flash movie? Any ideas why I can't? Thank you.

Video, Synchro, And Audio...HELP
First of all, sorry for my bad english but i am from argentina.

Now, the thing is that i´m trying to make a flash animation.
The idea is a video loop, that shows a blue sun shinning and spinning. The video is about 30 seconds, and it is in 800 x 342 resolution, because i want the animation to be seen in full screen.
With sorenson squeeze i reduce it to a .flv of 800k size.
So far, so good.

The next thing i want is an mp3 playing while the sun spin. It is a 4 megs mp3, that i publish in the swf at stereo 64kbps. That make with the video and sound, an swf of 3.8 mb.

Finally, i did subtitles for the mp3. I make them in a movie clip, and placed it in syncro in the time line with the audio, that is merged in the swf as streamed mp3.

Now...the problem.
I want a preload that go from 1 to 100 percent, and that load ONLY the video loop. I want that, when the video-loop-preload finish, it start the video, the subtitles, and the audio at the same time.

I don´t know how to make only preload the video.
And i don´t know how to make the subtitles be always in synchro.

Because if for some reason the bandwith of the visitor gets down, and the mp3 start to buffer, the subtitles continue! And, obviously, they get out of syncrho!

Please, help me!!

Federico

Exporting Swf With Video AND Audio
I've been trying to export a swf that contains a quicktime video that I imported and embedded but the sound keeps dropping out on the exported swf. I'm not getting that warning that says the audio can't be imported with the video so I'm assuming the issue is with the export. I don't want to bring in a seperate audio file because I'm worried that it won't stay on the same timeline.

Has anyone else encountered this issue?

Send Audio And Video Through Web
send audio and video through web
If there any possibility for flash to send LIVE! video and audio through web? Is there any function or coding or action script that can handle this situation for example how can i create a website that people can SEE n HEAR with other people.... n we asume both parties must use webcam and microphone... Is there any possibility for actioncript function or coding that can settle down my prob? Or am i must using any multiserver software??? is there any "flash server communication"???

Audio Not Importing With Video
Hey all.

I can't figure this out.

I'm embedding video and getting a picture, but the audio file is not coming with it. The "Import Audio" box is checked upon import.

I checked the archives on FlaskKit, but did not find what I'm looking for.

Thank you for your time.

pug

Audio/Video Chat
Good afternoon everyone. I'm in the process of creating a chatroom with Audio/Video capabilities for my website http://www.macromedia.com/devnet/mx/flashcom/articles/first_comm_app.html ) and I was wondering if you might be able to help me out through the process. The model is something like www.collab.nl , but I was wondering if you know whether or not the components that are in FlashMX can be edited or customized at all, such as the text on the buttons. I have tried something as simple as editing the attached component's button color but it doesn't seem like very easy task.

Kelly

Video And Audio Links...HELP
I am making an autorun cd for school. I have my interface layed out and I want to be able to click on a button and then my video pop up. How do I do that? What action scripting do I put on the button for the video to pop up. I have the same thing with audio as well. Thanks so sos sos much!!
Christina

Syncing Audio/Video
I have matched audio with my video, but unless I view it at a 200% zoom or closer, the video falls behind the audio. This even happens with an exported movie. Other than that, the audio is perfectly matched in the timeline.

Is there a reason why this is happening?

Audio Does Not Import With Video
Hi everyone,

I have a 3 minute quicktime .mov file that I'm trying to import into Flash. Unfortunately, when I import the file, I lose the audio. I've tried to import it with just about every possible combination of settings with no luck.

I would really appreciate any help you might have. Surely, someone out there knows how to import video into flash.

Also, I'm pretty new at this so please put your answer into lay terms for me!

Thank you so much,

Tara

Audio & Video Buttons
Please someone! Damn newgrounds people are slow and daft! All I need are the codes for manipulating audio and video. pause, volume, backward, forwards and if your real smart something better.

Peace.

FLV Plays Video No Audio.
My FLV was loading in fine, playing audio on one server. Then when we pushed it to another server the audio won't play in the FLV at all. Also, after the FLV is done I load an external MP3 which doesn't play either.

Is this a MIME setting issue? Or permissions or something server related? I doesn't like MP3s in FLVs or alone.

Thanks.

[F8] Preload Audio And Video
How do I preload my audio and video so they play in sync?

Video & Audio... Streaming?
Can somebody instruct me as to the best way to get video and audio to stream into a media player in a flash movie?

I write my own music and occationally make videos. I decided to convert my site from html to flash.

At first I made a flash site with all the movies and mp3s imported into it. The final file size was 70mb!!! (the video and mp3s don't even add up to that much)

So now I've decided, instead of importing, I would like to try and stream them into a player in flash. I like the prefab video players in flash for the movies,(but I can't figure out how to use them for mp3..)

So basically, I have a menu that lists all mp3s and videos on the left.. and hopefully a media player window to the right. When I click on one of the links in the left, it then streams the audio or video to the media player.

Any help is appreciated. I am somewhat of a newbie. Havn't touched flash for about 3 years.. I've forgotten nearly everything.

Syncing Audio With Video
Hi,

I was so proud that I was finally able to get voice to play along with some simple tweenings of words and images on the screen. The synchronization looks and sounds absolutely fine in the swf. (I have one long voice file on one layer and the visual stuff in other layers.)

But, when I export to a QuickTime movie all of a sudden the audio and video become more and more out of sync as the movie plays. (it's running more than two minutes with words popping on the screen and someone reading them).

Not sure it matters... But, I'm trying to get this into .mov format, so that I use the Flash CS3 video encoder to create the flv file, so that I can use the nice flvplayback controller.

Can you help? If you refer to the FAQ, I'd appreciate a link to it. I've been wandering around the Flash Kit Community and have only been able to find the FAQ about posting. Be gentle...

Also, should I be cutting the audio at reasonable breaks in the reading? Or is it okay to leave it as one longer voice piece?

Any help is appreciated. This thing is supposed to be completed by tomorrow. and it's obviously not.

-w

Stopping Audio On A Video
Hello.
Here is my problem.
I have my main page (main.swf) which has my menu, bkd, etc. and I have a separate videogallery.swf that loads into my main page. When I play a video from the gallery and go to another page the audio still plays. I’ve added the playerInstance.stopFlv(); to all my buttons on my main.swf and it still doesn’t work. Any help would be appreciated. The sample is here if I wasn’t clear. www.cmdoi.com/sample1 under gallery > videos.
Any help appreciated.
Thanks.

No Addchild But Still Audio From Video?
hi

Im using the following code to create an instance of my movie clip with a video in...


PHP Code:



var myMC:vidtest = new vidtest();




I do not addChild but the sound from the video can be heard even tho the video is not on stage, how can I stop this?

Video Is Gone, But The Audio Remains
Is there anyone that can help me with this sample fla.

I need to get the video audio track to stop playing when you click the button for page 2 or page 3. At present the video is removed but the audio isn't


(you have to have a flv named mainpagevid.flv waiting to be called up --in the publish to folder)

one button is at the bottom that takes you to the homepage like a password submit button. Click it first and then you will be taken to the page that loads the video dynamically.

two buttons are at the top of the page that take you to pages 2 and 3

Thanks so much

Audio And Video Player
Hi All

I've been using a few different tutorials etc to build both Glash mp3 players, and Flash video players. Both using xml files to create 'playlists'.

What I was wondering, is if anyone knows a way that you could combine both into one 'media player', if you will. So for example, if the player receives a FLV from the xml it will play the video, or if a amp3 it would just play audio?

Any other thoughts/suggestions on this would be appreciated.

Regards,
Matt

Audio Video Recording. How Can I Do This
Hello Guys!.

Task is to take online interviews and record them for lather reviewing. I m new to media server and video streaming. Can anybody guide me what should i use in this case. And from where i can get help for this.

Thanks in advance.

Cheers!

Audio Video Recording. How Can I Do This
Hello Guys!.

Task is to take online interviews and record them for lather reviewing. I m new to media server and video streaming. Can anybody guide me what should i use in this case. And from where i can get help for this.

Thanks in advance.

Cheers!

Syncing Audio With Video
I am importing a .mov file with audio and they are not syncing properly. Is this possible in MX?

Video Audio Keeps Going When Gone To Another Frame
This seems like it should be obvious, but something is odd about this.
I have a row of buttons that go to different frames and plays a video.
The same button bar is at the bottom through the whole thing.
So, if you press button 1 to goto frame 20 and play vid1, the vid plays fine.
But if you press button 2 to goto frame 30 and play vid2 before vid1 is done playing, the audio continues to okay and nothing stops it until it finishes the entire thing. You can still see and hear vid2, but the audio of vid1 is still going.

Any ideas?

thanks

Video And Audio Streaming
Hi,

Anyone got any idea how to create this video and audio streaming by calling javascript? like the website below (right hand side):

http://espn.go.com/

I believe the tab are created using ajax and load the content according to the number of files from individual folder. May I know is there a tutorial for it?

Besides, can flv player playback mp3/audio? I am wondering can a player play audio and video files?

Thanks!

FLV Plays With Audio (no Video)
Hey all,

I'm building a flash piece that plays multiple videos (one at a time - on demand) that are served from an RTMP server. the videos play fine 95% of the time but 5% of the time the audio plays but the video doesn't show up. This is the relevant code:


ActionScript Code:
var thisVideo:FLVPlayback = new FLVPlayback();
thisVideo.source = flvLink; //flvLink = RTMP link

thisVideo.addEventListener(VideoEvent.READY, readyFunc);

function readyFunc(e:Event) :void {
    videoHolder.addChild(thisVideo);
    ready = true;
}

//called when video should play
function video() {
    if(ready == true) {
        thisVideo.source = flvLink;
        thisVideo.load(flvLink);
        //thisVideo.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, playingListener);
        thisVideo.playWhenEnoughDownloaded();
    }
}

I have noticed that "PLAYING_STATE_ENTERED" doesn't fire when the video doesn't display.

Anyway, any thoughts would be much appreciated.

Send Video And Audio Through Web
send video and audio through web
If there any possibility for flash to send LIVE! video and audio through web? Is there any actionscript that can handle this situation? For example how can i create a website that people can SEE n HEAR with other people.... n we asume both parties must use webcam and microphone... Is there any possibility for flash to settle down my prob?

Video And Audio Synching
I have a video intensive flash project that is giving me some trouble. The video's audio sometimes gets "off". Are there any setting in flash that can alleviate this problem? Or is there another way to take care of it?

Video /Audio Problems
I have an mpeg i have imported into Flash 8, imports both audio track and vide fine. However, when publishing the file the video plays at x2 and the audio x1 even though they came from the same source file. Any ideas?

Controlling Video With Audio
I have a 10 second video clip that I have embedded into my flash document. The video plays automatically and loops forever. I then created a play, pause and stop button with behaviors to control the video. I then gave those same buttons actions that play, pause and stop an external mp3 file. I want the video to somehow read the audios length and time itself out to stop when the audio dose. I plan on changing the audio file on the server frequently and I want the videos length to update itself based off of the new audio clips length.

FLV Stream - Audio But No Video?
After exhaustive testing on numerous machines, platforms, bandwidths we got our videos working flawlessly across them all. Then today, in a Sales Presentation, this particular Dell machine performed everything EXCEPT the video. Very strange.

Ideas?

Thank you.

Audio And Video Glitches
Hi,
I deployed a flash video on a bunch of sites about a year ago and it worked fine.

A few weeks ago, all of a sudden on all the sites (different hosts, servers etc) the audio has started glitching out and occasionally the video, too. I can only assume this was caused by an update to flash, though I can't be certain. It's a really simple flash video player that loads and external .swf file and plays it. I have no idea what to do at this point.

You can watch the video at: http://mma4millions.com/video.php
(The website hasn't officially launched yet so there are other problems as well, but just pay attention to the video)

It plays fine on the flash player that comes with the flash app, but not once loaded to a server through a browser.

Any help would be appreciated. Thanks!

Audio Video Problem - Help
The audio and video do not stream together - can anyone help?

FLV Video And Audio Question
I have a situation where I'm loading up a video (FLV) into a Video object on the stage using the NetConnection, NetStream, and Video classes and action script. I want to know if the FLV I'm loading has a soundtrack or not (some of the movies don't) so that I can choose to play a default soundtrack or let the movie soundtrack play. Is such a thing possible?

I've noticed that the NetStream object seems to have a property, once 'play' has been called, called 'audioCodec'. I don't find any documentation of this property anywhere, and I wonder if it could be used to test for audio. My test case has no sound, and the codec is listed as 0. Would this be a reliable indicator of the presence of an audio track? Is there a place I can find the list of codecs and the integers used to represent them in this property??

Thanks much

Cris

Syncronize Audio To Flv Video
Hi ,
We would like to allow flv dubbing online so I would like to ask if you know the way to add and syncronize an audio track to a flv video.

Thanks,

Sandra

FLV Playback. Get Audio But No Video.
Hello All,

Currently working on a media player for a companies website. Have to write the thing in AS2.0. Now I'm able to load the flv and hear the audio however I don't get any video playback at all. Video plays back fine in a flv media player so I know it encoded correctly. Does anyone know what could be affecting this? I would think it might be a codec issue however I've been told the flvs I have should be encoded for as2.0


Thanks,
Pete

Copyright © 2005-08 www.BigResource.com, All rights reserved