Re: [Flashcoders] Question: FMS 2 and CMS managed FLV files

2007-04-05 Thread Jon Bradley


On Apr 4, 2007, at 2:54 PM, john robinson wrote:

So the Flash front-end gets this path from the CMS, correct? If  
that's the case, then in your Java application, you you then copy  
the actual flv somewhere like so:


"FMS/applications/myApplication/streams/347/filename.flv"


That's one problem I have to overcome. The files that FMS would read  
(or any streaming solution that can run alongside Tomcat) cannot be  
copied to some 'streaming' directory. We're talking about hundreds of  
hours of broadcast footage that need to be organized in a specific way.


The paths would need to be dynamically generated by the CMS and those  
paths fed to the streaming server.


With the path you provided, you should be able to rip it apart in  
Flash and build the correct FMS path from there. Does that help at  
all? You shouldn't need to setup virtual paths at all. If you do  
need to setup virtual paths, I believe the FMS has an admin service  
that you could call from your Server-side AS to add those virtual  
paths dynamically as needed.


I thought of doing some server-side AS but then I run into the  
problem that each separate asset is contained in a separate folder  
along with all it's transformations - thumbnails, 00:00:10 FLV  
previews, storyboard jpg sequences, etc. I'd hate to have to add  
virtual paths all over the place.


Anyhow, I think my question at this point is probably well OT for the  
list so I'll see if I can find a FMS list or something where I can  
pose the question. I've never used FMS (from an administrative  
standpoint) so it'll be an interesting learning experience.


thanks for the help john.

jon



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question: FMS 2 and CMS managed FLV files

2007-04-04 Thread john robinson


On Apr 4, 2007, at 7:54 AM, Jon Bradley wrote:



On Apr 3, 2007, at 10:34 PM, john robinson wrote:



On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote:


I've got a bit of a question that I'm trying to wrap my head around.

Can Flash Media Server 2 take dynamic paths to FLV content?


As long as the path exists, then yeah it should be fine. I'm not sure 
if I understand your question correctly though. Are you saying you'll 
get a path like below from the CMS?


"someserver.com/flash/videos/somefolder/somevideo"

If that path exists on the FMS, then it shouldn't be a problem at all.



A bit different actually. The CMS system and application we are 
building is written with Java running on Apache Tomcat. File system 
paths will be stored like follows:


serverURL/fileServlet/filename.flv?GET_ITEM_ID=347&TransformationID=234



So the Flash front-end gets this path from the CMS, correct? If that's 
the case, then in your Java application, you you then copy the actual 
flv somewhere like so:


"FMS/applications/myApplication/streams/347/filename.flv"

With the path you provided, you should be able to rip it apart in Flash 
and build the correct FMS path from there. Does that help at all? You 
shouldn't need to setup virtual paths at all. If you do need to setup 
virtual paths, I believe the FMS has an admin service that you could 
call from your Server-side AS to add those virtual paths dynamically as 
needed.


John


Where the item id is a link to the metadata of the asset stored in a 
database and the transformation id is the transformed file from that 
asset. Our servers (flip factory, etc) will generate low res previews 
and a high res FLV from the original asset, which is mpeg-2.


I can probably build a direct path on the HD to the file, but from 
what I gather, you need to edit virtual paths in FMS for it to 
recognize the location of the files. I can't do this because each 
'asset' is a collection of files, including the FLV I want to stream. 
Each asset is a folder basically and there may be lots of 'em - 10s of 
thousands.


I don't know. Maybe it's server-side AS that grabs the path from the 
client side application (also flash) and somehow uses it to retrieve 
and stream the file. This is definitely unchartered AS territory for 
me.


I'm testing the dev edition of FMS to get a grips on whether or not 
it'll be best for the job. Red5 or some other tomcat-type installation 
of a streaming server may be a better selection as I look into it 
more.


thanks,

jon

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question: FMS 2 and CMS managed FLV files

2007-04-04 Thread Jon Bradley


On Apr 3, 2007, at 10:34 PM, john robinson wrote:



On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote:


I've got a bit of a question that I'm trying to wrap my head around.

Can Flash Media Server 2 take dynamic paths to FLV content?


As long as the path exists, then yeah it should be fine. I'm not  
sure if I understand your question correctly though. Are you saying  
you'll get a path like below from the CMS?


"someserver.com/flash/videos/somefolder/somevideo"

If that path exists on the FMS, then it shouldn't be a problem at all.



A bit different actually. The CMS system and application we are  
building is written with Java running on Apache Tomcat. File system  
paths will be stored like follows:


serverURL/fileServlet/filename.flv?GET_ITEM_ID=347&TransformationID=234

Where the item id is a link to the metadata of the asset stored in a  
database and the transformation id is the transformed file from that  
asset. Our servers (flip factory, etc) will generate low res previews  
and a high res FLV from the original asset, which is mpeg-2.


I can probably build a direct path on the HD to the file, but from  
what I gather, you need to edit virtual paths in FMS for it to  
recognize the location of the files. I can't do this because each  
'asset' is a collection of files, including the FLV I want to stream.  
Each asset is a folder basically and there may be lots of 'em - 10s  
of thousands.


I don't know. Maybe it's server-side AS that grabs the path from the  
client side application (also flash) and somehow uses it to retrieve  
and stream the file. This is definitely unchartered AS territory for me.


I'm testing the dev edition of FMS to get a grips on whether or not  
it'll be best for the job. Red5 or some other tomcat-type  
installation of a streaming server may be a better selection as I  
look into it more.


thanks,

jon

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question: FMS 2 and CMS managed FLV files

2007-04-03 Thread john robinson


On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote:


I've got a bit of a question that I'm trying to wrap my head around.

Can Flash Media Server 2 take dynamic paths to FLV content?


As long as the path exists, then yeah it should be fine. I'm not sure 
if I understand your question correctly though. Are you saying you'll 
get a path like below from the CMS?


"someserver.com/flash/videos/somefolder/somevideo"

If that path exists on the FMS, then it shouldn't be a problem at all.

john

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Question: FMS 2 and CMS managed FLV files

2007-04-03 Thread Jon Bradley

I've got a bit of a question that I'm trying to wrap my head around.

Can Flash Media Server 2 take dynamic paths to FLV content?

We're working within the constraints of a pretty high end post  
production solution that will end up storing many hours of video  
content, probably in MXF format in a high-res storage environment.  
There will be FLV files generated from this original content and  
stored in alternate locations.


Right now as I understand it, FMS requires you to determine virtual  
directory paths. Unfortunately, these paths will need to be entirely  
dynamic (edge-type system) and may include both network and local  
system paths.


The web front end will read file information from the CMS and pass a  
dynamically generated location path to FMS for it to grab the FLV  
file to stream (the file will not have an flv extension either).


Has anyone done anything like this or knows if this is even possible?  
I can't seem to find any resources that goes into this depth. Bunch  
of bright people here so I figured I would ask.


cheers,

Jon
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com