Subscribe to RSS
get email updates
home | about | pixDif AIR app | video tutorials
polyGeek.com

place your ad here

Web Premium



Get Qwest High Speed Internet



Video tutorial : installing Flash Media Server 3

April 13th, 2008 . by polygeek

Installing Flash Media Server 3 is simple. But actually using it afterwards can be a bit tricky. In this video tutorial I’ll walk through the installation process and then creating a video player – using videoMaru – to stream movies from FMS. There is also a videoRecorder included in the samples download so that you can see how to use your webCam to record videos to your hard drive.

The tutorial also covers how to set your router up so that you can stream videos from your PC to anyone on the Internet. Which can be very handy for application development.


pgTV
Play the video tutorial:

Installing and using Flash Media Server for Intranet and Internet connections

Shows you how to install FMS. Then set it up to play videos from your local machine. Plus how to configure your router so that those videos can be accessed via the Internet – which is great for development purposes.

You’ll also see how to record audio/video from a webCam.

Download Flash Media Server 3

Download Sample Applications

Here’s the WebCamRecorder built in Flex. PLEASE NOTE: if you hit the Start Recording button it will record video to MY hard drive. Maybe I’ll make a webcam viewer page for those of you who record themselves. You’ve been warned. :-)

view source

NOTE: FlexBuilder now displays the live feed from your webcam when you switch to Design view. Which is sort of cool and all but when you switch back to Source view it doesn’t let go of the camera. So when you publish/test the application you won’t be able to see anything – or record – because FlexBuilder already has the stream and there can be only one. You’ll have to restart FlexBuilder to get it to give up the connection to your webcam.

A few more resources

If you’d like to apply smoothing to your VideoDisplay then try this.

Hopefully this will get you up and running with FMS3 pretty well. Please comment if you notice that I’ve missed anything.

If you get stuck with something try Kevin Mask’s suggestions at SDflex.org.

If something here has proved valuable to you then feel free to drop a couple of bucks in the tip-jar.

Post to Twitter Post to Delicious Post to Facebook Post to Reddit Post to StumbleUpon


similar posts

128 Responses to “Video tutorial : installing Flash Media Server 3”



[...] made a video tutorial that covers how to install Flash Media Server 3 and get it set up to stream videos and even record video from a webcam to your hard drive. You can [...]


[...] Watch the Tutorial Great video tutorial brought by polyGeek, on installing the Flash Media Server 3. In this tutorial you will learn how to install and get it set up to stream videos and even record video from a webcam to your hard drive. [...]

comment number 3 by: BW

I was trying to duplicate your tutorial on my home setting but I am getting connectionError. I checked edge.00 log and found “Application (polygeek) is not defined” error.

Is there another step that I have to take?

comment number 4 by: polygeek

@BW, if you are trying to run the code locally on your own installation of FMS3 then you’ll have to create the folder “polygeek” under the “applications” folder. So the path should look like this: applications/polygeek/streams/_definst_/myVideo.flv

You can create your own “application”, say “myApplication”, by creating another folder in the “applications” folder and then changing the code in the init() method to:

nc.connect( “rtmp://localhost/myApplication/” );

I hope that helps.

comment number 5 by: BW

That’s exactly I did. I follow step by step accordingly. Any folder that I created such as applications/polygeek/streams/_definst_/sample.flv resulted on the connectionError. However, when I created under applications/vod/streams/_definst_/sample.flv then it worked.

comment number 6 by: polygeek

@BW, Just to double check I created a folder and file ..applications/test/streams/_definst_/sample.flv and it works.

Since files in the vod/streams/_definst_/ folder are working it doesn’t sound like an FMS issue.

If you want you can email me your files and I’ll take a look and see if I can get them to work on my machine. ( Contact info is in the upper-right corner. )

comment number 7 by: Satish

Hi,
Wonderfull tutorial out there.. Good work!! I am building a similar application, although its primary objective is to capture only voice, i.e, record voice, i am unable to record voice. I get “Netstream.Record.NoAccess” very frequently and the stream doesn’t get saved on the FMS.. Please help me???

Thanks,
Satish.

comment number 8 by: polygeek

@Satish, hummm, you know, I haven’t tried to record just the voice. My guess is that you would set up everything just like a normal webcam recorder and then do something to null out the video in the Netstream. Not sure how you’d do that. I’d love to look into it but I’m way backed up with work.

I’d suggest posting to Actionscript.com or some other active forum and seeing if someone can help.

comment number 9 by: Gareth

Hi Dan,

I am about to start developing an AIR/Flex video recorder which will need to record webcam video to the users local drive and then upload this to a server. You mention in the FMS video tutorial that AIR has the functionality to do this now. I unfortunately can’t find any documentation on this. Any chance you could point me in the right direction?

Regards and thanks for the tutorials/samples.

Gareth

comment number 10 by: polygeek

@Gareth, I think this is what I saw:

http://www.zeropointnine.com/blog/webcam-dvr-for-apollo

Hope that helps.

comment number 11 by: ADE

hello there
Very nice tutorial i almost watch it everday i am totaly new to flash but i like the idea so i am on the middle of somewher and stauck i dont know much about code my probelm is that i have tested the samlpe and and followed your tutorial and every thing almost was fine apart from wen i uploaded the test file in the sample like the html test and the swf files almost all files apart from the flv file and it was playing fine in my site www but wen i tried it with my frineds pc its saying loading and nothing hapen after a while i get ConnctionError i dont know what to do from there i am sure i am missing something any help will be nice
thanks again for the tutorial

comment number 12 by: polygeek

@ADE, I think I might know what the issue is. If you drop the SWF file on some PC and try to run it by opening the HTML container it won’t work. It’s basically a security error that you’re getting. If you’re friend has a server set up on his PC then browse to the HTML container and try that. Otherwise put the files on a host somewhere and they should work.

comment number 13 by: ADE

Ok thanks for your quick reply
as i mentioned i am totaly freshy wen it comes to servers my problem its not just about its not loading in my friend pc its not loading from any other place apart from my pc wer the flash media server 3 installed what i ment was is that how supose to be done just by uploading these files to my web host ant it should work ok this is what i upload to my web host (powweb.com)

1 AC_RunActiveContent.js
2 allowedHTMLdomains.txt
3 allowedSWFdomains.txt
4 Application.xml
5 main.asc
6 vodtest.as
7 vodtest.html
8 vodtest.swf

without me to edit any thing just drag them from the sample in the adobe media server to my web host server and its playing without me to upload the flv file (the flv file is steal in my media folder in my pc) the link is http://rasnews.com/ade/vodtest.html
if you went there and pick one link to play it wont but its playing here in my pc, Sure i need to setup something here but i dont know where and what lol. the link is localhost so do i need to change that to some ip address or my ip address or my router ip or what and also where are the security settings. please polyGeek I know you are the man so i realy need help from you if this worked it will be my dream came true lol
Thanks for your help again and to all are reading this
awaiting for your replys

comment number 14 by: polygeek

@ADE,

I’ll try to help here. First, if the SWF is looking for your media sever on ‘localhost’ then that definitely won’t work. You need the IP address of your router. So when the SWF loads up it will look for the media server at that IP address that you put in.

Now you need the router to forward on that request to your PC. That’s where you do the port forwarding stuff. This is covered in the video. Maybe watch it again and follow the instructions for getting the IP address and the port-forwarding.

If that doesn’t work out for you then I’d suggest finding someone local who knows a good bit about routers and such who can help walk you through it. It’s easy to do if you know what you’re doing. If not then it can be a total mystery. I understood how to do this because I’ve done it before for things like games and file sharing that need port-forwarding. Otherwise I would have been clueless to getting this to work.

comment number 15 by: ADE

thanks polyGeek you are the best that was quick reply.
Ok that exuctly what i am talking about the router and the forwarding thingy as i told you b4 i been watching this video almost everday and i knew i was missing something when you strat changing ip address and then forwarded and changed the port in your router but mine is totaly different, I remeber i saw a router and its setting exuctly like yours i wish mine was like that but is different totaly i do have basic setup but someother staff was totaly different so i skiped at that bit but i should now deep into my router’s settings and find where to change or where to get custom setup (like urs) i looked if its called something else but as i told you i couldnt fix that and i tried it without that but i did work in my pc even thought i am typing http://www. and its viewable in my pc.
I will now call my BT (British Telecome) and ask them then i will post here if found the solution.
Thanks again PolyGeek You are the man!!!

comment number 16 by: ADE

I forget to mention i do see my ip address and therouter ip address but dont know how to forward the port. lol

comment number 17 by: polygeek

@ADE, maybe it’s time to get a new router. :-)

comment number 18 by: ADE

lol !!! polyGeek you are funy guy even in your tutorial
ok I have this good new for all are reading and had similar issue like mine i finaly solved it.
First i wana thank PolyGeek (Dan Florio ) the man who open the door for us and gave us this tutorial to help us all (god bless you) i followed your tutorial and every thing was right apart from minor problems i had like my router and its configuration i never tried camera and recording staff coz this is not what i want. I will try that next time so now i am soo exited that i have copmpleted my test and its working fine apart from some videos like the adobe silly song came with the sample its laoding very slow and its laging i have tested other video and there are huge size but the work fine but some videos are lag i dont know that and i would like to find out but i guess its the video encoding setting like some videos i used adobe premier to encode them (video editing program) as the new one you can save the file direct to flash format(FLV) so i am still hapy that what i wanted is working and that i learned something form this guy,
polyGeek one last thing on my pc the video is not laging only the outside ppl and my so i guess is something to do with my pc or encoding my connection is 5mbps and i am using windows xp , pentuim d processor 3.0 ghz 1 gb 256 ati graphice do thing thats not enough? is that why is laging to other ppl i have tried 3 users at the same time and all the get very sligh lag and some more for ppl have low internet connection, and last i wana tell you is i went to this site to configure my router since in was different from yours totaly , and followed this guy instruction how to forward the router and every thing worked for me thanks to you.

comment number 19 by: ADE

the site is http://www.frequencycast.co.uk/homehubfaq.html#port for configuring my por

comment number 20 by: polygeek

@ADE, my first guess about the lagging would be that it’s your upload speed. You said that you have 5mb/sec download but your upload is probably less than 1meg/sec. Do a google search for “bandwidth test download” and you’ll get plenty of sites who can tell you what you’re upload speed is.

comment number 21 by: ADE

thanks for that i will check that.
PolyGeek just wonder, is it possible to connect your tv tuner card devise or a video to the flash media server 3 so you can stream live channel or live video player connected to your pc or any other devise just like what you did with the camra? Please

comment number 22 by: ADE

or live video recorded in my hard drive?
I mean i want to watch the video live wehn the user come to the site it should start wer it is not restatring the video every time like vod but i want it to play live just like any tv live streams channel.

comment number 23 by: polygeek

@ADE, I can’t speak to the legalities of doing such a thing other than to say, “it’s probably not”.

Technically I don’t see any problem with it. The incoming stream wouldn’t have anything to do with FMS. You would just be using some device/software to record a media file to a folder in the FMS Applications folder.

If you get it working let me know. I’d love to see it.

comment number 24 by: ADE

Ok PolyGeek I will.

comment number 25 by: tom

hey there polygeek. thanks alot for this tutorial!.
my problem is that i want to set up the FMS on a hosting server that i have already. i want to establish a webcam chat between x number of users. sorry for the bad english and thanx alot, tom from Israel.

comment number 26 by: polygeek

@Tom, if by hosting server you mean something that you pay to host your website then you’ll have to spend some $$$ and get an FMS host. It isn’t cheap. If it’s a machine that you physically have in your possession then you can install FMS, it runs around $1,000. Then you can do the rest yourself.

comment number 27 by: tom

the problem here in israel is that the upload stream is quit shitty, and if i install it on a my machine it will upload around 27kbps max :( i am looking for servers supporting fms here..it seems we don’t have any.

comment number 28 by: polygeek

@Tom, If you ask me that sounds like a market opportunity. :-)

comment number 29 by: oktav

aloha,
i got shity problems on my PC
well i have 2 OS instaled on my pc
1. windows xp profesional sp 1 – just for testing sone stuffs – and…surprise … it works
2. windows xp profesional sp 2 updated to sp 3 – a pc for development (note that i have nod32 anitivirus installed on it) but no aplication on FMS works.
The logs show me something like that:
2008-05-29 20:51:45 2432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4 -

2008-05-29 20:51:45 2432 (i)2581252 Registering core (3216). -

2008-05-29 20:51:46 2432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : 1935/v4 -

2008-05-29 20:51:52 2432 (i)2581252 Registering core (3760). -

2008-05-29 20:52:38 2432 (i)2581252 Registering core (2008). -

2008-05-29 20:56:53 2432 (i)2581250 Edge disconnected from core (3760). -

2008-05-29 20:56:56 2432 (i)2581250 Edge disconnected from core (3216). -

2008-05-29 20:56:56 2432 (i)2581250 Edge disconnected from core (2008).

I don’t get it :-?? HELP PLS

Best regards from Romania.

comment number 30 by: oktav

Uninstalling the nod32 resolved my problems ;) but … wtf…i have no antivirus now :D.

What antivirus do u recomand me ? or should i try nod 32 version 3 :-?

Anyway great tutorial :)

comment number 31 by: polygeek

@oktav, That’s some detailed logging you did there. Sorry, I don’t have anything to offer. I use McAfee anti-virus and haven’t had any problems with FMS3.

comment number 32 by: Frankie

It is the same process for live broadcast, I been trying for 3 days, can you give me a hand on this.

Thank you.

comment number 33 by: polygeek

@Frankie, sorry, I have zero experience with live broadcast. I feel for you because it isn’t the sort of thing that has much documentation.

comment number 34 by: Frankie

Thank you for your feedback,

I can see it locally only, but clients when they access true the web they get a connection error, thank you I will keep my search.

comment number 35 by: Kevin

I followed your tutorial perfectly and I can go everythng you did on your computer, but when I ask someone else to go to a test web pate I set up to try it, they can’t get it to load.

http://www.aweyeah.com/vod/vodtest.html
I modified the swf so it autoloads the correct address (too many problems getting people to type in the right address).. and like I said, I did the port forwarding and when I test it on my computer (going to my website online and doing what you could do if you go there) It runs fine. But if you try it, it does work?? I’ve tried firewall stuff and that doesn’t work either.

I’m asking about this becuase I have a client that could actually use this set up (they are not ready for full FMS hosting) They probably get 10 page views a month, but because they are 80MB files, they stutter and chop…so I suggested your solution, only now I look like I’m lame… have you tried your solution on someone elses box from a different IP (not on your own network)?

Also, I went into the server and tried to reset it so that it runs from the network but that doesn’t work either.


[...] of all, you can view a decent tutorial by Dan Florio on how to set things up. The only problem with the tutorial is his explaination of the folder [...]

comment number 37 by: Kevin

Ok, I found out what the problem is. I explained it on my blog… http://sdflex.org/blog/air/flash-media-server-3

comment number 38 by: Jonas Kucinki

I would like to know what is going wrong with my tries. I’ve been trying to do live stream with Flash Media Encoder 2.5, but i cant conect to the server with it. It ask’s about my Username end my Password, i put them right but doesn’t not work. Comes, there is no such user. But i’ve been putting the username from login of server and password fron the server… …Thank’s for now.

comment number 39 by: polygeek

@Jonas, I’m sorry I can’t help. I’ve never done anything with live streaming.

comment number 40 by: Jonas Kucinki

Ok than, thank’s anyway.

comment number 41 by: Jonas Kucinki

Ohh,

where could i get this information?

comment number 42 by: polygeek

@Jonas, aside from searching for “FMS live streaming tutorial” I can’t think of anything. I don’t even know anyone who has set up live streaming before. And I haven’t found a tutorial at Adobe about it either. I think they sort of skipped over that bit.

comment number 43 by: Jonas Kucinki

Ok, thank’s. To tell you the truth, i’ve already did my connection, the problem is other now. I’ve connected, i’m sending i live signal, but i cant get it from there. Something is wrong with the path tha i’ve put to the player to get the ive streaming. It is not getting the signal. It doesn’t connect to what i’m sending to the FMS.

comment number 44 by: sooraj

Hi, I am in a deep trouble.I had made a video player, and that streams FLV files from a Flash Media Server.When I put the videos in the application folder(VOD) the player is working.But I want to know that what should I do to get the videos from a mapped networkdrive.Because all of my recorded videos are nw in a networkdrive.
Please help me?

comment number 45 by: polygeek

@sorraj, first off congratulations on getting the streaming working at all. You can tell from the number of comments that a lot of people have problems with it.

As for your problem, you’ll have to find some way to either put those video files in your VOD folder, or some other folder under the ‘applications’ folder or you’re going to have to make Flash Media Server think that those files are there by creating some sort of virtual folder to the location of where the video files are.

I don’t know which OS you’re working on and I don’t know much about networks anyway so I can’t help you with that part. This might be a good question for some wiz-bang IT networking guru.

good luck.

comment number 46 by: sooraj

Thanks for your reply.I should inform you when I got a solution.

Thanks


[...] For info on installing FMS, check out this video tutorial by Polygeek: http://polygeek.com/501_video-tutorial_video-tutorial-installing-flash-media-server-3 [...]

comment number 48 by: dave

Hi,

This is a great tutorial, however I tried to set up the polygeek folder as per the example -

applications/polygeek/streams/_definst_/test.flv

When I put this path into flash all I get is the buffer bar.

Don’t you need to add the main.asc file?

I can copy the vod folder and rename it and this works.

What am I doing worng?

Thanks mister geek.

comment number 49 by: polygeek

@Dave, not sure what’s wrong there. FMS is pretty finicky. But basically, if copying the vod folder and renaming it works for you then just go with it. And apparently the main.asc isn’t a necessity because I’ve never created one.

Honesly, if I had to get FMS up and running again I’d have to watch my own tutorial. I’m just thankful it works and does what I need it to. :-)

comment number 50 by: dave

Hi Mister Geek,

I fixed it, the path should be as you have it but you need the main.asc file in the the application name folder.

So it needs to be like this -

applications/polygeek/streams/_definst_/test.flv

and in the Polygeek folder you must put the main.asc file.

Thanks,
Dave.

comment number 51 by: polygeek

@Dave, thanks for clearing that up. I think what I did in the past is copy the VOD folder and then rename it. So the main.asc came with it and I didn’t even notice.

comment number 52 by: glenview

Hi Polygeek , you are great teacher ,because of you i m able to stream my video first time however,
I have Flash Media Server installed and using it as vod and it works fine.
Only when I stream a movie on HD, I see on my player that the stream needs to load very often, althoug my bandwidth on the server is a 5 Gbit line, and my connection is 4Mbit connection.

thanks

comment number 53 by: polygeek

@glenview, it’s hard to say what the problem is but from what you describe it certainly sounds like a bandwidth issue somewhere. First I’d try and find an HD video that has a low kb/sec. Just because it’s HD doesn’t mean the video has to be a bandwidth hog.

If that plays fine then you know that it has nothing to do with the fact that the video is in H.264 format.

Then I’d check my bandwidth on both the server and your connection. Just because you have a 4Mb connection doesn’t mean that you always get to use that much bandwidth.

If you want you can email me a link and I’ll test here for you. You can reach me through the contact link at the top of the page.

good luck

comment number 54 by: tully

Hi Polygeek
Thanks a lot for your video instruction about FMS3, i m experimenting my video to my patient however my streaming is not start right away as their should be ? it take long for buffering how can i improve it , my link http://www.drmaihuy.com/ please help.

comment number 55 by: polygeek

@tully, I checked it here and it seemed to start up and play with no problems. There wasn’t more than a 2-3 second lag before the video began playing. This might be a local Internet connection issue. Ask your friends to test for you and see what experience they have.

comment number 56 by: tully

Hi again, thanks for reply so quick, i dont know much about action script , i looking some premake template for streaming with fms3 , easy to use. please let me know where can i buy or download
thanks again

comment number 57 by: polygeek

@tully, you could try videoMaru.com.

comment number 58 by: Steven

I followed all the steps in the tutorial and this is the errors I am getting: I also i get the same error locally:

rtmp://localhost/test/falls.flv

rtmp://blackboard0.occnt.ad/test/falls.flv

error:

The webpage cannot be displayed

Most likely cause:
Some content or files on this webpage require a program that you don’t have installed.

I am not sure what i might be doing wrong.

Steven

comment number 59 by: polygeek

@Steven, That’s a hard one. I don’t remember seeing those errors before. It may not be a FMS error. I’d suggest trying to get the default videos running that come with FMS. Then try and get one of your working.

I feel your pain. I spent many an hour messing with this myself.

comment number 60 by: KDX200

I am have my website on oneandone.com’s servers and I am trying to place my flash website with flash videos on it. Do I have to have the flash media server installed on the server to play these videos? When I place the .FLV on the server along with the website .swf and index.html the skin .swf I get nothing but the player searching. The site works fine just the player doesn’t play. Any suggestions? Thanks, KDX200

comment number 61 by: polygeek

@KDX200, You won’t be able to install FMS on the 1and1 servers. If you want to stream videos you’ll have to find a host that does that for you. It ain’t cheap.

But, you can play your videos progressively off of the 1and1 servers. You can learn more about creating a Flash video player at videoMaru.com.

comment number 62 by: alberto

Hi polyGeek
Thanks for your tutorial.
I have installed the FMS 3 on my Windows 2003 server online. On my workstation I have installed Flash Media Encoder 2.5
I try to connect my FME 2.5 to my server FMS 3 but I receive this error

Wed Oct 15 2008 13:33:16 : Primary – [ AccessManager.Reject ] : [ authmod=adobe ] : ?reason=needauth&user=utente01&salt=nAYAAA==&challenge=2XAAAA==&opaque=2XAAAA==

And I can not stream from my Encoder.

I have tryed to use this settings
FMS URL = rtmp://xxx.xxx.xxx.xxx/live

and

FMS URL = rtmp://xxx.xxx.xxx.xxx:1935/live

I Access to login and after insert my username and password the connection fail.
(the server firewall is open on 1935 port and 1111 port)

You have a suggestion ?

I very appreciate your help.
Regards

comment number 63 by: polygeek

@alberto, off hand I don’t know what to say. I’m not even sure the error is with FMS/FME or even with IIS. Sorry, hope you find the solution.

comment number 64 by: alberto

I polygeek
thanks for your reply,
I solve this. The problem come from the antivirus NOD32. After disabled the service IMON from antivirus all work fine.

I have another question, but I dont want to be OT, soo if i am wrong, sorry, and delete my comment.
I would be able to stream movies at certain time (eg: 2:10AM, 2:30AM … like TV schedule):
this is possible with flash media server?
Ciao
Cheers


[...] need Flash Media Server 3 running on your machine. If you don’t already then I have a video tutorial that covers the installation and setup. It’s very easy, when it works. When it doesn’t it’s a real pain in the rear [...]

comment number 66 by: alberto

Hi
I have installed the Flash Media Server 3, and it is running well.
How to stream the movies by time ? I have to establish this from a server or from a playlist ?
Thanks
Cheers

comment number 67 by: polygeek

@Alberto, I’m not sure what you mean by “stream by name”. If you have an Application in FMS with this folder structure:

C:\Program Files\Adobe\Flash Media Server 3\applications\polygeek\streams\_definst_

And a video file with the name: “delivery.flv” then you would play the video by playing the stream:

“http://myServer/polygeek/delivery”

Without the .FLV extension.

Depending on how you have things set up with your router and port-forwarding you may need to add the FMS port to the path like this:

“http://myServer:1935/polygeek/delivery”

Does that make since?

comment number 68 by: alberto

Hi poligeek
I want that my movie (demo1.flv) start every day at 10:30AM, and then when is finisched start the movie demo2.flv (eg at 11:00AM) …
So if I enter on the page, (eg at 11:15AM) I see the movie demo2.flv already started.
Cheers

comment number 69 by: polygeek

@alberto, sure, that’s doable. You’re going to have some fun converting timezones and such for users around the world. You’ll just have to adjust the videoWindow.playheadTime on startup.

comment number 70 by: alberto

Hi poligeek
thanks for your support.
Please give me the directions to do this. Can I do this from a playlist ?
Can you write a small example ?
Cheers
Alberto

comment number 71 by: polygeek

@alberto, This is what I do for a living. I’m more than happy to give you advice but I can’t do it for you.

comment number 72 by: idefix

Hi, polygeek :)
I have a problem I’m trying to figure out for some time now. Please give me a hint if you know the answer. I want my recorded videos to be stored in a different folder. For example: My application path is c:\Program files\Adobe\Flash Media Server\applications\app_1\ and when i record a video it goes in this folder in streams\recordings\. But I want them to be in lets say d:\apache\htdocs\. I’m currently moving it after closing the stream with php script, but i want to know if there’s a way to make the media server save it straight there? I’ll be really heappy if you can help me with this. 10x in advance. Have a nice day ;)

comment number 73 by: polygeek

@idefix, I believe you can do what you’re asking but I haven’t actually done it myself. Take a look at the Vhost.xml file, located in the folder: C:\Program Files\Adobe\Flash Media Server 3\conf\_defaultRoot_\_defaultVHost_

I believe that by editing that file you can place an “application” folder anywhere you need to. Let me know if you get it to working.

comment number 74 by: idefix

Hi, polygeek. I checked that one out. Theres actually a parameter there for the applications path. You can set it there or you can set it in C:\Program Files\Adobe\Flash Media Server 3\conf\fms.ini (Vhost.xml takes it from there). It will pretty much work out for me. But I’m wondering now if there’s a way to make each application save it streams in different folder. I saw something in C:\Program Files\Adobe\Flash Media Server 3\applications\vod\ application. There’s a file there called “Application.xml”. In it there’s these lines of code :

/;${VOD_DIR}

I think it sets where to save the streams from this application. I tried to make a file like this one in my app’s folder but nothing happened. Do you have any info about that one?

comment number 75 by: idefix

It didn’t show the tags: this line i pasted is in a Streams tag. And above it says in a comment: Specifies application specific virtual directory mapping for recorded streams.

comment number 76 by: polygeek

@idefix, sorry. You’re the expert on this topic now. :) One suggestion, there’s a Book/PDF from O’Reilly called “Flash Media Server 3″. That’s where I found out about the Vhost.xml stuff. But I haven’t actually read that chapter yet.

comment number 77 by: ryan hungate

Hey there… I must be stupid but I can not seem to get this to work with windows vista. I am using a D-Link Router, and am cofiguring just like your video says, but I cant even get the file to play locally with my ip address. (using the standard video component and inspector to call the rtmp://bla bla. Any suggestions with vista?

comment number 78 by: polyGeek

@Ryan, well, there's the obvious suggestion: don't use Vista. :) But since that's probably not a realistic option try opening up the FMS Administration Console. Check to see if you're getting a connection to FMS when you try and play a video. If not then there's a problem with the path/router or something like that. If there is a connection then it's probably something in your Actionscript that's off.

Another suggestion: try to work on this in blocks of 15-30 minutes and then just give up. I've found myself that when I have issues like this that I figure out the solution when I'm not actually working on it.

comment number 79 by: Kev Broughton

hello i am trying to create a live feed, direct onto the server.

The streaming is working fine, i am using flash media encoder to stream directly to the media server, and if you go into http://72.232.117.58/ then click interact, in the play box place etv1 you will notice that i am streaming to the server, and i can view directly in a small screen via the media sever webroot page.

However i would lke to embed this streaming media onto a html, so can you recommend a media player that would embed this live stream onto a webpage?

I have tried several already but when i publish all i get is a blank media player with no stream loaded.

i am using the following link rtmp://72.232.117.58/live/etv1

is that wrong, or if the link is right what am i doing wrong

Thanks in advance for your help

comment number 80 by: Kev Broughton

just adding to my previous post above i have manged to get the stream working on flv player but how do i embed it onto media?

comment number 81 by: polyGeek

@Kev, Are you using the Flash IDE to publish? If that's the case then you'll get an HTML file and swf, and maybe a .js file – I don't use the Flash IDE anymore so I'm not sure. Anyhow, the HTML page has the <object><embed> code that you need to use to add your SWF to any page. Just copy/paste that into your webpage.

comment number 82 by: Kev Broughton

can you please give me the embed link for any flash media player for rtmp://72.232.117.58/live/etv1

thankyou

comment number 83 by: polyGeek

@kev, I'll email you and see if I can figure out how to help.

comment number 84 by: Mark

Dear All.

I have a problem i wil be glad to have someone help me out. I installed FMSS3 on my window vista. Both LIVE & VOD works fine only on this my vista laptop but never in another computer. Which mean i can see my live and vod via internet but never possible with another computer. I always get video Error 1000- unable to connect to server or to find flv on server. I tried to open all my possible ports 1935, 80,443. still no luck.

I then changed the my FMSS3 server to another XP computer in my home. Encorder installed in my vista can connect to my home ip. But the problem is now reverse. I connect my camera to my vista with encorder 2.5. i can connect to my xp and access my fmss3 but only my xp computer that i can access the internet and view my life applications. No luck on any other computer even my vista.

I also noticed that if i use my other wireless connection device i can connect to my fmss3 server when it was installed on my vista. But if i tried to connect with it to my home ip address it does work.

But with my home wireless network which have different ip from my vista and xp but are feed from the router then i can connect from my vista to my xp. But with another wireless device i cannot access my fmss3 installed on my xp. The other wireless devive is installed on my vista.

Can anyone help me out pls. Or should i contact my isp provider?

Thanks in advance

comment number 85 by: polyGeek

@Mark, this is just a shot in the dark and it's the simplest thing to try: append the FMS port to the IP address. For instance, instead of rtmp://12.13.14.15/Live try rtmp://12.13.14.15:1935/Live.

comment number 86 by: Mark

Thanks for your urgent responds. I tried it but i still cannot connect from another computer. I can view it with my vista connected to internet.

Do you think the problem could a liences one? I bought an American liences and am using it in Switzerland. Maybe the liences dont work out america.

I have this product now for 4 months and till now i still could use it.

Some say it could be a proxy problem

Thanks

comment number 87 by: polyGeek

@Mark, I don't think it's a license issue. To my knowledge the only feature that is affected by an unlicensed version is the number of simultaneous users – 10. So even if there were some license issue everything should still work as expected.

I don't know much/anything about proxies. It would be a good idea to contact your ISP and see if there are any ports that they block. Who knows.

comment number 88 by: joe

Hey polygeek, i installed FMS 3.5 on my server and i need someone to teach me all of these features. I am willing to pay etc. So far i have got Live Streams to work on my website. But i have a couple things i want to learn. Please email me back at the email in this post. thanks

comment number 89 by: polyGeek

@Joe, you may know about as much as I do about FMS. But I'll drop you a line anyway.

comment number 90 by: paktua

dear polygeek,

can i catch several webcam in once? what i mean is can il make like video conference using flex? example there 5 user online, so it will get 5 different webcam and show it in one page.

thank you,

paktua

comment number 91 by: polyGeek

@paktua, there is practically no limit on how many displays a Flex app could display. It's all going to be up to the bandwidth of the user.

The big issue is getting the video stream from the webcam out to the Internet. I've set that up before using Flash Media Encoder and Flash Media Server. Stay tuned – probably this summer – and I'll have some video tutorials out on how to set that up.

comment number 92 by: Shreyas

Folks,

I wanted to know the difference between FMS 3.0 way of Ad serving and FMS 3.5 way of doing the Ad serving.

Regards,

Shrey

comment number 93 by: polyGeek

@Shreyas, sorry. I've never done anything with FMS add serving.

comment number 94 by: Afridi

Hello,

can any body tell me how can I run my prochatroom cam module on Flash media server. I tried my best but waste two consecutive days invain.

also confused in rtmp address.

I would really thank if some one tell me step by step instruction!

Afridi

comment number 95 by: topafridi

Red5 or Flash server can be used for streaming videos and live cameras supports.

comment number 96 by: Saha

7Hi man,

Thanks God…

You are wonderfully helpful!

it was a problem looking for answer many hours. when i visit your website, i found the answer within a second.

for supporting you, I just clicked a few times on your advertisements, in your website.

Thanks.

comment number 97 by: polyGeek

@Saha, another satisfied customer. Thanks for the clicks!

comment number 98 by: Keith

I tried to setup my FMS 3.0 but I found that the setup, together with the client program do not work well, It took me over 40 seconds to start streaming via the proxy server installed for providing Internet access functions. Would you mind give me some hints if I miss anything out?

comment number 99 by: Register Domains

I have a problem i wil be glad to have someone help me out. I installed FMSS3 on my window vista. Both LIVE & VOD works fine only on this my vista laptop but never in another computer. Which mean i can see my live and vod via internet but never possible with another computer. I always get video Error 1000- unable to connect to server or to find flv on server. I tried to open all my possible ports 1935, 80,443. still no luck.

comment number 100 by: Adam

Thanks for the great FMS tutorials!

I'm using you polyCamRecorder.fla version on a site I'm working on and have run into a couple of (minor) issues which have me stumped…

First – to be clear – when running it on my development server with server string (set in swf) as 'localhost' OR '192.168.0.1' everything is fine.

When accessing it from another PC on my local network (say 192.168.0.2) neither option works :(

I've checked that my development server is listening on port 1935 (it is). But nothing's happening.

If you could list any possible causes – I can go through and bug check. Thanks again for the wonderful resources and (I hope) help ;)

Adam

comment number 101 by: polygeek

@Adam, sorry. You got me stumped as well. The good news is that it’s probably something simple. Good luck finding it. I’ve worked through more of these issues than I care to remember. In fact I don’t remember most of them so I have to do it over again. :(

comment number 102 by: andy bell

HEllo, great stuff here-

I am new to FME and FMS, I have FMS 3 installed and running.

I then load FME 3.5 and see my webcam, click stream, click CONNECT – this is he probelm for me. A username/password gui pops up, and when I type in my username and password for FMS (which is running), I get 'user not found' – ???

my username is admin, and my password is password in FMS, what am I missing?

Any help would be greatly appreciated.

Andy

comment number 103 by: polyGeek

@andy, I haven't used FME in ages but I don't remember getting a username/password request. If you do I'm not sure that it would be related to FMS. Try looking in the FME settings.

comment number 104 by: andy bell

yeah, fms seems ok – I can even make a flash file, start it up, and see that it is connecting in fms – but no picture. But, wehn I try hitting 'connect' in FME, I get the user/password gui with no luck entering same as FMS. I've tried on two computers, same thing. I'm missing something big here, but not sure. Do I need to be running any other software besides FME and FMS? like miscrosoft server or apache? Thanks in advance -

andy

comment number 105 by: polygeek

@Andy, You don’t need to be running anything else. I have no idea why it’s asking for a user/pass. I’ll tweet about it and see if anyone else knows.

comment number 106 by: andy bell

Yeah, it's odd and I appreciate any help -

here is a link to a screen cap showing the gui when I click 'connect' in fme

http://www.kamikazeclub.com/bellvid/password.jpg

this does this on my xp machine and my vista the same.

thanks again!

andy

comment number 107 by: andy bell

um, I figured it out – you shuldnt install the authenticator thingy –

I uninstalled that and everything works – yea!

thanks again-

andy

comment number 108 by: Rafael Biriba

the flash player can store the video before sending to the server?

comment number 109 by: Rafael Biriba

the connection speed is connected directly to the video quality? a bad connection, cause a bad recorded video?

comment number 110 by: polygeek

@Rafael, The Flash Player can buffer the video but I don’t think it’s possible to force the video to be saved to the user’s hard drive before playing it. You would need an AIR app for that.

comment number 111 by: polygeek

@Rafael, Are you talking about recording a webcam? Then yes, the users upload speed is going to impact the quality of the video.

comment number 112 by: Rafael Biriba

I am developing a personal project called retivico.com .. The idea is to capture images from a webcam, sending to a flash media server, but at least with a reasonable quality. I must find a way to receive the video in good quality without the interference of the speed connection… Do you know any existent project like this ?

comment number 113 by: polyGeek

@Rafael, I think an AIR app might be the only solution. I can't remember where but I did read about someone capturing the video stream from a webcam and saving it to the hard drive using an AIR app. If you did that then you would then be able to upload the video file. So maybe you could have your web app that works but with low quality video. Then advertise your AIR app there for users who want to install it and get better video quality. Would that work?

comment number 114 by: Rafael Biriba

I don't know… Maybe I will use flash, and create one way to show a quality bar, calculating the user connection speed. For example, If 300 kbps it is a good video bitrate, if the user have more than 300 kbps of upload, so a pointer will move to the green side of the quality bar… Can you understand ?

comment number 115 by: dan

Hey Polygeek,

great tutorial, helped me alot – I might add that many of the peeps with connection issues als check their windows firewall settings which was where I got stuck fo a bit.

Is there a way to play an instance name using videomaru? For example I would like to stream webcam to FMS server and use videomaru to play the stream LIVE. I've been trying to use rtmp://servername/live/Instance_name but figure Im probably way off track. Any help or suggestions.

Many thanks

comment number 116 by: Edwin

What is FMS(Flash Media Server) Testing and Types of Testing?

comment number 117 by: polygeek

@Edwin, errr? Sorry. I don’t understand the question.

comment number 118 by: Parham Rajabi

Hello, I am trying to build a website where people once they enter the site and ofcourse hitting a button, they can connect to each other. so 2 webcam screens on the screen, one of them will be 1st user, 2nd one will be 2nd user that has visited the site or in general random if there are 10,000 visitors. I was wondering if you could help me with building something like this? I also need help with other stuff but you seem knowledgable and would be perfect for my project. Please let me know if you would be interested in helping, I have a budget of $2,000 or more possibly depending on complexity. I need this done ASAP, please email me as soon as possible so we can start!

comment number 119 by: polygeek

@Parham, I’m sorry. I’m booked up right now with work.

comment number 120 by: rustymace

What about Live stream.. Ive been tring using cs4 and flash encoder but the steps for vod dont work for the live

comment number 121 by: Delevop

Hello, thank you for the tutorial.

I have a question about audio, with a webcam with an in-built mic everything works fine, but if I want to use an external mic, what should I change in a general view.

Thank you very much.

comment number 122 by: polyGeek

@Delevop, I really have no idea. I don't think Flash will know if the mic is internal or external. I just knows if something is attached. I know that you can read from multiple webcams at the same time. Maybe the same is true of mics.

comment number 123 by: jeff

hey how do i protect my server it seens that anyone can stream anything on it i want to know how to do that

comment number 124 by: polyGeek

I don't understand what you're asking.

comment number 125 by: snehal

Hi, I learned a lot from your tutorial.I have made application to record webcam.and I put it on my server.I dnt understand where recording will be saved?it works fine at localhost and I get recording also when I run application on localhost.

I gave my ip address ,I did port forwarding.It runs fine from any machine but I dnt get the recording which should be saved.

comment number 126 by: polygeek

@snehal, That’s a good question. I don’t know anything about your server setup so it’s hard to say where the files will be saved to. If it’s a managed server I’d suggest contacting the host and asking them where the files will be. Better yet, there is a configuration file – not sure which one – that you can edit and change the location of where the files get saved to. I had a client who did something like that. Search around and I’m sure you’ll find it.

comment number 127 by: snehal

Ok.Thank you.I followed the tutorial.

After doing port forwarding and giving my router's ip address instead of localhost(and 192.168.1.19), I tried to play sample videos and I didnt get anything.(which i had got when testing for localhost) .

And about video recording I tried from my friends PC,the application was run perfectly but didnt get the data saved.Can I say that my ports working fine?cause from other's pc its running.could you please check

webpage.pace.edu/sm20916n/take_picture.html

comment number 128 by: snehal

solved the problem…done it..some server issue…thank you..

you are really great…

   Welcome back (Change)

Leave a Reply

comment feed RSS   subscribe to this comment thread

Recent Posts

   



polyGeek.com

© Copyright 2008 polyGeek.com / Dan Florio, All Rights Reserved Except Where Explicitly Stated
Web Developement Blogs - Blog Catalog Blog Directory
M2 Websites
Local Directory for Los Angeles, CA

Better Tag Cloud