For a client, i need to write a complex application used to stream tv episodes in flash format, at least, the player will be in flash.
It's a first for me, and i've a lot of question, since i don't really know about streaming.
But well, first, here is the constraints :
Mac server (might be migrated to linux)
PHP5
Flash
external library could be used with PHP
What i need to do at first, is to write some app (php, python, shell), or find one to convert over 500 quicktime videos to be able to be read within a flash player.
Then, i'll a back office, to add videos with meta data (the meta data will be simple html inputs), and, here is an important part of the project, the ability to generate chapters for each video (manually), the client will choose the start of a chapter, give it a name.
My questions :
Is there any flash player able to do that ? or will i have to use 'playlist' such as youtube to simulate chapters ?
Will it be easy to use the quicktime video within a flash player ?
What would be your advices for such application ?
Thanks
You're probably going to want to install and run ffmpeg to convert quicktime movs to flv or f4v. You may be able to add cue points (chapters) by using something like FLVtool.
Related
Are there any scripts that I can buy to display pdf, ppt, doc attachments on my site - inline, so users don't need to download them to view it.
I run a knowledgebase which contains various documents uploaded by users - so trying to find a way to make it easier for them to view the files before download.
Google document viewer may work - but the terms of service does not allow us to build a preview application like slideshare. Anything else anyone has used to do something like this?
Does your site run on wordpress ?
If yes,you can use the google doc embedder plugin.
I don't think there is presently any straightforward way to display, say, a .ppt in a browser; other than of course, converting it so as to be suitable for a flash player, or html5 player, as is SlideShare's case. I might however, be wrong on this.
SlideShare has a whole lot of document conversion architecture built on Amazon EC2 for the same. [Refer to this post on the SlideShare Engineering Blog].
Alternatively, there is Zoho Viewer - which is going to close down by the end of 2012. There was also PdfMeNot, but I don't think it exists anymore
I want to develop a Movie information Database and Video Streaming website. I am wondering is there any off the shelf script available for the same ?
Please share some information regarding the same..
I would prefer it to a PHP script
I don't know if there's already a solution for this, but the steps to achieve something like you want are not that hard.
Here's what you need:
Backend for Storing and Delivering files (Simple CRUD) and basic database access
Cron or something like this to convert your uploaded Videos into FLV/HTML5 Video (see ffmpeg)
Frontend to display your encoded videos (see http://videojs.com/)
you can use the html5 video tag
Images for every youtube videos are hosted their server. You can image of any frame and can display on your site.
I want to do same with other video sites without using getting ffmmpeg installed. Because my share hosting service will not le me do this.
Please suggest me on the same. I want to do it in PHP
It won't work, at least given two conditions:
The video sites don't provide an API for you to extract arbitrary frames from the video. If they do, your solution will be video provider specific.
You don't want to write your own video decoder for the codec (for example H.264) in PHP. Note that this would be a extremely difficult task and the decoder would be really slow if implemented completely in PHP.
Point 1 is rather improbable, at least I don't know of any video site that does this. Point 2 is really really a lot of work, I'd say it's impossible without deep and profund knowledge of the video codec.
So I guess, your best starting point is to either drop this feature or use a hoster that offers you ffmpeg.
I just need to be pointed in the right direction - I can research after knowing the best tools.
The idea is to have a list of audio tracks (guitars, bass, vocals...etc) which are uploaded by different users. I want a user to be able to select which tracks to listen back to then dynamically generate a new stream/file of the selected tracks which is played back or downloaded.
I have no idea where to start (use php to select tracks send to flash for playback?, or do I send it to a command line function? write some java?). It is essentially a very basic social web based DAW (digital audio workstation).
Thanks
Al
On the server side you can use php or java to feed the basic audio files, and to manage them (admin).
On the client side, you may have to write a flash application for playing those files. I preety sure flash knows basic mixing.
Basic playback in flash is easy to do. You need to learn some ActionScript 3.0 (there are tutorials with action script 2.x, but they are deprecated, as AS 2.x is not compatible with AS 3.x), and you need some designer skills to create the interface.
This tutorial may work, there are a lot of resources out there
http://www.thetechlabs.com/3d/create-a-as3-mp3-player-with-papervision3d-spectrum-display/
I want to make a video site in which we can upload the video in any format and display it like youtube. How can I do this? My whole site is in PHP I'm a newbie in the video streaming sp plz be descriptive with your answer
Thanks
First you need a VideoPlayer written in Flash / Actionscript, there are also a lot of free ones arround in the internet, e.g.: FlowPlayer, You also could write you own. You acctually do not net to buy Flash for this. The Flash/Flex compiler mxmlc is available for free. You could also write you Flashvideoplayer in Haxe (also free).
You you do not want the users to switch within the video you could deliver the videos via HTTP, other wise you need an streaming server like: FlashMediaServer (not free). There are also open source alternatives like Red5 or haxeVideo.
You you do not have the video available in the right format you need to encode them: the best tool for this task could be ffmpeg
I suggest looking at the html5 <video> tag, this is probably the simplest way. For an example look at the the one from surfin' safari.
Be aware that some browsers support ogg and others h264, but not both.
Encoding of the video can be made using ffmpeg on the server.
One of my websites does this, and it's a MASSIVE pain.
However, there are websites out there that'll take a video and convert it to an FLV for you (for a price), for example we use a service called Hey!Watch which is reasonably reliable.
If you really want to encode it to flash yourself, you're going to need a full copy of Flash and a LOT of time =]
There is this highly underrated post with 3 great links for open source solutions that are like youtube and fits perfectly your question (and at least another one):
http://www.vidiscript.co.uk/
http://www.phpmotion.com/
http://osshare.sourceforge.net/
I'm posting this here just to point out the links. I think 2 of those 3 questions should be marked as duped anyway.