Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-19-2009, 05:16 AM   PM User | #1
outlawboarder
New to the CF scene

 
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
outlawboarder is an unknown quantity at this point
Cool dynamically generated swf files

I was wondering if I one knows where I could find how to generate swf files on the fly. I know that ming is one option but due to my server environment for a particular website I'm working on, that is not an option. So, I need to use some combination of flex, actionscript, php, and javascript. I know in some forums people haven't wanted to delve into this issue because I'm told it's somewhat an advanced topic. However, I'm not really worried about it being too advanced. I would be gratefull if someone could just point me in the right direction. I'm hoping to accomplish this task for two purposes. One is just to gain the knowledge of how to do it so that I can use the knowledge in future applications. So, generallity and abstraction is fine. The more immediate reason is that I'm designing a website for a client that wants to be able to upload digital videos in avi format to the web and using a combination of the scripting languages I mentioned above, have the videos display in swf format. Thanks in advance for any advice you might give.
outlawboarder is offline   Reply With Quote
Old 01-19-2009, 07:53 AM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Well for a video sharing site like that, you don't need to develop SWF files on the fly. You need to produce .FLV files, and then have a default video player that loads the FLV.

Flex isn't needed, the only Javascript needed is to embed the files, and the PHP would be the most needed.

http://www.adobe.com/products/flashmediaserver/ here is the official products to do this.

You can also use FFMPEG (http://ffmpeg.org/) which can convert AVI to FLV.

Its not as much an advanced topic as it is just difficult to get it all to work properly together. I haven't tried FFMPEG but know others say its great. If the s cale of your project is relatively small, it should be fine, otherwise you'd have to go enterprise with media server.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 01-21-2009, 05:17 AM   PM User | #3
outlawboarder
New to the CF scene

 
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
outlawboarder is an unknown quantity at this point
I know that I don't necessarily need to generate swf files on the fly for the application that I'm working on. However, I would like to know for curiosity's sake. Right now I'm just trying to expand my computer science and programming knowledge base.
outlawboarder is offline   Reply With Quote
Old 01-21-2009, 09:03 AM   PM User | #4
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
I've never used anything, but I saw a library that seems to do it besides MING

http://sphing.sourceforge.net/

I don't think that its a very useful tool to attempt if you want an opinion, so if you want to expand then I would pick up Flex, there is an emerging market for developers in Flex.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 01-21-2009, 03:45 PM   PM User | #5
Samhain13
Regular Coder

 
Samhain13's Avatar
 
Join Date: Aug 2008
Location: Pilipinas
Posts: 165
Thanks: 4
Thanked 18 Times in 18 Posts
Samhain13 is on a distinguished road
A bit OT, but:

Quote:
Originally Posted by jeremywilken View Post
I haven't tried FFMPEG but know others say its great.
It depends on which source you get. I use Ubuntu (8.04) and the stock FFMpeg in the repositories AFAIK doesn't do FLV. So I get the stock from the Medibuntu repositories— but I've heard it's no longer available for 8.10, or something to that effect.

But yeah, using the right source, it's a formidable tool.
__________________
I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
** Independent Multimedia Artist in Pasig **
Samhain13 is offline   Reply With Quote
Reply

Bookmarks

Tags
avi, dynamic, flex, php, swf

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:27 AM.


Advertisement
Log in to turn off these ads.