Groups | Blog | Home
all groups > macromedia flash flashcom > march 2006 >

macromedia flash flashcom : FLV Playback!


::: robman :::
3/31/2006 5:04:06 PM
Anyone work with FLV Playback??

Ive many problems in Fms2 with rtmp://filename.flv in it...

It doesn't work!!!

Any suggestions??

Rob

stoem
4/4/2006 12:00:00 AM
::: robman :::
4/4/2006 3:42:51 PM
NO NO! also with application name!

....like rtmp://streams/test.flv it doesnt work! try!

"stoem" <webforumsuser@macromedia.com> ha scritto nel messaggio
news:e0thse$o6s$1@forums.macromedia.com...
[quoted text, click to view]
won't work. You need an application name at least in your connection string.

bjohnson2
4/5/2006 4:27:14 AM
Check out my recent post about FMS and FLVPlayback. I'm having similar
problems. My FMS2 server works fine when I access FLVs using NetStream, and the
application I'm testing works fine when pointed at someone else's FMS server,
but it doesn't work with mine. I'm missing something that's probably very
simple, but most of the docs I've read on this don't point out any key things
that I might be missing, and there's not a whole lot of debug information to
help me track down the problem. Kinda frustrating being a newcomer to Flash.
stoem
7/3/2006 10:34:26 AM
have you tried omitting the .flv extension?

nickdjones
7/7/2006 4:40:57 AM
I'm also having this issue. I've spent most of the last couple of days crawling
through the PDFs for client and server side AS, along with the technotes and
samples, attempting to get a clear understanding of how to get SMIL XML based
dynamic bandwidth streaming from FMS2. I've been able to code from scratch a
nice NetStream based solution, but really want to use the dynamic bandwidth
management and loose coupling of the SMIL based solution. Currently I've got
the following setup:

Windows 2003 Server
IIS 6
serving a swf containg the following button which dynamically loads the smil
file from the same directory as the swf:
on( click ){
import mx.video.*;
_root.vid_ctrl.contentPath = "http://localhost/flashVid/streams.xml";
trace( "contentPath: "+ _root.vid_ctrl.contentPath );
var listenerObject:Object = new Object();
listenerObject.metadataReceived = function(eventObject:Object):Void {
_root.vid_ctrl.setSize(vid_ctrl.preferredWidth, vid_ctrl.preferredHeight);
_root.vid_ctrl.seek(4);
trace( "contentPath after metadata: "+ _root.vid_ctrl.contentPath );
}
_root.vid_ctrl.addEventListener("metadataReceived", listenerObject);
}
[from livedocs article:
http://livedocs.macromedia.com/flash/8/main/00003539.html]

This is the content of the XML SMIL file:
<smil>
<head>
<meta base="rtmp://localhost/bls_videos/_definst_" />
<layout>
<root-layout width="320" height="256" />
</layout>
</head>
<body>
<switch>
<video src="Bag-mask 1 resc (512)" system-bitrate="512000" />
<video src="Bag-mask 2 resc (512)" system-bitrate="128000" />
</switch>
</body>
</smil>

I can see in my server log for the bls_videos app that a connection is being
made, but no streams are showing on the streams tab, and no response on the
client. The following is logged on server when the connection is made:
welcome[object Client]
Error : command msg sent before client connection has been accepted.
Error : command msg sent before client connection has been accepted.

The Welcome is a trace line I put into the main.asc to ensure it was getting
called. Not sure what the error is about.

Any more detailed information on using the SMIL XML files for streaming -
particularly a fully worked end to end example, would be useful.After trawling
through the various online and offline docs on this subject there is very
little to guide anyone.

thanks
Nick
whattevva
7/11/2006 9:22:42 PM
I'm having the same problem with a relative link to a "progressive download"
file on a standard (http) web server. The linked video plays fine from my
harddrive, but when all parts are posted to a web server, the only part that
can't be found is my linked .flv file (and it won't play)...

:frown;

I've also tried to absolute link to the same .flv file I've posted to the web
server (through the original .fla file) which I can see on my web server, and
it tells me the file can't be found...?

Does it require a specific type of web server to work properly - I know my
absolute link is correct, and all documentation I read about the relative link
indicates it should work as long as the web server files mirror my computer's
files (which they do)... any advice would be greatly appreciated - it's
maddening...

Thanks!
nickdjones
7/11/2006 9:35:57 PM
A couple of things to check:

If you are getting the can't find file issue while in the Flash development
environment, I found that placing the file on the server, and then trying to
view the file separately through its own URL in Internet Explorer on the
machine you're developing on for some reason allows the Flash IDE to find the
file. I guess it must be in some interdependent with Internet Explorer..

If you can't access the file separately from its own URL then its possible
your web server hasn't had the MIME type for .FLV set up, and doesnt allow it
to be served. You can check this by reviewing the MIME settings:


http://blogs.ittoolbox.com/c/engineering/archives/adding-flv-mime-type-in-iis-41
98


http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=Flash_MX_2004&file=00000868.html




cheers
Nick
whattevva
7/12/2006 12:56:33 PM
Nick - you rock! Thanks - I haven't checked it yet, but that has to be it as I
can't view the independent file from it's URL (as you suggested trying) on the
server - and I'm sure it hasn't been configured as this is the first we've
tried .flv formats...

Many thanks!!
Jesse
barfine
12/1/2006 1:33:41 PM
i just setup a brand new windows 2003 server and it didn't have the mime for
..flv and added just now as suggested.

got excited for about 1 minute, but still can't get streaming working....

http://66.235.194.204/test/videosource2.html
AddThis Social Bookmark Button