Devnet Streaming Videosource tutorial
Hi,
I've recently decided to migrate my video needs over to an
FMS as I am quickly exhausting the capabilities of progressive
delivery. Until i shift hosts however, (as they will not allow an
FMS on their servers) I am using a playstream FVSS account.
I've managed to connect to a stream using the FLVPlayback
component and now I wish to get a copy of the 'videosource'
tutorial by Lisa Larson over at devnet, up and running on this
system.
See:
http://www.adobe.com/devnet/flash/articles/video_player.html
My problem is that, although i've begun to get to grips with
regular video, i haven't a clue where to start with streaming and
so am hoping someone more knowledgable than myself could help me
make a start..
Basically, the tutorial is made up of an FLA, an XML doc
describing and pointing to the videos, two external AS docs (one
for the main source, another for generating thumbnails on-the-fly)
and a 'main.asc' file which, i believe is some form of server-side
code.. There are also 5 sample FLVs.
Following instruction, I left all the files in my local
working directory excepting the 'main.asc' file and the FLVs which
i was told to drop into the FMS (or FVSS account in my case) under
the following directory structure:
main.asc in-> Applications>videosource>main.asc
and the sample FLVs into->
Applications>videosource>streams>_definst_>*.flv
These directories did not pre-exist.. I had to create an
applications folder, and all sub-folders so i'm not sure that this
isn't working simply because it can't work with an FVSS and has to
be a dedicated FMS??
Is this true? what does the main.asc file do? it seems to
just be a connection tracer??
Regardless,
when i run the SWF, it occassionally and erratically mentions
having made a successful connection in my output panel, but no
thumbnails are shown, nor is any video.
There is a primary stream in the main source code
('videosource.as') which is simply attached to a stream_ns.play("")
for which I have provided a URL which has previously worked with an
FLVPlayback component, but generates an error on this version...
Why is this??
I have attempted various different URL variations in the XML
doc but can't find a combination that works..
I've uploaded the files to my server, zipped for your
convenience at
http://www.dedicatedmicros.com/ukftp/docs/dynamic_playlist.zip
If anyone has
any ideas/advice about any of this, I would be eternally
grateful for your help!!
I've posted similar messages across several forums but have
recieved zero response (I imagine because I'm wording everything
incorrectly or making stupid oversights.. lol)
Thanks in advance,
Dave
Thanks for the answer.
I spent an entire afternoon on it before I realised it worked
only with one specific computer as the server... don't know why but
it works... :/
Thanks anyway for your time Jeffrey, I'll try this to make it
work from any machine.
Guaca.
Similar Messages
-
Problem with tutorial:Creating a dynamic playlist for streaming flash video
hi, anyone tried the tutorial: creating a dynamic playlist
for streaming flash video?
i follow the instruction exactly as stated in the tutorial
and test the fla file, it worked perfectly well when i open the swf
using the macromedia flash 8. Everything look fine. Nothing is
changed except the url is changed to "rtmp://localhost/videosource"
in the xml file.
after i publish the file using the setting: access network
only, i try to open the swf and html file from the folder, the
thumbnail did not appear and there is no way i can click on any
videos. What i see is only the list, and there is no response from
the flash media server 2. All the files is in the same folder.
Anyone please help with this problem???? thanks....i debug the movie step by step
and realised that the xml file is being read by the code...
Your original problem stated it worked but not when playing
outside the
Flash authoring environment by simply loading the swf from
the hard drive.
The Flash authoring environment is a trusted environment and
so you really
need to test in the actual deployment mode which loading an
swf from the
hard drive is not a valid deployment unless an installed
Flash player is
available outside the web browser which you would have as you
have the
authoring tool and your users will not.
Use a browser with
http://yourdomain.com/yourmovie.html
to do final
debugging.
In this regard you may need to debug the movie while running
in real time
mode in a web browser with
http:// A technique to trace I suggested is to
create a temporary TextField perhaps named out_txt and send
trace message to
it such as out_txt.text += "My Trace Expression".
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"free23" <[email protected]> wrote in
message
news:[email protected]...
sorry but i don't understand what you mean....i debug the
movie step by step
and realised that the xml file is being read by the code...
this is a sample of my log files:
#Fields: date time x-pid x-status x-ctx x-comment
2006-05-15 20:08:58 3072 (i)2651170 Unloaded application
instance
videosource/_definst_ -
2006-05-15 20:48:19 3848 (s)2641173 FCApplication loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 Communication Framework
loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 SimpleConnect loaded
successfully. -
2006-05-15 20:48:19 3848 (s)2641173 VideoConference loaded
successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Video Playback loaded
successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Communication Components
loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:19 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:49:42 3848 (s)2641173 Sending this message:
Hello! You are
connected as: false -
hope this help... -
Unable to Find RTMP Dynamic Streaming Tutorial on Adobe unlike HDS!!
I have seen that adobe aggresively marketing their HTTP Live Dyanmic MBR Streaming with very nice tutorials like one given on this page. I'm looking for a similar tutorial for Live RTMP Dyanmic Streaming from Adobe? Can anyone guide me of such a well descriptive tutorial in Adobe Documentation ? Please Help.
Have you seen this?
http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html
Will have to do this with JW player at some point and that's how I came across this article. -
Any tutorial for Live RTMP Dynamic Streaming using Strobe Media Playback?
Any tutorial for Live RTMP Dynamic Streaming using Strobe Media Playback anywhere available on the web ?
Thank you for the link but it does not solve my problem. In this thread they work with manifest xml files like a playlist. Which i tryed but also doesn´t work. Adobe declairs FMP with easy config and less code for non geeks. And this is exactly what i want for my project.
Does anybody can post some html sample code especially for dynamic streaming/ MBR wit Flash Media Playback??? For Live or On-Demand.
Best
Hinricht -
Need Technical Streams Tutorial
Hi frntz,
Shall I get the step by step explanation for any of the oracle technical streams with SCREENSHOTS.Please give me the link of it.Hi;
1. There is dedicated forum part Forum Home » High Availability » Streams
2. Your question too general,what ar you looking for exactly? Concept, installation etc?
3. See below links:
http://www.oracle.com/technetwork/database/features/data-integration/index.html
http://www.oracle.com/technetwork/database/features/data-integration/twp-streams-11gr1-134658.pdf
http://www.oracle.com/us/solutions/311398-132383.pdf
4.For your future stream related issue I suggest close your thread here as changing thread status to answered and move it to stream dedicated forum site
Regard
Helios -
Server error 503 when running On-demand HTTP Dynamic Streaming tutorial
Hi,
I'm trying to set up an HTTP Dynamic Streaming environment for VoD (not live streaming). I'm following the instructions in the HTTP Dynamic Streaming Quick Start guide (http://help.adobe.com/en_US/HTTPStreaming/1.0/Using/WS8d6ed60bd880807c48597a9e1265edd6cc0- 8000.html#WS8af793f9af34bea0def106e12873ad717a-8000)
I'm running everything on Windows 7. I installed Apache 2.2, as well as the HTTP Origin module and the f4fpackager. I also installed the Microsoft 2005 and 2008 Visual C++ redustibutable packages (I actually have 3 different versions of the 2008 redistributable package installed on my system).
I ran f4fpackager using the default settings (I only configured the input file and output path). The input file is an H.264 video several minutes long. The result is a single video file (CascadaSeg1.f4f), a single index file (CascadaSeg1.f4x) and the manifest (Cascada.f4m).
I am using the sample OSMF player linked to by the quick start guide. The player plays the sample links correctly.
When I try accessing the .f4m file I generated the video starts playing and then stops with a player message that the segment is unavailable. The network trace shows that the player asks for CascadaSeg1-Frag1, receives it, then asks for CascadaSeg1-Frag3 to which the server returns a "503 Service Temporarily Unavailable" error.
I raised Apache logging level to debug but didn't find anything useful (at least not to me :-) )
Reinstalling all components did not resolve the problem (as was suggested in a different similar discussion).
I can't even distinguish whether the problem is a packager problem or a server problem. I am trying to obtain Flash Media Server 3.8 but that will take a while, if at all.
Any ideas? Does anyone have a correctly packaged video file that I could put on my server to see if that plays correctly? Other suggestions?
All help is much appreciated.
Regards,
- NaomiThanks for the pointer. See below the output from the parser (I formatted the first rows for easier reading). I'm not sure exactly how to read it, but it seems the parser found no errors and indeed there is a Fragment 3 but no Fragment 2.
I see that between fragment 1 and 3 there is a large increase in time (twice the increase between other segments).
I don't know how to interpret afra_offset. The f4f file size is 59.1 MB - if afra_offset is a byte offset than the file is definitely large enough.
Any ideas?
Thanks!
- Naomi
f4x file parser utility
Ver 0.1
the length of the file is 1817
afra length 1817
Box name afra
version 0 flags 204
longIDs 1 longOffsets 1, globalEntries 1
timescale 1000
entry_count 0
Count time offset offset-hex
global_entry_count 56
Count time segment fragment afra_offset offset_from_afra
0 0 1 1 12486 0
1 9560 1 3 348a0b 0
2 14360 1 4 4514c9 0
3 19160 1 5 564b63 0
4 23960 1 6 6bd55b 0
5 24000 1 7 ffffffff 0
6 28760 1 8 812320 0
7 33560 1 9 960f5f 0
8 38360 1 10 a84984 0
9 43160 1 11 be4bf7 0
10 47960 1 12 d42bf7 0
11 48000 1 13 ffffffff 0
12 52760 1 14 e7dd5b 0
13 57560 1 15 fd0f2f 0
14 62360 1 16 1117b57 0
15 67160 1 17 12476be 0
16 71960 1 18 136c36b 0
17 72000 1 19 ffffffff 0
18 76760 1 20 149a611 0
19 81560 1 21 15da701 0
20 86360 1 22 16fcc72 0
21 91160 1 23 1817c72 0
22 95960 1 24 192a704 0
23 96000 1 25 ffffffff 0
24 100760 1 26 1a5e901 0
25 105560 1 27 1bb3c74 0
26 110360 1 28 1ccffb6 0
27 115160 1 29 1df7b15 0
28 119960 1 30 1f2251d 0
29 120000 1 31 ffffffff 0
30 124760 1 32 208f76a 0
31 129560 1 33 21e2bdd 0
32 134360 1 34 23665a1 0
33 139160 1 35 24c19a0 0
34 143960 1 36 25e95cc 0
35 144000 1 37 ffffffff 0
36 148760 1 38 270706b 0
37 153560 1 39 27fd359 0
38 158360 1 40 297aa79 0
39 163160 1 41 2ac43c5 0
40 167960 1 42 2be412e 0
41 168000 1 43 ffffffff 0
42 172760 1 44 2d376fd 0
43 177560 1 45 2e632c6 0
44 182360 1 46 2f9e374 0
45 187160 1 47 30e25df 0
46 191960 1 48 325d15c 0
47 192000 1 49 ffffffff 0
48 196760 1 50 33f5173 0
49 201560 1 51 3557336 0
50 206360 1 52 3699a34 0
51 211160 1 53 37df5d3 0
52 215960 1 54 38bba3f 0
53 216000 1 55 ffffffff 0
54 220760 1 56 39e62c8 0
55 225560 1 57 3ae942d 0 -
Dynamic Playlist for streaming video
This is my first attempt at building a dynamic playlist for
streaming flash video and I'm following the tutorial at
"macromedia.com/devnet/flash/articles/video_player.html". I've
changed the paths to my FMS and loaded the video files to the
applications directory of the FMS (flash_applications/videosource).
The thumbnails load and the player skin loads but the videos do not
load when I click on the thumbnails.
I've read the earlier post about this same issue. I followed
the advice from that post and reloaded the 'main.asc' file from my
Flash 8 program files but the video still does not play.
Here is a link to the site so you can see the problem:
http://media.us.elsevierhealth.com/videosource/VideoSource1.swf
My FMS is 'media.us.elsevierhealth.com'
I believe my code is correct and I believe the paths I've
created are correct. If someone could review my code and check the
path info I would appreciate it. Here is the code from
'VideoSource1.as'
import mx.video.*;
//Set up the list box, call function VideoThumb to create the
actual thumbnails
list.rowHeight = 70;
list.cellRenderer = "VideoThumb";
list.selectable = true;
//create new empty listener object
listListener = {};
nc = new NetConnection(); //create a connection
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
//connect to FCS (nav.attributes.url)
ns = new NetStream(nc); //create a stream
ns.connect(); //connect the stream
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
var stream_ns:NetStream = new NetStream(nc);
stream_ns.play("video2.flv");
// Create function to trace all the status info.
function traceStatus(info) {
Message.text+="Level: " + info.level + " Code: " +
info.code+"\n";
} // Assign this function to onStatus handlers when you
create objects.
//Function to handle what happens when an item in the list is
selected
listListener.change = function( evtobj ) {
var nav = list.dataProvider[list.selectedIndex];
var reset = true;
for ( var i = 0; i < nav.childNodes.length; i++ ) {
var stream = nav.childNodes
if ( stream.nodeName == "stream" ) {
attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320,
height:240, x:90, y:100});
//center the FLVPlayback component when FLV is ready to play
var listenerObject
bject = new Object();
listenerObject.resize = function(eventObject
bject):Void {
//center video in playback area
newx = (460 - my_FLVPlybk.preferredWidth)/2;
newy = (470 - my_FLVPlybk.preferredHeight)/2;
my_FLVPlybk._x = newx;
my_FLVPlybk._y = newy;
my_FLVPlybk.addEventListener("resize", listenerObject);
listenerObject.ready = function(eventObject
bject):Void {
my_FLVPlybk.setSize(250, 350);
my_FLVPlybk.skin = "ClearExternalAll.swf";
my_FLVPlybk.clear();
my_FLVPlybk.contentPath =
"rtmp://media.us.elsevierhealth.com/videosource/stream/_definst_/"
+ stream.attributes.name+".flv";
my_FLVPlybk.autoSize = true;
trace(my_FLVPlybk.contentPath);
reset = false;
//Add an event listener on the list, when it triggers, run
the listListener function to repopulate the list
list.addEventListener("change", listListener);
//Function that loads the XML file, parses it, and builds the
list of available video clips
var xmllist = new XML(); //setup a variable to hold the XML
xmllist.ignoreWhite = true;
xmllist.load( "playlist-demo-1.xml" ); //load the XML file
//The following gets called when the XML has been loaded
xmllist.onLoad = function( status ) {
if ( !status )
trace( status );
var entries = this.childNodes[0];
var playlists = {};
var nav = [];
for ( var i = 0; i < entries.childNodes.length; i++ ) {
var entry = entries.childNodes;
if ( entry.nodeName == "listitem" )
//builds array of video clip names
playlists[entry.attributes.name] = entry;
else if ( entry.nodeName == "menu" ) {
//builds array of available videos
for ( var j = 0; j < entry.childNodes.length; j++ )
nav[j] = playlists[entry.childNodes[j].attributes.name];
} //end else if
} //end if
//sends the array of videos to the listbox UI
list.dataProvider = nav;
} //end xmllist.onload
Any advice or troubleshooting will be appreciated. Thanks in
advance.I just used the server on Windows (as opposed to linux) and
it worked great. So the issue, at least for me and my issue (could
see the thumbnails, couldn't play the video) was windows vs. Linux.
I guess the linux version doesn't work with this exact script. Now
to put together something of my own to test to see if the linux
version works right. -
Help needed with streaming server
hello. i work with a firm that provides hosting. one of our
clients has asked if it was possible to use a streaming server from
flash. now, to try it out, i've downloaded the trial version for
the flash media server 2. i've read through the documentation, but
i still cannot make it do what i want. as an example, i've
downloaded the 'dynamic playlist' example. i've set it up
completely as it's said on the site tutorial, yet i cannot connect
with the server. before you ask, yes, the server is running and the
application is loaded. the only thing i've really changed in the
example is the url of the server inside the xml file. when i test
the flash in flash pro 8, i get the message
NetConnection.Connect.Failed, no matter what address i use, be it
localhost, the internal ip address of the firm, or the external ip
address for access via the net. admitted, i'm not the most
knowledgable person on flash, but i still need to get that server
running.
obviously, my boss wants that server up and running as soon
as possible. can someone help me to set it up so i can make a
connection with the server?
i can be reached at [email protected] thanks in advance to those
willing to help.Hi,
please try this sample:
http://www.adobe.com/devnet/flashcom/articles/broadcast.html
The simplest sample works like this:
1. Create a subdirectory in your [FMS_HOME] called "tutorial"
2. Create a subdirectory in tutorial called "streams"
3. Create a subdirectoy in streams called "video" (or use
_definst_)
4. Create a flv file using Flash Video and save it in your
"video" directory.
The server structure should look like this:
[FMS_HOME]
|------- applications
______|---------- tutorial
____________|---------- streams
___________________|----------- video
___________________________|---- videoToPlay.flv
Now you can play the stream from within your flash
application.
The quickest application is created like this:
1. Create a video instance (right click in "Library" and
select "new video", name it "video" and make sure it's action
script controlled. Then pull it onto the stage and make sure you
give the instance a name, e.g. "myVideo")
2. Now you need 5 lines of code.
// a connection
nc = new NetConnection();
nc.connect("rtmp://localhost/tutorial/video"); // Important:
No / (slash) at the end
// Create stream onto your connection
ns = new NetStream(nc);
// Link your display to the stream
myVideo.attachVideo(ns);
// myVideo is the name of your video's instance (see above)
// play the video
ns.play("videoToPlay");
// videoToPlay for videoToPlay.flv
I hope this helps! -
Dynamic Playlist for Streaming Video Errors
I'm using Lisa Larson's tutorial on the adobe website to
create a dynamic playlist from an XML file to work with out FMS
server. After playing around with it for an hour I finally got it
to connect to the FMS and generate the thumbs but it won't stream
any of the videos. When I click on the list item the video player
comes up but doesn't load a video. Any ideas? The live log in the
FMS console is giving me this error: "
Error:
command msg sent before client connection has been
accepted."
This is the link for the tutorial
http://www.adobe.com/devnet/flash/articles/video_player.htmli don't even get to see the thumbnails! i've left one of the
original addresses in the xml, and that one always loads, both
thumbnails and stream. however, every other one i've changed a
number of ways, i never get any thumbnails nor streams. while
testing the movie with flash 8, i get the output that the first
connection (the original one) is a success, but all others are
failed. in the xml, do you have to put the port in too? cause i've
tried that, but it makes no difference whatsoever... -
Will i need to have streaming server
Hello and happy saturday,
I have not used robohelp before, and thought I would download
the trial. but
just a quick question.
when I create a robohelp application, do I need to put it on
a streaming
server, I am confused as to what to do when I have all
created as, I wouldnt
want my user to get to my page and then have to wait ages for
it to open. I
was going to use captive to capture me doing some things with
somftware and
create a small tutorial, I want to use that with robohelp.
should I or will i need to have my application on a streaming
server, if so
can any one recomend some where that i can page a few dollars
a month that
is ok.
best regards
kennyThanks you very much
gratefully appreciated
Kenny
"johndaigle" <[email protected]> wrote in message
news:f2ncae$sa5$[email protected]..
> Hi, Twocans
> Rick is right on. If I could expand a bit in case others
are lurking with
> similar questions. One of the great things about Adobe
Captivate is that
> the
> Flash player is so common in all web browsers these
days, most everyone
> can
> view them quite easily. More and more authors are using
camcorder video to
> illustrate real life situations to users and not just
talking heads.
>
> The Flash Video format (FLV) is now supported by Adobe
Captivate and Adobe
> RoboHelp. This is where the Flash Streaming Server Rick
referred to may be
> involved. Fortunately in most cases I've not found it
necessary. You can
> just
> include your Captivate movie (with or without FLV) into
your RoboHelp
> project
> and publish to your webserver. If you are using FLV, you
would want to add
> the
> file to the Baggage virtual folder.. If you have a bunch
of FLV video and
> this
> is a major part of your project, then it might be worth
the extra
> investment
> to host them on a Flash Streaming Server (your own, or a
hosted server).
> Meanwhile, if you'd like to read more about ways to
include movies into
> RoboHelp projects, check out my article on the Adobe
Developer Center.
>
>
http://www.adobe.com/devnet/captivate/articles/cp_rh_integration.html
>
> While, you're there, check out the many other articles
by Rick Stone,
> Peter
> Grainge, Craig Clarke and Matthew Ellison.
> The developer center is one of Adobe's best kept
secrets. I'm surprised
> many
> folks simply don't know about it.
> Thanx,
> john
> -
Problems with FMS2 streaming flv through xml playlist
I've been testing for the first time FMS2 and has been quite
a pain to make it work, I've been able to stream a single flv file
but now that I've tried to stream multiple flv using a xml playlist
(using the same example provided in
http://www.adobe.com/devnet/flash/articles/video_player.html)
and it wont work.
I have IIS and FMS2 in the same computer.
In the example provided by Adobe was an error in
VideoSource.as in line originally was:
my_FLVPlybk.contentPath = nav.attributes.url + "/_definst_/"
+ stream.attributes.name+".flv";
And had to change "/_definst_/" to "_definst_/" to make it
work, since path are:
rtmp://localhost/videsource/_definst_/fish.flv for example
and not:
rtmp://localhost/videsource//_definst_/fish.flv
Once that was solved and tested it works locally (in the same
machine where the server is installed) but when testing from
another computer it doesn't stream any videos.
All the files are place the way it supposed to be in:
\applications\videosource\streams\_definst_ (here are the
videos)
\applications\videosource (here is the main.asc)
Then in IIS:
\Inetpub\wwwroot\playlist (playlist-demo-1.xml,
VideoThumb.as, VideoSource.as, VideoSource2.html, VideoSource2.swf,
SteelExternalAll.swf).
When tested local with
http://localhost/playlist/VideoSource2.html
or
http://localhost/playlist/VideoSource2.swf
works, but
when trying from another computer in the same network or
outside with
http://my_server/playlist/VideoSource2.html
wont stream like I said before.
In the single flv stream (without xml playlist) I seem to be
able to stream, just made a .fla with a FLVPlayback component
pointing to: rtmp://localhost/test/_definst_/test.flv
And trying
http://my_server/test.html
works fine.
I've done the following:
1. Added a MIME type to IIS for .flv and .swf
2. Vhost.xml is open for all networks
(<Allow>All</Allow>)
3. Change the Global Security Settings for the Flash Player
to access the .flv on the IIS server.
4. No firewalls activated (for testing purposes).
And it works with the single .flv stream but not with the
xml playlist and I've run out of ideas or what to do, so I'm in
need of anyone who can help me out and give me some insight.
Thanks in advance.Sounds like a Flash Player security issue because you are
running from a desktop. One of the items that can be different
between Test Movie and a published test is security and any
internet protocol. Flash Security errors fail silently.
Look at
NetConnection.connect
method for the security warnings and references.
If you plan to deploy from a web server, test there and it
will likely work. -
Cant stream from Live Encoder to Media Server, Help!!
Hi, I'm new to Adobe Flash and I'm just trying out the Flashe Media Server 4.5 to stream live video on a local machine. I'm using a FLME 3.2 to capture the video from my digital camera, which works fine, and I can connect to the server with no worries as well. But I have issues streaming the content in the Sample Video Player that comes with the server.
I've followed this tutorial:
http://www.adobe.com/devnet/flashmediaserver/articles/single-live-video-stream-http-flash- ios.html
... with no luck what so ever.... the player refuses to to play back any content.
I've also tried playing some sample videos on it.... it even refuses to play those. What could be the problem??I guess you are trying the sample player to either play streams on RTMP protocol or HTTP through HDS. Sample video player will not work for HTTP streaming on ios devices. That needs to be run on safari on i-devices.
If you are using the HTTP streaming on HDS, you may susbscribe to :
http://localhost:8134/hds-vod/sample1_500kbps.f4v.f4m to play sample videos on sample video player.
In case you are doing same and still not able to play the video, then make sure:
1. Apache service is started.
2. Videos are placed inside <FMS installation>/webroot/vod -
I am working on developing a capability for two client
programs to teleconference through a Flash Media Server.
I need to be able to support high quality video, 640x480 at
30 fps. I began by following the tutorial in "Beginner's guide to
streaming live video with Flash Media Server 3 by Tom Green. The
website is
http://www.adobe.com/devnet/fashmediaserver/articles/beginner_live_fms3.html
I was able to use the Flash Media Encoder to save video to a
file and play it back in Flash. I ran into some trouble when I
attempted to stream live video following his example. I published
from the publish settings dialog. This resulted in the html and swf
files being created. I next opened the html file to attempt to view
the video stream. The Flash Media Encoder is running and streaming
video to the Flash Media Server. When I opened the html file I got
a message box that says Adobe Flash Security. It said "Adobe Flash
Player has stopped a potentially unsafe operation." It said the swf
file is trying to communicate with localhost, an Internet-enabled
location. There is a settings button that is supposed to let you
allow the application to communicate with the Internet. When I
clicked on it the settings manager did not open as expected but a
dialog stating that an ActionScript error has occurred. It says
Security Error #2028.
What this ended up meaning was that I had to add the swf file
to the trusted list in the settings manager.
Because my browser was blocking popups I was unable to see
the settings manager to be able to address the
problem. I turned blocking off and was able to see the
settings manager dialog. In the settings manager dialog I was
able to add the swf as a trusted file. When I did this it
immediately worked.
There is a time lag in the client program though of about a
second and a half. I don't have any ideas yet on why this is. Maybe
this will go away when the encoder is removed. I need to be able to
have the client programs connect and publish directly without
having to run an encoder on each client site. Does anyone know if
this will fix the lag problem or if there is something else I could
do to fix it?Hey freinds,
This can be done using RTSP protocol. Basically its streaming video from rstp server and/or http server. Any ideas, suggestions for that.
Give me some helpline guideline to work on it.
Looking ahead for your responses.
Edited by: TruptiD on Jul 28, 2010 3:46 AM -
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. -
HDS live streaming to Flash not working
Adobe Flash Media Server 4.5.5 r4013
Windows 2008
Sources:
http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html
http://www.adobe.com/devnet/adobe-media-server/articles/live-multi-bitrate-video-http-flas h-ios.html
Live streaming a single or multi-bitrate video over HTTP to Flash does not work. I have followed the instructions on the 2 sources listed above repeatedly, but I can’t get live streaming over HTTP to Flash to work. Live streaming to iOS over HTTP works with no problems (single and multi-bitrate streams).
I have tried the troubleshooting steps from the following:
http://help.adobe.com/en_US/flashmediaserver/devguide/WS0432746db30523c21e63e3d12efac195bd -8000.html
Troubleshoot live streaming (HTTP)
1. Services window (Windows): Flash Media Server (FMS), Flash Media Administration Server, and FMSHttpd services are running. ✓
2. Verified that the request URL is correct. ✓
3. Configured ports:
a. Configure Apache to use port 80. Open rootinstall/Apache2.2/conf/httpd.conf in a text editor. Change the line Listen 8134 to Listen 80.
b. Configure Flash Media Server not to use port 80. Open rootinstall/conf/fms.ini in a text editor. Remove 80 from the ADAPTOR.HOSTPORT parameter so the parameter looks like the following: ADAPTOR.HOSTPORT = :1935 ✓
4. Placed a crossdomain.xml file to the rootinstall/webroot directory. ✓
5. In Flash Media Live Encoder, select the Encoding Options tab, choose Output from the Panel options menu, and verify the following:
a) The value of FMS URL is rtmp://fms-dns-or-ip/livepkgr. If you’re testing on the same server as Flash Media Server, you can use the value localhost for fms-dns-or-ip. ✓
b) For a single stream, the value of Stream is livestream?adbe-live-event=liveevent. ✓
c) For adaptive bitrate streaming, the value of Stream is livestream%i?adbe-live-event=liveevent. ✓
Flash Media Live Encoder uses this value to create unique stream names. To use another encoder, provide your own unique stream names, for example, livestream1?adbe-live-event=liveevent, livestream2?adbe-live-event=liveevent.
The encoder is showing all 3 streams being published and streaming.
6. Check Administration Console: the livepkgr application and the 3 streams are running. ✓
7. Check the logs for errors. Flash Media Server logs are located in the rootinstall/logs folder. The master.xx.log file and the core.xx.log file show startup failures. Apache logs are located in the rootinstall/Apache2.2/logs folder. X
a) core00.log: these errors did not occur every time that I tried playing the live stream but these are the only relevant errors in the logs.
1. 7968 (w)2611179 Warning from libf4f.dll: [Utils] [livestream2] Discarded all queued Media Messages received before first Video Keyframe Message
2. 7968 (w)2611179 Warning from libf4f.dll: [Utils] [livestream3] Discarded all queued Media Messages received before first Video Keyframe Message
b) edge00.log:
13:33:57 4492 (w)2641213 Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Application (hds-live) is not defined. -
c) Apache-Error:
1. [warn] Checking if stream is disabled but bootstrap path in event file is empty for event:livepkgr/events/_definst_/liveevent stream name:livestream
2. [warn] bootstrap path is in event file is empty for event:livepkgr/events/_definst_/liveevent stream name:livestream1
As I mentioned, everything works on iOS and FMS seems to be creating all of the stream segments and meta files:
a. The 3 streams are being created in: HD:\Program Files\Adobe\Flash Media Server 4.5\applications\livepkgr\streams\_definst_
b. FMS is creating the following files in each stream folder (livestream1, livestream2, livestream 3):
1. livestream1.bootstrap
2. livestream1.control
3. livestream1.meta
4. .f4f segments
5. .f4x segments
The appropriate files are also being created in the HD:\Program Files\Adobe\Flash Media Server 4.5\applications\livepkgr\events\_definst_\liveevent folder, in which I have the following Manifest.xml and Event.xml files:
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<media streamId="livestream1" bitrate="200" />
<media streamId="livestream2" bitrate="500" />
<media streamId="livestream3" bitrate="1000" />
</manifest>
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>4000</FragmentDuration>
<SegmentDuration>16000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
I’ve tried clearing the contents of both streams\_definst_ and events\_definst_\liveevent (keeping the xml files) after restarting the encoder, and creating a different event definst for the streams (liveevent2 for example).
We have an event in 2 weeks that we would like to stream to both Flash and iOS. Any help in solving this problem will be greatly appreciated.One step closer:
Changed the crossdomain.xml file (more permissive settings).
Changed the encoding on FMLE to vp6. Working somewhat (don't know what I did to make it start streaming through hds).
But at least now I can get the individual streams in the set manifest file to work:
http://localhost/hds-live/livepkgr/_definst_/livevent/livestream1.f4m
http://localhost/hds-live/livepkgr/_definst_/livevent/livestream2.f4m
http://localhost/hds-live/livepkgr/_definst_/livevent/livestream3.f4m
BUT when I try to play the streams through the set manifest file from http://localhost/liveevent.f4m I'm getting the following error:
"The F4m document contains errors URL missing from Media tag." I'll search the forums to see if anyone else has come across this problem.
I used the f4m config tool to make the file. These are the file's contents:
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<baseURL>http://localhost/hds-live/livepkgr/_definst_/liveevent/</baseURL>
<media href="livestream1.f4m " bitrate="200"/>
<media href="livestream2.f4m " bitrate="500"/>
<media href="livestream3.f4m " bitrate="1000"/>
</manifest>
Thanks
Maybe you are looking for
-
10g R2 Client Installation Problem on Windows 2003 64 bit itanium
Hi, When I click on the setup.exe, i am getting the following..and not getting setup screen Using paramFile: E:\oracle_client\10g_winIA_client_102010\client\install\oraparam.ini No pre-requisite checks found in oraparam.ini, no system pre-requisite c
-
How many users can I import at one time?
Is there a limit on how many users I can import at one time? Also, how about other record types (Lead, Opportunity, Contacts ...etc.) Is there a limit on these also? Where in the documentation that I can find info for this please? I'm using CRMOD Rel
-
Reports error (Very Urgent)
Hi, When my client runs one report say xxxx he is dealing with 2 problems: 1) When he executes the report the menu bar does'nt show the options like "List" or "Settings" or "System" like we get in any reports also earlier it was working fine so if ca
-
IPhoto has stopped running for me.
When I try to open the iPhoto I get the following message: "Aperture library needs to be upgraded.To open this Aperture library in iPhoto, you need Aperture 3.3 or later. Click Update Aperture to buy the latest version of Aperture from the Mac App St
-
Sending print data..... Epson printing woes
Connected to my Macbook Pro 17" (10.6.2) is my relatively (Important bit) Epson R285 printer. The other day it started to refusing printing full stop. I would send a print job, and get the external 'Sending print data....' and that would be it. I tho