View Full Version : Stoked for the video
WrinkledCheese
04-29-2009, 05:43 PM
I just got this running about 30 minutes ago and I've been going through the documentation and I just had a few questions.
1) I want to make a video player that will have many different videos and I would like to use the same compiled swf. Is there any way I can do that? Pretty much just like YouTube.
I'm familiar with other programming languages like VB.NET, ASP.NET, PHP, HTML, JavaScript, CSS and I'm slightly familiar with a slew of others like c/c++, java etc.
I'm hoping I can use the scripting language(seems like JavaScript/ECMA Script)to set a dynamic video URL.
2) Will the server that's hosting the swf file have to have OpenLaszlo installed? I'm not quite sure how this works yet but I'm sure I will figure it out with time.
kmeixner
04-30-2009, 08:24 AM
I just got this running about 30 minutes ago and I've been going through the documentation and I just had a few questions.
1) I want to make a video player that will have many different videos and I would like to use the same compiled swf. Is there any way I can do that? Pretty much just like YouTube.
I'm familiar with other programming languages like VB.NET, ASP.NET, PHP, HTML, JavaScript, CSS and I'm slightly familiar with a slew of others like c/c++, java etc.
I'm hoping I can use the scripting language(seems like JavaScript/ECMA Script)to set a dynamic video URL.
2) Will the server that's hosting the swf file have to have OpenLaszlo installed? I'm not quite sure how this works yet but I'm sure I will figure it out with time.
Hi,
OpenLazslo supports playback of video that has been transcoded to SWF or FLV format, it cannot play video in any other formats than these. It is possible to make a video player as a standalone (SOLO-mode) SWF in OpenLaszlo and load different video URLs into it as long as they are in a format OpenLaszlo supports.
Kevin
WrinkledCheese
04-30-2009, 05:32 PM
I don't care about format. The less bandwidth the better so long as the quality is sustainable for average viewing. Not sure if I will implement a full screen mode but I will probably limit video to NTSC, maybe slightly larger. This will most likely start off as a not-for-profit site. Probably running out of my 'basement'.
Thanks!
WrinkledCheese
04-30-2009, 08:10 PM
Well, I'm ready to start working with OpenLaszlo Code.
I took my little cheap assed video camera and made 4 AVIs. My video camera saves them in a format with MJPEG(.avi) for video and PCM_MULAW(???) for audio.
Using FFMPEG and LAME I converted this MJPEG video using the following command line in Linux:
ffmpeg -vcodec mjpeg -i pict0001.avi -ar 11025 -acodec libmp3lame minTest.flv
This produced an error:
[libmp3lame @ 0x88d4b70]lame: output buffer too small (buffer index: 9404, free bytes: 388)
However, after reading some audio conversion from wav to MP3. This error isn't really anything to worry about. After playing the file in xine. I noticed absolutely no change between the AVI and the FLV. I then used the OpenLaszlo Programming Reference (http://www.openlaszlo.org/lps4.3/docs/reference/) and went to the Audio Video section. I loaded up the sample for <videoview> and used the edit button. After copying the flv file onto my webserver(my public_html directory in my home directory on my PC). I used that URL, using DynDNS as a DNS server in the code and everything worked fine.
Now I just have to code my video player and set up a facility for users to load up videos and use FFMPEG and LAME to convert them into FLV and then write some CSS for my site.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.