FME encoding live streams
Hi there
I recently got to read the "Stream Live Video with Flash
Media Encoder.pdf" that comes with the FMS3 INteractive server.
Since i am (and was) looking for a video encoding tool for a long
time now a paragraph in the above mentioned pdf got all my
attention.
"Flash Media Encoder 2 can also be tightly integrated into
your streaming pipeline
with command-line control both locally and through a remote
connection."
I'm not sure if i correctly understood, but if i'm not wrong
that means i can plug FME into my existing streams and encode them
before they reach the end-user.
I for instance am using a one-2-many live streaming platform,
where the publisher streams his/her webcam's video to FMS, and a
virtually unlimited number of subscribers can watch it.
Would FME be able to support this kind of implementation, so
i can have the video encoded at any level before the subscribers
are actually seing it? (without having to deploy a desktop
application that the publisher needs to use).
Looking forward to hear your opinions.
Regards
Andy
Hi
Thank you for your anwer. It might not be what i wanted to
hear. However i was looking through On2 products list. I tried to
contact them too for a solution like the one i have explained in
the first post. Unfortunately they did not answer (yet).
Anyone knows if any of the On2 products can be used to encode
the live stream before being published and available to the
subscribers?.
Looking forward to hear from someone ... anyone.
Regards
Andy
Similar Messages
-
Start/stop/restart live stream - do stream files need to be removed first?
When streaming a live event if something happens and we need to stop our encoder and then restart it again.
Do we need to delete the stream files created in the 'application/event/' directory and also delete the f4f stream,bootstrap, etc... files too?
If we don't delete the stream files before restarting the live stream. It will only play about 10 seconds of the stream then just hang buffering.
What is causing this?
My application log shows no access when I restarted the stream.
2013-09-04
09:02:21
3960
(s)2641173
onPublish : cfhsstream4
2013-09-04
09:02:21
3960
(s)2641173
Stream name is: cfhsstream4 and live event is: cfhs
2013-09-04
09:02:21
3960
(i)2611173
Event level recording configuration: General[flags: 3, keyframe interval: 60000, max size: -1, max length: -1, io buffer size: 0], Fragment[frag duration: 4000, seg duration: 0, duration precision: 0, allowed drift: 1000, frame rate: 0.000000, frames per interval: 0, intervals per frag: 1, frame precision: 1, disk management duration: 0.000000], ContentProtection[enabled=false(overridable)]
2013-09-04
09:02:21
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Publish.Start
2013-09-04
09:02:21
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Play.Reset
2013-09-04
09:02:21
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Data.Start
2013-09-04
09:02:22
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.Start
2013-09-04
09:02:23
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.NoAccess
2013-09-04
09:02:23
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.Stop
2013-09-04
09:02:23
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.NoAccess
Thanks,
DaveI have a similar issue like Mr Dave explained. If need to stop, start, stop and restart again, the encoder is sending, but in player not shows nothing. Then we need to stop and disconnect in encoder, and remove the stream file in /event and the cache files in livestream folder for after then restart the streaming. Only after this action, the streaming works fine and the streaming shows again in player.
Have other way to solve this issue without need all that actions? Note that I use the Adobe FME to live streaming and encoding in HDS http streaming
I hope for a help
Thanks
Pedro
Message was edited by: asaweb2013 -
How to Live Stream h.264 via FME?
I would like to take advantage of benefits of H.264 for our
live event streaming. Can this be done with FME?
Is there another option to encode and stream to our CDN
server in H.264?
thanks for your help.There is currently no way to live encode H.264 using a CDN..
since no-one has yet updated to FMS3. Then there is the issue with
the live encoder.. I'm pretty sure that Adobe is going to release a
new FME soon to support the h.264 codec -
User Auth. for Live Streaming with Media Encoder 2.5 and FMSS
Hi,
i am currently thinking of buying the Flash Media STREAMING
Server (~995 $) and in order to see if this is the right choice, i
also take a look at the Wowza Media Server for comparison.
I want to support Live Streaming from Events with Flash Media
Encoder 2.5 and for this i'll need a user authentification for
giving access to special publishing Users only. Wowza Media Server
supports a User Authentification by parsing the connecting URL,
witch is delivered by the Media Encoder on starting a Connection,
and therefor grants or denies access to the publishing function.
Only Users with the right Access Persmissions, which is written
trough a password and the onPublish Comand in the url, can publish
Live Streams. Everyone can watch the Live Stream, if no restriction
to the onConnect Command was made.
The Problem in this case is, i will need seperate Application
folders for every user who should be able to start a live stream.
This would be a horrible effort...
more info ==>
http://www.wowzamedia.com/forums/showthread.php?t=1281
Is there a similar way to support authorisation for starting
publishing a LiveStream to the Flash Media Streaming Server, or do
i need the Flash Media Interactive Server?
How can i restrict access to users, who should not be able to
start a live stream on my FMSS?
Thx for your help,
Tobiquote:
Is there a similar way to support authorisation for starting
publishing a LiveStream to the Flash Media Streaming Server, or do
i need the Flash Media Interactive Server?
Unfortunately no, there isn't. I struggled with same issue
earlier, and we were forced to purcahse the Interactive edition. As
the 'Streaming' version only runs Adobe-signed apps, there is no
way to change things that happen within the onConnect handler.
Furthermore, guys at Adobe haven't provided any possibility for
even simple access control through configuration files for built-in
apps that come along with the Streaming Server edition.
- Jakki -
Flash media live encoder, play live streaming failed!
Hi, I install a fms3.5 and fmle3.1 on my computer. In fmle, I set video format is h264,and fms url:RTMP://192.168.8.6/live ,stream: livestream. The input and output windows' video is ok.
The following is fmle log:
Tue Jun 22 2010 12:25:19 : Primary - Connected
Tue Jun 22 2010 12:25:19 : Primary - Network Command: onBWDone
Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: Success
Tue Jun 22 2010 12:25:19 : Primary - Network Command: onFCPublish
Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: NetStream.Publish.Start
Tue Jun 22 2010 12:25:19 : Session Started
Tue Jun 22 2010 12:25:19 : Video Encoding Started
The following is my source code to play live stream:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function showFlv():void {
//myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv";
myVideo.source = "rtmp://192.168.8.6:1935/live/livestream";
Dumper.info(myVideo.source);
]]>
</mx:Script>
<mx:Panel width="100%" height="100%">
<mx:VBox width="100%" horizontalAlign="center">
<mx:Text text="code display"/>
<mx:Button label="play flv" click="showFlv();"/>
</mx:VBox>
<mx:VideoDisplay width="100%" height="100%" id="myVideo"/>
</mx:Panel>
</mx:Application>
If I use myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv" ,it can play video. Use :myVideo.source = "rtmp://192.168.8.6:1935/live/livestream", Can't get video. Why?
I just want to play live video on pc.Who can help me??
-
Protecting Live Stream Encoding URL
We set up a Flash Media Server and we are trying to figure out how to protect our live encoding url. Seems like anyone with a Flash Media Encoder and who knew the location of our server could publish a live stream. Can we password protect this in any way?
Asa,
Are you able to share details of what the solution being developed by Adobe will involve, and which versions of FMS it will apply to (an update for 3.0, 3.5 or just a feature of 4.0)
Thanks,
Michael -
Flash live streaming encoder question
Does flash8 pro encode STREAMING video as VP6 or Sorenson?
Non live streaming is VP6, but there seems to be no
conclusive answer as to whether live streaming uses the same
encoder.
I guess not, otherwise something like on2 flix live would
have no reason to exist if you already own flash pro...The answer was to go back to Wowza. Adobe dropped the ball.
RT
ashish gupta. <mailto:[email protected]>
December 15, 2014 at 3:44 AM
>
Live Streaming Basic Question
created by ashish gupta.
<https://forums.adobe.com/people/ashish+gupta.> in /Adobe Media
Server/ - View the full discussion
<https://forums.adobe.com/message/7015154#7015154> -
How do I use multiple cameras to live stream through FME?
I am looking to live stream pool tournaments from multiple angles but don't know what software or hardware I might need. Anybody have any good how to advice or links they might share? I stream through Ustream.tv if that makes a difference. Should I look for something different? Thanks
I am working on getting just the counter working by using
the program posted previously, and I am running into issues. Periodically I get
the error:
Error -200141
occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi
Possible reason(s):
Data was overwritten
before it could be read by the system.
If Data Transfer
Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal
before taking the measurement.
It seems to work better if I use cascaded counters, but I need timer 0 for
analog channels when I run this code along with the program for the other
measurements.
I have tried averaging, and selecting different values for the millisecond
timer, and these did not seem to have an effect.
I tried different DAQms configurations and "Counter DBL 1Samp" seemed
to work the best.
The program will work for a while and then it will give me the above error
message.
If I use counter 0 as a cascaded counter input, the program runs fine. If I run
this with other analog channels, it errors out because the analog channels use
counter 0.
If I use counter 1 as a cascaded counter input, it seems to work better than a
single channel, but it will still error out with the above error.
If I use only counter 1, I get the error above even faster.
Also, none of the
configurations give measurements outside the While Loop.
The only place I can add a speed dial for the front panel is within the While
Loop.
Is there someway to get the signal to continuously send out of the while loop?
I thought if I could get the signal out of the while loop, I could condition it
anyway I wanted without the program erroring out.
Any suggestions would be much appreciated.
Thank you.
Attachments:
Counter_error.jpg 45 KB -
Encode archive of live stream on FMS 4
I thought by what I have initially read that this was possible, but I am not sure.
What we would like to do is create an archive (f4v or mp4) on the FMS 4 server any live stream that is pushed from our endpoints. Primarily as a backup and if necessary - an editable file within CS4 or CS5.
We are at a University and capture lecture powerpoints natively and sometimes need to edit the files. flv is not enough and we would like to take afvantage of mp4 and the FMS server while we use it for overflow as a recorder.
Can anyone clarify if this can be done?
Thanks
-BrianRecording can be triggered via client-side publish call, or via server-side script. From the publish cmd, you specify "record" option. For example,
ns.publish("mp4:foo", "record"); // ns is a NetStream, "mp4:" prefix tells FMS to record using MP4 container
Otherwise, if you want to trigger the record via server-side as Jay says, you can simply publish the stream as,
ns.publish("mp4:foo");
then from server-side AS, do something like,
// this handler is called when a stream is published
// clientObj is the client that is publishing the stream
// streamObj is the stream that is being published
application.onPublish = function(clientObj, streamObj)
streamObj.record("record"); // start recording the stream -
Configure Live streaming FLV Encodering -- Adobe -- End user
Hello,
WHile looking on the web, there are no clear cut instructions on how to configure adobe media server fro live streaming.
What I would like to do is take a streaming coming from alive flv streaming source. Have adobe media server configured to allow users to connect to the media manager and watch the live stream.
Could someone provide directions on this?
Thank you,
ScottHi,
This article has information to help you get started with live streaming on FMS, http://www.adobe.com/devnet/flashmediaserver/articles/beginner_live_fms3.html .
Regards
Mamata -
How to understand live stream is online
Hi,
First sorry about my english, i search my problem, but i couldnt find my answer,
We have more then 80 live stream videos. More than 20 PC with capture cards, send cam streams to FSM with FME,
Problems,
PC can crush, capture card can crush, fme can crush, camera connection can crush,
so with below code, i can unterstand if FMS server is alive, "NetConnection.Connect.Success"
but is my stream alive? How i can understand "1test1" is alive,
for example i can unterstand with onMetaData info, if there is no meta info, no stream,
but i am a noob, what is the true way to understand live stream is alive, meta info isn't true way i think
i change var videoURL:String ="1test1" to a false value
but no error i get, it never says "NetStream.Play.StreamNotFound":
my goal is, i will make a web page, it will find all livestreams from xml, and cheack them, so systemadmin will see problem easly,
last question, if there is a camera problem, livestream gives a blank black screen, can i understand automaticly this screen
var videoURL:String ="1test1"
var nc:NetConnection = new NetConnection();
nc.client = this;
nc.connect("rtmp://myFMS/live/");
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
function netStatusHandler(event:NetStatusEvent):void{
trace(" trace netStatusHandler: " +event.info.code);
switch (event.info.code)
case "NetConnection.Connect.Success":
connectStream();
break;
case "NetStream.Play.StreamNotFound":
trace("Stream not found: " + videoURL);
break;
function connectStream():void
var vid:Video = new Video(640,480);
var ns:NetStream = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
var meta:Object = new Object();
meta.onMetaData = function(info:Object){
trace("metadata: duration=" + info.duration + " width=" + info.width + " height=" + info.height + " framerate=" + info.framerate)}
ns.client = meta;
addChild(vid);
vid.attachNetStream(ns);
ns.play(videoURL);thanks, now i am able to understand what's your requirement.
first you create a sample live chat application. just for testing purpose.
1- create video object.;
2- create camera object;
3- attache camera object to video object;
4- create a button and register a event and listener function write below code.
5- download adobe.image.PNGEncoder class
hope, you can capture photo from video object into you testing application
package
import com.adobe.image.PNGEncoder;
import flash.display.Sprite;
import flash.display.DisplayObject;
import flash.events.*;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.media.Video;
import flash.media.Camera;
import flash.geom.*;
import flash.net.FileReference;
import flash.utils.ByteArray;
public class SavePng extends Sprite
private var cam:Camera;
private var video:Video;
private var ab:FileReference;
public function SavePng()
cam = Camera.getCamera();
cam.setMode(800,600,25);
cam.setQuality(0, 90);
video = new Video(1024,768);
video .smoothing=true;
video.attachCamera(cam);
addChild(video);
btn.addEventListener(MouseEvent.CLICK,saveImage);
ab=new FileReference();
private function saveImage(evt:MouseEvent):void
var count:int = 0;
var scaleW:Number = .5;
var scaleH:Number = .5;
var m:Matrix = new Matrix();
m.scale(scaleW,scaleH);
var bmd:BitmapData = new BitmapData(320,240,true);
bmd.draw(video);
var img:Bitmap=new Bitmap(bmd);
img.x=250;
img.y=200;
addChild(img);
var ba:ByteArray = PNGEncoder.encode(bmd);
ab.save(ba,"sushil.png") -
Flash Media Encoder Live Problem
FME locks up good ! FME freezes . FME Stops sending streaming audio .
// I hope this is posted in the correct forum.
I'm using Adobe Flash Media Encoder Live 3.0.1.5963 .
Windows XP Pro SP 3
Pentium 4 3.06 ghz 'dual core' cpu
1.5 GB rambus 800 mhz
MP3
44,100
192kbps
stereo
When streaming audio, FME locks up good and stops sending audio, usually after 8 minutes.
I have to force down my machine with the reset button.
I even tried with no video. Same problem.Update:
The same problem exists in Flash Media Encoder version
1.0.1.460. -
Help with setup for live streaming
I'm trying to set up a live stream that's viewable on my
website.
I have two machines behind a router with one being the
webserver running FMS (windows 2003) and the other being the
encoding machine running FME (windows XP).
When I set up FME, I put in the following as the url to the
server "rtmp://
computernamewebserver/live/" with the session name being
"test".
This has no problems connecting to FMS .
On the webserver/FMS, I created a *.swf file which basically
contains just a flvplayback object with the URL set to "rtmp://
computernamewebserver/live/test".
Now after I publish this, I can view the video via the
published html file from within the network, but when I try outside
of the network, it doesn't work and I get no error messages so it's
hard to debug.
I have port 80 forwarded to my webserver/FMS machine. I tried
forwarding port 1935 to both my webserver/FMS machine and the FME
machine with no success.
I've tried playing around with the rtmp URL by changing the
computernamewebserver from the internally recognized
computer name to the externally recognized URL to my webserver.
The solution is probably something simple, but since this is
my first attempt at flash streaming, it's not obvious to me and
I've tried searching for the solution. My suspicion is that there's
some config file somewhere that I need to config that I don't know
about or maybe it's some port issue. Neither of my machines have
windows based firewall disabled."Now after I publish this, I can view the video..." Well this
shows that FMS is working fine, so I am guessing that it is an
outside network issue.
"Neither of my machines have windows based firewall disabled.
" I don't know if this is the cause either, as a host based
firewall should prevent any connections from arriving, either by
the internal lan or the external (well, at least I think that is
the case, I dont know if windows still allows hosts on the same
subnet to have local lan permissions or what they do with their
crazy security model. That said it shouldn't be a problem.)
I would try to just telnet to the port that you have open to
make sure the connection can be established.
telnet computernamewebserver 1935 (this should open up a
socket, otherwise your port forwarding isnt working correctly.)
If telnet works ok, perhaps its an issue with the swf. I
would code the minimal things needed to just get a stream playing
from the external network (perhaps just using the vod service, not
the live, to make things simple).
Hope that helps. -
Encoding live video for the Wii?
I notice that FME and FMLE only allow VP6 and H264 as the
video encoding options.
I understand that the Nintendo Wii, with its Opera browser,
can play back Flash Video that is in the Sorenson Spark codec. Is
it therefore possible to encode LIVE video using Sorenson Spark
that could be played back in the Flash player on the Wii?
Or, is it the case that the version of Flash that the Wii
supports will only playback pre-recorded Sorenson Spark video and
not live streams?
Thanks,
D.When live streaming was first introduced with FCS you would
utilize a web based encoder that utilized the spark codec and had
the same look and feel as the current desktop based software. This
was available from CDN's but could be built within flash as well. I
found a simple one which will achieve connect and publish to a
server for you.
http://www.flvhosting.com/download/index.php?file=1livestream_by_FLV_Hosting.zip
This one is simple but others do exist which allow setting
framerates, video source, etc.
Kevin Towes wrote a great example of this here.
http://www.adobe.com/devnet/flash/articles/live_video_switcher_print.html
Adam Walsworth -
How to do live streaming to FMS3 on Linux?
Hi, I'm currently running FMS3 on RedHat Linux and it's
working fine for VOD files. I'm trying to figure out how to do live
streaming with this and am confused. I know that if I was running
Windows, I could just use Flash Media Encoder, but I'm not. Has
anyone had any experience with this? I know that I would obviously
need a capture card but then what other software is needed to make
FMS3 aware of this live stream?
Any insight would be greatly appreciated.You would still use the FME (Flash Media Encoder) to send the
stream to the FMS3. You simply need to specify your linux's servers
IP instead of localhost.
Now I have been playing around with the Live sample
application that Adobe provided and I too have been seeing some
issues with it. As of yet I haven't solved them all on my server.
But I don't think you should have any major problem.
Maybe you are looking for
-
Goods receip based on Gate entry.
Hello experts, As per our existing procedure gate entry is done in regiser upon receipt of material from vendor.Then material is moved to store.Based on this gate entry only goods receipt is expected to be done in SAP.How this can be captured in SAP.
-
I have looked everywhere for help to no avail. Can this be done and if so how? I will have a folder on my desktop. PDFs will be dropped into it. I need a script that will open those files and apply the "Enable Commenting" feature that is in Acrobat 7
-
Craete a database from remote location
Hi! I have a unix machine running Oracle. I want to know if I can create a database from a remote terminal using 1. DBCA or 2. using OEM Thanks Manish
-
Problems binding push button to NSArrayController
I've got a text field that is bound to a selection value from an NSArrayController. I'd like to create a button that populates that text field with an automatically generated value. I thought the solution was to bind the button to a simple controller
-
Hello, I currently have Firefox version 16.0.2 installed on my laptop with Windows 7. Every time I attempt to go to the update site (http://www.mozilla.org/en-US/firefox/new/) and click on the green update button, I am sent to the 'Thank you' page, a