FMS re-stream
Hi,
I need to stream a popular TV chanel in my country (probably using FMS).
They are considering use of Niagara Pro II (http://www.viewcast.com/products/niagara-pro2/) capture device. From the spec of the device i can see that it streams Adobe Flash Live and H.264 .
So my question is how can FMS "re-stream" the source from this device .
I am complete novice in streaming, so please forgive me if my question is not detailed enough.
You have two options here, you can try to take advantage of the edge/origin configuration of FMS which will require some reading through in the docs and then a proper setup in the player side of things, or you can code that up on the server side. Being that you're not a coder, I would guess the second option isn't an option, but keeping in mind the first option still requires effort to understand how FMS works in the origin/edge configuration and how to connect up to an edge etc.
The first option is quite reliable and should work seamlessly, it's recommended if all you are doing is streaming.
The second option is required if you have anything more than just streaming video, as you'll need to have communication of data going back and forth between servers. Here is a very basic tutorial on that concept in case this is the direction you may want to go or those that find this thread may want to go: Tutorial #41: The basics of connecting one server to another for FMS
There is a lot of information on Adobe's devnet site and the documentation that comes with FMS is top notch, well worth reading through.
Similar Messages
-
Can someone please advise on how to create a timeout to a FMS
Live stream when using the FLVPlayback component in Flash. The
FLVPlayback connects to a FMS Live stream that takes a live feed
from a webcam, in order to preserve clients bandwidth, what would
be the best, most reliable way of creating a timeout and
disconnecting the live stream after a set period of say 30 minutes
to stop clients leaving the stream permanently connected - server
side on FMS (how?) or in the .swf or using code in the web page
containing the .swf object.
Many thanks.Can't you just create a timer in the client player and then
disconnect the user when it hits 30 mins? -
Hi,
We recently encountered a very strange issue that we urgently need help:
With FMS 3.5, we created a new live application according to relevant documentations. Within this application (main.asc), on periodically basis (e.g. 45 seconds), we use Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true) to (potentially) switch between different live feeds published by different FMLE. All work like charm except one annoying/important issue: sometimes (but not always), after a server-side call of Stream.play, we see severe stuttering/choppy video from flash client player.
Any help that will lead to the resolution of the problem will be greatly appreciated!
Some background information:
1. All testing were done within LAN environment with just a few machines which mean loads were very low; so we can rule out bandwidth insufficiency issue. Also CPU usages were low across all computers involved.
2. The stuttering and choppyness occurs with the 'liveBroadcastStream', not with the source stream which is 'liveFeedFromFMLE'. In other words, we used flash player to check out the source stream, and it looked fine.
3. When the video was jerky, the accompanying audio sounded OK.
4. We tried to set the flash client buffer length to be 15 seconds, and it did not help.
5. The stuttering occurs immediately after the Stream.play function call.
6. The described sympton occurs quite often, but not always. We were not able to identify the exact cause. It does not seem to show any easy clue.
7. In the repro case, we called Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true) every 45 seconds with no parameter changes.
Again, we are urgently waiting for professional help!
Regards.
XiaohaiThanks for your info. We are desparate for any help that we can get. We will do as you said, but it is a semi-production scenario and we are not allowed to set up debugging scenarios often.
We have spent tremendous amount of time trying to flush out the issue with no luck. What really frustrated us is that our application scenario is really simple, and yet it won't work as expected. We have downgraded to FMS 3.0.1 and it performs a bit better than 3.5. We have issue with 3.0.1 too. The stuttering video is still there, but player recovers eventually. That is the best we can get so far. As we investigate more, we become more convinced that FMS's stability is not up to production quality (sorry).
I simplified our application to the following and it is still problematic (pseudo codes):
Prerequisite: stream 'liveStream1' and 'liveStream2' published from to FMLE
FMS server side codes (pseudo codes):
function onPeriodicalCall ()
if (application.currentStream == 'liveStream1')
applicatin.currentStream = 'liveStream2')
else
application.currentStream = 'liveStream1'
Stream.get('liveBroadCast').play(application.currentStream, -1, -1, true);
application.onStart = function () {
setInterval (120, onPeriodicalCall);
With the above codes, the players shows stuttering video with each .play call. And sometimes, clients even could not play anything. When client can not play anything, we found it correlates to netstream not getting into data start mode (e.g. normally unpublish, stop, publish, start, but sometimes it only gives unpublish stop publish, thus lacking 'start'). -
Hi,
We recently encountered a very strange issue that we urgently need help:
With FMS 3.5, we created a new live application according to relevant documentations. Within this application (main.asc), on periodically basis (e.g. 45 seconds), we use Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true) to (potentially) switch between different live feeds published by different FMLE. All work like charm except one annoying/important issue: sometimes (but not always), after a server-side call of Stream.play, we see severe stuttering/choppy video from flash client player.
Any help that will lead to the resolution of the problem will be greatly appreciated!
Some background information:
1. All testing were done within LAN environment with just a few machines which mean loads were very low; so we can rule out bandwidth insufficiency issue. Also CPU usages were low across all computers involved.
2. The stuttering and choppyness occurs with the 'liveBroadcastStream', not with the source stream which is 'liveFeedFromFMLE'. In other words, we used flash player to check out the source stream, and it looked fine.
3. When the video was jerky, the accompanying audio sounded OK.
4. We tried to set the flash client buffer length to be 15 seconds, and it did not help.
5. The stuttering occurs immediately after the Stream.play function call.
6. The described sympton occurs quite often, but not always. We were not able to identify the exact cause. It does not seem to show any easy clue.
7. In the repro case, we called Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true) every 45 seconds with no parameter changes.
Again, we are urgently waiting for professional help!
Regards.
XiaohaiThanks for your info. We are desparate for any help that we can get. We will do as you said, but it is a semi-production scenario and we are not allowed to set up debugging scenarios often.
We have spent tremendous amount of time trying to flush out the issue with no luck. What really frustrated us is that our application scenario is really simple, and yet it won't work as expected. We have downgraded to FMS 3.0.1 and it performs a bit better than 3.5. We have issue with 3.0.1 too. The stuttering video is still there, but player recovers eventually. That is the best we can get so far. As we investigate more, we become more convinced that FMS's stability is not up to production quality (sorry).
I simplified our application to the following and it is still problematic (pseudo codes):
Prerequisite: stream 'liveStream1' and 'liveStream2' published from to FMLE
FMS server side codes (pseudo codes):
function onPeriodicalCall ()
if (application.currentStream == 'liveStream1')
applicatin.currentStream = 'liveStream2')
else
application.currentStream = 'liveStream1'
Stream.get('liveBroadCast').play(application.currentStream, -1, -1, true);
application.onStart = function () {
setInterval (120, onPeriodicalCall);
With the above codes, the players shows stuttering video with each .play call. And sometimes, clients even could not play anything. When client can not play anything, we found it correlates to netstream not getting into data start mode (e.g. normally unpublish, stop, publish, start, but sometimes it only gives unpublish stop publish, thus lacking 'start'). -
Hello,
We are using the dev version of FMS and have run into a
strnge condition. Our application streams multiple flvs in series
to provide a training scenario. During the playback of the flvs the
stream just stops and the server shows no connections. This happens
right in the middle of the stream. The oddest part about this is
that it will ALWAYS stop at 6 minutes and 33 seconds no matter what
flvs are playing.
Is there a time limit of playback in conjunction with the 10
client limit in the dev version of FMS? We are running Macromedia
Flash Media Server 2.0.2 r5.
Thanks,
BradAFAIK, there are no limitations on the dev edition other than
a 10 user limit.
The thing about the connection getting droped at the same
playhead time (regardless of what video file it is) is an odd one
that I've never come across before. I'm just guessing at this
point, but is there any data embedded in the video files (as would
be recorded from a netstream.send event)?
Do the logs tell you anything? Perhaps an error message just
before the client is disconnected? Also, what happens if more than
one user is connected to the instance? Does everyone get
disconnected, or just the user who has reached 6:33 in the
stream? -
FMS; multicast streaming from Digital Rapids
Has anyone had experience configuring multicast streaming from Digital Rapids encoders to an FMS 4.5 server? I can stream RTMP to the FMS server and access the video with an embedded Flash player easily enough, but I'm interested in setting up the FMS to allow clients to access a multicast stream. Most Adobe support documentation refers to Adobe Media Encoder Live for the multicast connection configs, not necessarily non-Adobe encoders, so I'm missing a step or two.
Thanks,
HughFollowing is the link to setup multicast streaming:
http://help.adobe.com/en_US/flashmediaserver/devguide/WS7812b00092aae0 dc-2829dcd012a54a3ed1a-8000.html
Instead of publishing from Flash Media Live Encoder, you can publish from DR Encoder by making an "rtmp" connection to the "multicast" app on the AMS server and then start publishing to that app from the encoder using the "Publish Stream Name" generated by Multicast Config Tool. -
FMS 3 streaming Live with a 3 sec delay
Hi,
I have a console created that has up to 8 Video Consoles, one
main one and 7 small ones.
4 are on a Gig LAN so there are only slight delays.
One is in Moscow with a 2 mb lan, and using Flash Media
Encoder in the Moscow Office and the FMS 3 server is in Ireland.
the FMS Server is on a dedicated Windows 2003 Server with 4 gb Ram
and 500 gb Hard drive and is used for nothing else.
Even with the Flash Media Encoder settings for the Logitiech
9000 webcam set to 200 kb per sec, no Audio and 15 fps, there is
still a 3 second Video delay.
The video is more important than the Audio as we can use
Teleconferencing for the Audio, but is there anyway I can improve
the Video stream speed please?To increase server performance, FMS 3 comes up with Aggregate
Messages(new feature) set to enabled in Application.xml. This might
introduce a choppy experience when NetStream buffer on client side
is very small.
Assuming that it might be the real cause in this case, the
fix includes:
- Increasing NetStream buffer on client side to a suitably
higher value (1-5 seconds or more).
- (when delay due to buffering is undesirable) Modifying
Application.xml to disable Aggregate messages/publisher queues. -
How can i configure FMS to stream h263/4 with mp3 videos?
Hi,
I have installed Flash media server 3.5, and i have put my vod files under
'C:\Program Files\Adobe\Flash Media Server 3.5\applications\vod\media'
the sample file under this folder given by fms 'sample.flv' is playing fine, (this has VP6 as video codec, mp3 as audio)
"rtmp://my_SYSTEM_IP/vod/sampl"
where i have kept my own file called 09.flv which has H263/mp3, and one more 09_1.flv, which has H264/mp3. But both of the files are not streming. When i tried to play these over vlc it sayes file not found.
But sample video plays.
Is there any way to make work vod files to stream? please help...
ThanksHi all,
Thanks for the answer.
as i said, i can play the VP6 codec files like this
rtmp://MY_SYSTEM_IP/vod/filename
but if the file has h264/h263 codec then
rtmp://MY_SYSTEM_IP/vod/filename
will not stream at all.
Also i tried streaming mp3 files
rtmp://MY_SYSTEM_IP/vod/mp3:filenam.mp3
and this does not stream. but
"rtmp://MY_SYSTEM_IP/vod/mp3:filenam.flv" works how come?
When tried of avi, mpeg, mp4, mov files,
"rtmp://MY_SYSTEM_IP/vod/mp4:sample.mpeg", "rtmp://MY_SYSTEM_IP/vod/mpeg:sample.mpeg",
"rtmp://MY_SYSTEM_IP/vod/mp4:sample.mp4",
"rtmp://MY_SYSTEM_IP/vod/mp4:sample.avi" or "rtmp://MY_SYSTEM_IP/vod/avi:sample.avi"
does not work.
Please help. According to the documentation, http://http://www.adobe.com/devnet/flashmediaserver/articles/beginner_vod_fm3.html
both of flv formats VP6, H264 should work. But i am unable to get this work done.
Does anybody tried streaming H264 vod files?
Please help.
Thanks -
Fms live stream server stops sending data around 4+hrs
Hi,
I am having some issues with fms servers livestream connection. My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs. I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server. Are there any other that client needs to send back to server? It would be greatly appreciated for any pointers and help. Thanks.Updates:
An interesting observation is that the server stops transmitting data when server-to-client bytes reaches ~4G. The number sounds too much like a system resource limitation. It is a live stream and it is not being recorded so I am not sure where is the 4G limitation coming from. FLVCACHE_MAXSIZE is for recorded stream, I think, and it is set to the default 500MB.
Also, in the access log the check point for connect-continue and play-continue keep showing status of 100, which is supposed to be "Waiting for the application to authenticate.". Is this correct? The connection is successfully connected and play command is successful as shown in the access log. swfVerification is disabled in application.xnl. what does the server waiting for in respect to authentication?
Below is the log:
connect-continue
session
2012-03-22
01:51:24
Eastern Daylight Time
10.200.4.224
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
0
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
file:///mac.html
play-continue
stream
2012-03-22
01:51:24
Eastern Daylight Time
livestream
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
18044
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
livestream
rtmp://10.200.4.172/live/livestream
rtmp://10.200.4.172/live/livestream
flv
18085866
0
3829693036
1
file:///mac.html
-1
-1.000000
Any pointers would be greatly appreciated. Thanks. -
FMS live streaming to iPhone?
Though I'm sure somebody's asked the question, I did a bunch of searches on this and couldn't find anything definitive.
What's the latest on the issue? Is the livepkgr app useful for this?No... FMS is not capable of delivering streams to iphone. Look into Wowza media server for that.
-
Needed. Android Air app to watch live FMS video stream.
Does anyone have an Android Air app that can be used to watch a live video stream from Flash Media Server?
I've been trying to get our live stream viewable on Android devices and can't find any solutions.
Thanks,
DaveHey, I am having the same issue. Did you find a solution?
-
FMS (Live stream ) with FLEX
hello all,
could anyone tell me the better media server for live
streaming(Webcam)Can't you just create a timer in the client player and then
disconnect the user when it hits 30 mins? -
FMS video stream problem!!! please help.
hello,
i am trying to build an FMS2 videochat application,
the problem is that the videostream is very slow, and its
behind the audiostream.
If i test the same application on FCS it works fine, both
audio and video.
please tell me if you had same problems, or how can i fix
this (if there is a solution).
thanks.Have you tried the free program BADAK for converting your videos
Here is the info you need:
In response to my request, the creator of the free program BADAK has included a preset for the ZEN in the presets. This program can be downloaded free of charge from
http://eng.kipple.pe.kr/doc/badak
The preset for the ZEN is included in the latest version badak20080822.exe setup file.
You would also have to download the codec package mencoder-codecpack-2006022.exe.
The converted file then has the prefix [Z].
Hope this helps you.
macqueline -
Audio/video are sync in the fms live stream
Almost every teleconference has video/audio sync issue of anywhere between 2-10 seconds (i.e. the audio and video feeds are not synchronized).
Question - any suggestions on how this can be corrected, either client or server side?Pretty sure I solved my own problem...
The mp3 is 44khz, but in all of my exports I had it set at 48khz. At least with the H264 format, exporting it with the audio set properly at 44khz seems to have fixed my issue!
edit: I lied. Still getting some synchronizationg problems. I *think* that helped a little bit, but it's strange that it would only help a bit and not completely remove all the problems. -
When I place the .swf, smil and http files on the FMS server the SMIL stream test sample works fine
But When I move the files to my web server I get Connection error.
This is the same issue discussed in http://forums.adobe.com/thread/554107
I added a ‘base’ variable but it did not work for me.
The SMIL file has the correct path to the sample files and FMS server
<meta base="rtmp://200.200.200.23/vod/" />
I am able to stream files from my html file on my webserver not the FMS server by pointing to the FMS server at rtmp://200.200.200.23/vod/mp4:sample1_1500kbps.f4v
Is this a domain security setting? If so, where do I change it?
If not How do I get FMS to stream SMIL files without installing a webserver with FMS?
Thanks,Hi,
I think there is bug with that videoPlayer.swf which is used by index.html of webroot folder of FMS to play media files, its not able to parse smil file correctly. I used some other player and used the smil file and kept it on http server other than fms server so it was able to dynamically stream videos. So I would suggest you to create your own player which uses smil file. You can take help from the below link to create player:
http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_advanced_pt1_05.html
Regards,
Amit
Maybe you are looking for
-
Can I make an image display instead of flash slideshow on explorer with high security?
I am a total flash beginner. I created a simple flash slideshow that I want to appear on my website. It works fine in firefox., but when viewed in explorer with high security, nothing displays unless the viewer specifically allows it. The slideshow
-
I put an object and/or a text box on a page and then cannot select it - the Text cursor (not pointer, just the text cursor shows) is put on the object or text box and nothing happens. It is so frustrating! I then open up Everweb and the same thing,
-
I forgot the answers for the security questions, so i'm not able to purchase any thing from apple store. What can i do?
-
Disable "open in layers" in Acrobat?
This is just a question, and probably a rookie problem: every single PDF file I download or save as a pdf in Photoshop or Illustrator, when I want to open it again, opens as "Layer 1" rather than as "Background". That means that in every case, if it'
-
Messages, Facetime, iChat and Video Conferencing
We are using 10.7 and a colleague is using 10.8. Facetime only seems to allow two people to video conference. ichat allows at least four. I am told in Messages in 10.8 beta, selecting video opens Facetime (with only two video users.) 1) With 10.8