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
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 am trying to create a live radio using the existing mp3 files (I have the links saved in a MYSQL database). Using a player like jw player, or any player that can suit my needs. Is there any ways that a PHP script can generate a random playlist for a user and as he reach the end of that playlist, the script would generate another playlist and continue playing without stopping.
Thanks in advance for your help :)
Why not use one of the many existing software packages for doing this? Take a look at Ices, or one of the many other SHOUTcast auto-dj programs.
You would use the JWPlayer Javascript API to update the file that's being played by JW.
http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12540/javascript-api-reference
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.
I am developing online video streaming website on PHP.
I need two functionalities:
Need to add title/text at bottom of the video dynamically.
Need to add background music to video dynamically.
Is it possible with PHP or any available open source library?
Can anyone guide me or provide links to this type of library ?
Thanks.
Editing video with PHP is an extremely bad idea. This idea very closely approximates impossible. At best you would need to decode the video which would be brutally slow in php.
If I had to tackle this problem, I would try to add the title and background music in the player, not to the video file itself. If you're streaming the video it is likely that you're using Flash or some other client-side player. You would need to write the player (or perhaps modify an existing one, there are several available) to add another layer over top of the movie for the title, and an audio track.
Slightly more hare-brained, but still easier than rewriting video in php, would be to layer a transparent image generated in php over top of the player using css and javascript, and embedding the audio in the page. This paragraph contains a terrible idea.
php doesn't provide any video oriented stuff to perform, but there is one CMS namely Kaltura, is designed and implemented in doing these kindaa stuff. Search it , download it and play it.
You can make your own player in Flash and add a default watermark. You don't need PHP for that.
I will be using PHP.
I want to build a basic dating site so I think I need to learn how module by module or piece by piece until I have it completed. What I want to start with is the webcam part.
How would I go about streaming a webcam to a website?
How would I fetch a few screenshots of the webcam and post it on the site (storing it into a db)?
The simple answer is that you cannot do this directly in PHP you will have to use a client-side technology like Flash, Flex, Silverlight(?) or even AJAX (super low tech), to do this kind of thing, as PHP only operates on the server-side and there for after page load is unable to change the content of the page.
If I were to do something like this (again) I would use Flash, from my experience it is best suited for this type of media, with the best user-experience and the best browser/os cross-platform availability.
you can use AJAX to refresh images (or use metarefresh) in some intervals...
You should use something like Flash or Flex to display the video.