Re-encode and send to Flash Media Server?
Hi all,
I hope this is not a basic question - I'm in a bit of a loop
with this.
I need to do two things:
grab a live video feed from a
professional DV camera - the feed would be a standard BNC
(composite) video cable + XLR mic cable or similar. I need to take
that feed and somehow convert it to feed and broadcast live through
Flash Interactive Streaming server (...a reliable hardware solution
would be great!)
I will also be receiving Windows
Media MMS feeds from our parent company - can I re-encode live and
send through Flash Streaming Server in real-time?
Also - just in case it makes a difference, the camera is PAL
- not NTSC. So far I've had no problem running tests with a camera
connected directly via firewire.
Thank you for any help you can offer.
My first message got screwed up - so trying again.....
Hi all, I hope this is not a basic question - I'm in a bit of
a loop with this.
I need to do two things:
1. grab a live video feed from a professional DV camera - the
feed would be a standard BNC (composite) video cable + XLR mic
cable or similar. I need to take that feed and somehow convert it
to feed and broadcast live through Flash Interactive Streaming
server (...a reliable hardware solution would be great!)
2. I will also be receiving Windows Media MMS feeds from our
parent company - can I re-encode live and send through Flash
Streaming Server in real-time?
Also - just in case it makes a difference, the camera is PAL
- not NTSC. So far I've had no problem running tests with a camera
connected directly via firewire.
Thank you for any help you can offer.
Similar Messages
-
FLEX 2.0 and Flash Media Server 2.0 Unable to stream from client to server
Hi All,
I have been trying to put together a quick demo to stream
and record audio from Client to Server. I get this error when
trying to connect to FMS.
ArgumentError: Error #2126: NetConnection object must be
connected.
at flash.net::NetStream/flash.net:NetStream::construct()
at flash.net::NetStream$iinit()
at Audio/toggle()
at Audio/__submit_click()
my Program fails at this line - ns = new NetStream(nc);
Your help is greatly appreciated. Here is the MXML file
Audio.mxml
This file contains a simple start and stop button start and
stop audio processing.
This page is served from Apache Tomcat on host : demoserver1
and port 8080
Flash media server is also installed on the same host
demoserver1.
I did not do any additional config at FMS except creating an
application called "DemoApp". All other settings are defaults.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
applicationComplete="startup()">
<mx:Script>
<![CDATA[
import flash.net.NetConnection;
import flash.net.NetStream;
public var started:Boolean = false;
public var nc:NetConnection;
public var ns:NetStream;
public var mp:Microphone;
public function startup():void{
lblMessage.text="Stopped";
public function toggle():void{
if (started==false){
submit.label="Stop";
started=true;
lblMessage.text="Started";
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);
nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
nc.connect("rtmp://demoserver1/DemoApp");
ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
mp = Microphone.getMicrophone(0);
ns.attachAudio(mp);
ns.publish("sample1", "record");
else{
started=false;
submit.label="Start";
lblMessage.text="Stopped";
ns.close();
nc.close();
private function netStatusHandler(event:NetStatusEvent):void
switch (event.info.code) {
case "NetConnection.Connect.Success":
trace(" connection success : " );
break;
case "NetStream.Play.StreamNotFound":
trace("Stream not found: " );
break;
private function
securityErrorHandler(event:SecurityErrorEvent):void {
trace("securityErrorHandler: " + event);
]]>
</mx:Script>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
width="400"
height="300">
<mx:HBox left="19" right="0" height="100" top="30">
<mx:Label text="Label" id="lblMessage" width="150"/>
<mx:Button label="Start" click="toggle()" id="submit"/>
</mx:HBox>
</mx:Canvas>
</mx:Application>Hi,
Are you trying to make an air app or a web application (flash) for streaming? You may want to check out the osmf framework to help you write a player for mobile platform. Check out http://www.opensourcemediaframework.com/ for more info on how you can write streaming video players using this framework. There are some good tutorials there and also you may post on the forum to get your specific queries solved.
Thanks,
Abhishek -
Hi
I'm multi point push streaming with adobe flash media server 4
Stream structure like this
Open Broadcaster Software (or Flash media live encoder) (RTMP) -> Home Flash media server with multi push script (main.asc)
-> Stream to 2 justintv channels + 1 dailymotion channel (1024x576 , 1750Kbps)
no problem at all when streaming to justintv
but some another stream services have speed problem
ustream can not push with this method
and dailymotion, vaughnlive push speed slow down than OBS or FMLE Direct stream
for example
when direct streaming with OBS or FMLE (Without home server) , no problem at all stream to dailymotion and vaughnlive
clearly no lag
but when push with server script, slow down push speed and unstable (it affect only for dailymotion and vaughnlive streams)
justintv upload speed same as OBS, FMLE's bitrate but dailymotion, vaughnlive bitrate always slower than justintv or OBS, FMLE
Like this - justintv , OBS, FMLE (1750Kbps~2000Kbps) but dailymotion, vaughnlive (1600Kbps~1800Kbps)
I don't understand why have push speed difference between server script push and OBS, FMLE push
Have any reason? and do not have solution???
(sorry for my bad english)First of all let me clarify that we call multi point publish and it has been explained in detail here
http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d56e -7ffbDev.html
When you do multi point publish(MPP) you publish from one server to another server, when you use FMLE you do a normal publish of stream(s) from a client/encoder(FMLE in this case) to the Adobe Media server. -
Double-byte Chinese characters between Flash Media Server and WebLogic 9.2
i have installed a FMS (Flash Media Server 4.0 developer edition) and a weblogic server on linux. The two servers communicate with each other via WebService (Axis2 on Weblogic 9.2). i can send some XML message from FMS to the Weblogic server and receive message. but the returned message from the Weblogic server is as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>x8054x901Ax6027x6D4Bx8BD5</test>
</reports>
</response>
</root>
the returned messages between the <test> and </test> tag can be decoded to "测试联通性" in Chinese via utf-8. why not the returned messages just show the result as :
<test>测试联通性</test>
Later i made another test: copy the war file in weblogic server to a apache-tomcat server, then the FMS send XML message to apache-tomcat and got the correct message as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>测试联通性</test>
</reports>
</response>
</root>
then what is the problem with my weblogic? what shall i do to solve the problem? thank you for anyone who gives me some advice.i have installed a FMS (Flash Media Server 4.0 developer edition) and a weblogic server on linux. The two servers communicate with each other via WebService (Axis2 on Weblogic 9.2). i can send some XML message from FMS to the Weblogic server and receive message. but the returned message from the Weblogic server is as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>x8054x901Ax6027x6D4Bx8BD5</test>
</reports>
</response>
</root>
the returned messages between the <test> and </test> tag can be decoded to "测试联通性" in Chinese via utf-8. why not the returned messages just show the result as :
<test>测试联通性</test>
Later i made another test: copy the war file in weblogic server to a apache-tomcat server, then the FMS send XML message to apache-tomcat and got the correct message as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>测试联通性</test>
</reports>
</response>
</root>
then what is the problem with my weblogic? what shall i do to solve the problem? thank you for anyone who gives me some advice. -
Flash media server and strobe media player
Hi,
any one is done by sample program with Strobe media player and Flash media server?if yes means please send me some tutorials or sample file with steps how to do.Hi,
Thanks for your interest in FMS and Strobe Media Player. SMP is a out of box sample player that can play streams from FMS and no coding is required for its basic functionality.
It can play RTMP and HTTP dynamic Streaming / HTTP progressive as well as multicast streams.
Download the Strobe media playback from http://www.osmf.org/strobe_mediaplayback.html , host it on a webserver and launch in a broswer.
launch either strobemediaplayback.html or setup.html to setup your own player with different settings.
Thank you ! -
Live Streaming video and Flex2(3?) + Flash Media Server?
I've seen alot of topic on how to create video sites for
clips, etc. with Flex and Flash Media Server, but how about live
streaming video, like a concert or a seminar. I can't find any
information on this at all, could anyone point me in the right
direction?What you need is grab video/sound form camera/mic, publish it
on FMS and let the other clients play it. In a few steps:
// get camera and mic
var cam:Camera = Camera.getCamera(); // get default camera
var mic:Microphone = Microphone.getMicrophone(); // get
default mic
// if you have VideoDisplay, for monitoring
videoDisplay.attachCamera(cam);
// create new RTMP connection to FMS/your app
var nc:NetConnection = new NetConnection();
// new stream should be create *after* nc has connected, not
before
// so this is executed after the below nc.connect() succeeds
nc.attachEventListener(Event.CONNECT, function(){
var ns:NetStream = new NetStream();
ns.attachCamera(cam);
ns.attachMicrophone(mic);
ns.publish("streamname", "live"); // or "record" if you want
to live+rec
// connect to default instance of app 'appname' on your FMS
nc.connect("rtmp://fms.ip.address/appname");
If you're using Flex2 and FMS2 (the latest FMS is 3), you
might need to
cuange the connection encoding to AMF0 (which is what FMS2
uses) in order for this to work.
Hope this helps; I've written it from my head so it probably
has mistakes, but it's the general workflow; the docs in the
language reference for specific functions mentioned here will also
help. -
Streaming flash media server to the world and not just your local network
hello, i have downloaded and installed flashe media server.....but i have som problems which are: i am on a network which is connected to the internet and i was able to get the ip of my pc using the comand prompt (i.e typing ...ipconfig/all....in the comand prompt window) ...i used this ip in my flash media encoder in place of "localhost" in the fms url, and i was able 2 connect fine ,i the copied my fms url to the osmf player and i generated my html code and put it in my webpage and everything did work fine, but the proble is that only the people who are on thesame network with me were able to view the video on the webpage wereas people in other countries could not view the video....... so please how can i be able to make my video acessable to the whole world ,because i work in a television company and they have asked me to undertake the task to stream thier broadcast online to the whole world........please i would like u to put me through the right things to do because have been having sleepless night on flash media server.....would be expecting a reply from anyone who can help me as quick as possible. thanks
Hey Kristich,
Is the server that you have created behind some NAT, etc?
If you are using an IP of the form 10.x.x.x or 172.x.x.x or 192.168.x.x then these are private IPv4 address spaces and not public IPs(which is unique), and you wont be able access them from outside. -
Windows Vista and Flash Media Server Streaming Problems
My company recently started using Flash Media Server to
stream audio and video content.
My boss just installed Windows Vista Ultimate and now no
streaming content will play at all. Simple Flash animations work,
but nothing that accesses the Flash Media Server for content. I've
uninstalled and reinstalled multiple versions of the Flash Player
on his machine but nothing seems to work. I also tried the new
"Reset" feature in IE that is supposed to return it to it's
shipping state and that didn't work. I navigated to the "System 32"
folder and ran the Flash Updater EXE. I downloaded and installed
all of the available updates through "Windows Update".
I also tested Flash Objects that stream video on Adobe.com
and they don't play either. Has anyone heard of this happening or
know what I need to do to fix it? I don't know if this is a bug in
the Flash Player or with Windows Vista.This appears to be the solution:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1243464&enterthread=y -
I currently have WAMP(Windows, Apache,MySQL,PHP) installed as
my primary server; I do not want to change this. What I would like
to do is use Flash Media Server as my primary streaming server and
be able to host media files on it. I have been informed that if I
broadcast from the Media Server on Port 80 I will run into trouble
when I start the WAMP server (because it works on Port 80). The
resolution that I've been told is to put the Media Server on Port
:8080. What I am trying to find out is if any one here is running
the Flash Media Server as a second server using Port 8080 or is it
smarter to just assign Flash Media Server it's own port. By the
way, I am trying to set up a test environment that will replicate
what the real server and application will have to do. Any advice is
greatly appreciated. Thank You
In2mobilewhat version of windows are you running?.......try shutting down fms service before making changes.......I know in windows 7 you have to right click choose properties of the folder fms.ini resides in and adjust the security settings.
-
Flash Media Server 3 and Adobe Connect 6.0 SP2
Hi all, I have a doubt.
It's possible to run Adobe Connect Server 6.0 SP2 and Flash
Media Server 3 in the same machine?
Thnx.Adobe Connect server includes its own flash media server. in
that case;
There can be some conflicts for port/service registration
etc. -
Flash Media Server and CloudFront.
Can we use CloudFront with Flash Media Server for Video on Demand?
I see article on CloudFront with Flash Media Server for Live Streaming.
Thanks in Advance
jeevan.FMS is staged on Amazon cloudfront that you can subscribe to , for video on demand and other services. You can get started right away. Thank you !
-
Flash Media Server and Pocket PC
Hello,
i'm develope an application of videoconference with flash
media server 2 and desktop pc. Now i would use pocket Pc. Can i
doing this?
Sorry for my english!
DemosHi,
Thanks for your interest in FMS and Strobe Media Player. SMP is a out of box sample player that can play streams from FMS and no coding is required for its basic functionality.
It can play RTMP and HTTP dynamic Streaming / HTTP progressive as well as multicast streams.
Download the Strobe media playback from http://www.osmf.org/strobe_mediaplayback.html , host it on a webserver and launch in a broswer.
launch either strobemediaplayback.html or setup.html to setup your own player with different settings.
Thank you ! -
Encoding to H.264 FLV: Flash Media Server Streaming
Hi all,
I've been hoping to find the magic Compressor settings which would allow me to compress a stream-able FLV on our Flash Media Server.
I realize I can use the default QuickTime Export component to create an FLV, however this does not support distributive rendering/job segmenting. Currently I'm trying the 'QuickTime Movie' file format (last on the format list) without any luck.
As QuickTime can produce a streamable FLV with the export component I'm figuring there HAS to be a way to manually configure Conpressor to do the same: Has anyone worked this out?
Thanks for any assistance
- BillyRelated to my post above is it be possible to access and use the TrueMotion VP6 (Perian) format settings in Compressor? This format is also accessible through the QuickTime Export component option, and doing so would would both make the flash streams more compatible (w/ old players) and allow job segmenting.
Thanks again for any thoughts ...
- Billy -
Flash media server 4 loadvars encoding issue.
LoadVars in flash media server 4 gives me HttpStatus 0. The same call in flash media server 3.5.1 works. Not sure what has changed in FSM 4 javascript engine related to encoding.
SessionID=9f2bc0eb%2d7d5d%2d42cf%2d9425%2db8211ee2b57e&filename=testfile%2eflv&contenttype =video%2fx%2dflv
Any pointers would be helpful.Hi kanr ,
I tried this code on my FMS 4.0 server.
application.onAppStart = function() {
var entry = new LoadVars();
entry.SessionID="fffd9f3d-4712-4fd4-b6bb-c56ea9a30fba";
entry.filename="test.flv";
entry.type="video/x-flv";
var resp = new LoadVars();
resp.onData = function(data) {
trace("onData" );
resp.onHTTPStatus = function(status) {
trace("status: "+status);
entry.sendAndLoad("http://localhost:8134/cgi-bin/test.pl",resp,"POST");
I do get the HTTP Status as expected i.e 200 in onHTTPStatus. Are you trying something different from this that is not working. If required, you can provide me more details on [email protected]
Thanks,
Abhishek -
Record playback is very slow between Flash Media Server and Flash
hi all
I have done server side recording successfully with red5 flash media server and can see
that the flv record is being created properly.
Then if I try to playback the record like
NetStream.play("record.flv"), I see that stream playing is very very
slow, for both of audio and video.
And then if I try to playback the recorded file via using the
filesystem path of it, everthing seems fine.
Problem occurs when I try to sucscribe and play the stream of the record.
PS : There is no problem with playing the published stream
(NetStream.play("streamName"))
Does anyone have an idea about this issue?
If you need any additional information, please let me know.
Thanks in advance
RegardsIn a nutshell flowplayer delivers the video through your web
browser. It does this via http protocol (port 80) and progressive
download on any web server
Progressive download finds the video on the server and plays
it back through the player as it is being downloaded. 2 important
things to take from this are 1, the video is being downloaded to
the clients hard drive, at the end of the playback they will have a
copy of your video that they can do whatever they like to and
repost it somewhere else. 2, It plays back as it downloads, meaning
if I'm viewing a 10 minute video from your site and want to skip
ahead to the middle or end I have to wait for the whole video to
download before viewing those segments. Your web host by the way
will love you for progressive download because it will appear as
though your transfer rate has gone through the roof. Once the
request for the video is made there is no turning back, the client
gets the whole thing whether they watch it or not.
Flash media server uses the rtmp protocol. This protocol is
an open socket protocol through port 1935. This is a two way street
essentially. When the user views a video using FMS they basically
get only enough of the video to keep the connection open and
satisfy the required buffer to assure clean playback. The bytes of
info that carry the video only go to the users memory, not the hard
drive. This allows the user to jump back and forth around in the
movie without having to wait for the whole thing to download.
Hope that helps.
Maybe you are looking for
-
Table (css) text align in ff
does anybody know of an issue where setting a table class with text-align attributes won't center the text of the table in firefox? I can force it to center by adjusting the align attribute in the <table> tag, but i have a several tables that i would
-
FI-GL Activating for Consolidation SEM BCS
Hello together, can somebody tell me in a few steps how to activate the FI-GL (0FI_GL_6) that it can be used for consolidation in SEM BCS. My problem is that FI_GL_6 (and also FIGL_C10 for new FI-GL) have not all required fields for consolidation in
-
HT1349 Missing Music on I Tunes
I can't see any of my playlists or songs in my "music" folder in my ITunes account. What happened? Thanks for your help.
-
Aurgent: Can any body help of User-based sizing
Hi Experts. iam new to the implementation .can anybody help on Inital user based sizing.Do n't send the links of service market place.I want know abt wat type of user has to consider for the A/s Ecc6.0 and how to consider their roles in
-
hi experts can anyone pls say me what is the use of <b>program id ,application server</b>(<b>gateway),application server service</b> in <b>rfc server parameter</b> thanks in advance ramesh