ActionScript 3.0 :: Start From A Given Location In Streaming Video?
Sep 7, 2010
I want to load a streaming video from any point clicked on the progress bar. It it similar to what happens on YouTube. I am using Red5 server for streaming and netStream class.
I am trying to make a flash movie and have it find a external movie to show. I also need to be able to change the location of the video without flash, so I think I have to use a seperate .as file.
At a certain point in the app flow, a m4v video is streamed from a remote location via rtmp. This works well, except for two little problems:
1. In very rare cases, the video starts playing, but you see no images and only hear the audio. Seems like this happens more often with Chrome, but that is only a guess.
2. In the first frame or so of the video, you hear a noise in the audio. It really is very short, but still a nuisance. This chirp is not there when viewing the same video with VLC or QuickTime player. It IS there when viewing with the Windows Media Player.
Are there any known problems with codecs and the flash as3 video streaming (via NetStream/NetConnection)? The video is composed by using the ffmpeg library (one mess of a library, I can tell you...) to bring together a live-rendered video (using a 3D Engine) and a pre-created *.wav (which does not have the chirp).
I am trying to make a flash movie and have it find a external movie to show. I also need to be able to change the location of the video without flash, so I think I have to use a seperate .as file.
Does anyone know of a decent tutorial showing this? I'd like to have the user roll over a button, then start some streaming video. Either they roll over the actual video, or just an invisible button that's placed over the video. Either way.Every time I try to search for this I keep getting "videos about how to create roll over buttons." Not the same, and driving me nutz
I have a virtual directory (Storage Area Network) in 'C' drive as well as in "webroot" folder in Flash Streaming Server. What do I need to do to make RTMP videos work from SAN directory on Flash Streaming Server. It works fine for http. RTMP from vod -> application folder works fine. I have done a lot of research and found out that we can use virtual directories for streaming videos. I am unable to find steps on how to use it..
I'm wanting to do a interactive application that is fullscreen across two monitors. I know that invoking the normal fullscreen procedure will defult the the fullscreen to only the main monitor. I was wondering if there was a way around this. Like, if I removed the windows borders and flash toolbar from the application, set the initial window location to start at (0,0) and then set the stage size to the resolution of the two monitors horizontal resollution compined. Is that possible, and if so what the things(terms,methods)
I've got a page laid out that houses a nightly live webstream of music at a venue. Every night (except Sunday) the stream turns on from 8pm-2am Eastern Standard Time. Some nights, I notice there is nobody watching the stream, yet the stream plays everyday no matter what. In the interest of saving bandwidth per month, I'm trying to figure out how to only stream if somebody is watching.So basically the camera would be recording locally, and when someone connects to the website something tells the server to start broadcasting. If the person leaves, the server stops broadcasting. Has anyone ever tried doing this? I'm using Influxis for my media streaming and they've assured me I can execute server side scripts.
I've freshly installed the FSM demo on a redhat linux box, and have everything working. From that start screen running on Local Host, I click the "Play video (HTTP)" and that video of a train shows up. Cool. But when I click the link above it ("Play Video (RTMP)") I get an error message: "Connection Error. press Play to try again." and no matter how many times I hit play, I get that same message. The Dynamic stream doesn't work either, and the Interactive sucessfully displays webcam feeds, but doesn't show the "Play Live Stream" button thing. Is there anything special you have to do to get the RTMP stuff working? Some special command or server you have to run?
Would firewalls intefere with things (I'm pretty sure there isn't one on the machine, but I'm flailing wildly here) or would permissions mess things up? I'm completely lost ^_^;; I guess I should also add that there doesn't seem to be any log files. I'm looking under the server install directory, and there isn't even a "log" folder. There isn't one under Apache, either. It confuses me. So far all I can find on the internet is instructions to look at the log files...but if they aren't there... Am I just looking in the wrong places, or are they just not being generated yet? I did a tcpdump with wireshark, and the web app IS pinging port 1935 (for RTMP), but the packets are failling the checksum and are refusing to be reassembled because of that. Is this making sense to ANYBODY?
I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?
I am streaming flash video and the dimension of the video is 1280 by 720 (same size as the stage)
but just before the video streams, there is a quick flash of the video (about 320px by 240px) at the top corner of the stage, and then it plays the videos at the correct size (which is 1280 by 720) .... a quick flash is the best way I can explain it.
This is my code:
function clicked(event:MouseEvent):void { var video:Video = new Video(); addChild(video);
[Code]....
is there anyway I can stop that quick flash of the video .... so when I click on the button, it just plays the video, at the correct size?
I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?
While streaming a live worship service in Flash format, I'll need to archive only the sermon in Flash. I do not want to handle this in post/editing. What will I need to make this happen?
I need to produce a photo review show (basically, a photo slide show), which incorporates still photography, and numerous video clips. We will have music playing in the background (not on the timeline - in the actionscript). The full presentation will run automatically - no user interaction, and therefore, I need the background music to automatically fade out when the video starts, and then fade back in when the video ends.
1. Is Flash CS5 the correct software to do this in?
2. code to tell the sound to fade out when the video starts, and fade back in when the video ends?
I need a flash video player for our public site where users will share videos.The video usage model is similar to youtube as far as video part is concerned.Users will upload and share videos. Users will browse and play all shared videos as well.The videos will be streamed from the server and our app is a .NET/C#/JQuery application.We have 3 options:
1) Either buy a commercial flash player
2) Customize a open source player or use free player and customize its gui
3) Develop our own (time consuming and last resort)
I am required to find a flash video player with these requirements:
Player should work in all major browsers (IE, FF, Chrome, Safari)
Player should have way to inject Advertisement clips when playing a video file
Light weight and easy to integrate
Must support streaming and scale
Plus all other basic features of a flash video player.
Possible Duplicate: Flash video player for video streaming.is there any good and open-source video player to be embed in as3, no flex, html, and js.i tried
f4player.org
https:[url]....but i found tons of bugs,if you know any comercial player, that would be awesome too.
I'm looking to duplicate the video-embedding technique shown on [URL], whereby they show the flash video to all platforms where flash is available, and only show the HTML5 player on mobile devices. (specifically, iphone / ipad)
Is there a browser-sniffing framework, or some other method available to accomplish this?
I'm trying to access a flv file on a remote server from swf. It works perfectly from my local machine going to the remote folder. But, when I upload it to my web host, it doesn't load the remote flv. I'm guessing there's some kind of permission issue on my web host. I have a crossdomain.xml file in the root dir with the following:
I'm loading a video using the FLVPlayback component, and I want to start the video 10 seconds in, as opposed to from the start. How would I do this? For audio it seems simple enough, but I couldn't find an easy answer for video.
If you load up a FLVPlayback component in Flash or VideoDisplay in Flex and try to seek to a specific location or set playheadTime to a specific location, the movie always rounds up or down by very large amountsIn flash, drag a FLVPlayback component to stage and set source to Then try to video.seek(6) or video.playheadTime = 6;It will just goto 10. Likewise if you use their built in scrubber the only intervals are 0, 5, or 10. So at most the scrubbing frame you see is 3Here is an example of flex with the same result.
1) I want a 60 seconds video to start playing after 40 seconds have been downloaded - to do that I set the NetStream.bufferTime to 40 seconds and retrieve "NetStream.Buffer.Full" event causing the video to really start playing. This step is OK.
2) However, the "NetStream.Buffer.Full" causes data to stop downloading. So the remainder of the video begins to download no sooner than after the 40 seconds have been played. This step is my issue. Can anyone tell me how to avoid this unintended effect? (i.e. playing a video and downloading data at the same time?)
Got a large file 12 minutes long clip and I compressed it with the adobe optimization program adobe media encoder. I got a 350 megbite file to be 60 megabites as a 320X240. I choose also a medium size video file. How do I keep the video quality and stream it (like hulu would do) or how do I compress it smaller than 60 megabites and keep the same quality. Either or. I am not familiar with web video so I am trying to make the file as small as I can in size with the most amount of quality.
I'm new to the streaming video world but I do have FMS 3.5 up and running and have encoded some wmv and mp4 videos to flv using adobe encoder CS4. I followed the tutorials and have created the swf files in flash CS4 and the videos are streaming as expected.
The primary issue I am having is the videos tend to be choppy at times. They pause, run slowly, audio pops and just overall; glitchy. Typically at the beginning but some times throughout. The test files at the FMS admin page stream fine without issue from the same server. We have tested the site/streams from multiple providers all at cable modem speed or above.
We are running FMS 3.5 developer version and wish to purchase the full version but I really need to fix this issue to prove it's value.As a bit of background we are running/testing FMS 3.5 from a server with the following specs:Redhat EL 4.6-32 SuperMicro X7DBU Intel Xeon QuadCore DualProc Sata [2Proc] Intel Xeon-Harpertown 5420-Quadcore [2.5GHz] OEM 4GB ECC FB-DIMM DDR2 Mainboard Onboard SATAII Controller (2) Western Digital WD Caviar RE 16 WD2500YS Uplink speed 10 (Mbps) Bandwidth allotment 2000 GB(Virtual Private Rack)
I have a "Play video" button that does exactly that, it loads a flv video and plays it - I can stop, pause and play the video. Now, I want to add a streaming bar.
I'm trying to decide whether, for my particular application, I would be better off delivering video via streaming or progressive download. Here's the situation: Background: this will be a learning drill for learning foreign language phrases. There will be a series of ten short video clips, each one a headshot of a native speaker, saying a single sentence. The background is static so the only thing changing will be facial expressions, so compression should be pretty effective. Each clip will be approximately 4-6 seconds total length. Resolution will be approximately 360 X 270.
The way this particular drill works makes me wonder if perhaps progressive downloading might make more sense than streaming. But like I said, I'm not a Flash developer, so I could easily be wrong. (Did I mention we're currently looking for a talented, reliable Flash developer?) So here's how it will work: Drill will load up showing written text of instructions, along with audio of the narrator reading the instructions aloud. Approximate length of the audio instructions will be 15 seconds. (I"m thinking progressive download could begin during the reading of the instructions.)
After the instructions have been read, the intructional text goes away and is replaced with (from top to bottom) the text for the first sentence, the video box with a static image of the first frame, a "Begin" button. When the user clicks the "Begin" button, the video begins to play, and the "Begin" button transforms into a "Repeat" button, which is inactive while the video plays. When the video ends, the "Repeat" button becomes active. Clicking the "Repeat Button" causes the same video clip to play a second time (again, the "Repeat" button is inactive while video plays.
I am trying to stream an FLV file into a Video object by attaching a netStream using attachNetStream(). This works fine for local files as well as downloading files from a different domain; however, I am trying to download an FLV from php file that sends these headers:
But The video does not play on the Video object. If I download the video from that php link and save it locally, then have the netStream load it from there, it works just fine.
Why is this happening? I was trying to use URLStream as a way around this, but I couldn't figure out a way to attach a URLStream to a Video.