hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Streaming movies
Reply

Forum Jump

Streaming movies

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-12-2010, 11:13 AM
John[H4Y] John[H4Y] is offline
Nose runs, feet smell?
 
Join Date: Feb 2002
Location: Vestal, NY
Posts: 1,355
Question

Streaming movies


Hello,
I've got a client who we designed a CMS system for. He can upload videos and assign permissions to them for users to download. He added on (after the fact) that he did not want the movies downloadable and only to stream in the browser. The users are not very technical so there does not have to be huge security, but I am wondering if something exists for PHP that is basically an "all-in-one" streamer. I need a simple way to stream .flv, .mpg, .avi, .wmv, etc in the browser. I am hoping there is a script or something that uses ffmpeg that is easy to setup for this for all file types (something that will maybe auto-detect the size of the movie and adjust the movie player accordingly, etc)? ANy ideas?



Sponsored Links
  #2  
Old 05-12-2010, 12:30 PM
eeadmin eeadmin is offline
Junior Guru Wannabe
 
Join Date: Dec 2007
Location: Dallas, TX
Posts: 30
Not sure there is a panacea for this. The first thing is you need a server that will stream. You can set up some php scripts to do that something like xmoov http://stream.xmoov.com/ should work. Eventually you will want to move on to a dedicated video streaming. Then you need a player to control the videos. The player we use is JWplayer. It is a flash player that is easy to set up. If you need encoding as well there is a whole new set of issues to do that on the fly.

Good Luck

__________________
Web Development, Dallas Web Design and hosting provided by Einstein's Eyes.

  #3  
Old 05-12-2010, 12:36 PM
John[H4Y] John[H4Y] is offline
Nose runs, feet smell?
 
Join Date: Feb 2002
Location: Vestal, NY
Posts: 1,355
Maybe I didn't explain this well. The client just uploads the full .flv or .wmv or .mpeg files and I am looking for a PHP script whose purpose is simply to play them in-browser. For instance, to play an .flv file, I would have to manually code it to recognize the .flv and then load a flash applet. For Windows media, I would have to have it load an in-browser media player. I just was wondering if something exists that can auto-detect the file types and play them in-browser rather than giving the user the ability to download the files.

Sponsored Links
  #4  
Old 05-12-2010, 12:41 PM
eeadmin eeadmin is offline
Junior Guru Wannabe
 
Join Date: Dec 2007
Location: Dallas, TX
Posts: 30
Sorry I misunderstood. You are just looking for a way to sort out the progressive download. I'd like to see if anybody has a clever solution for this.

  #5  
Old 05-13-2010, 12:46 PM
John[H4Y] John[H4Y] is offline
Nose runs, feet smell?
 
Join Date: Feb 2002
Location: Vestal, NY
Posts: 1,355
Not your fault that you mis-understood - It was a bad description. Basically, I am just looking for something to save time. For example, an FLV file, you would normally put in the Flash Applet code to play the movie in browser.. I am just hoping there is a script out there that can auto-format different types of media for in-browser playback. For example, just access it like so:

http://yourdomain.com/playvids/coolm...file=test1.flv

It sees the .flv extension and then displays the media in the browser accordingly. If it sees other extensions, it auto-formats an in-browser player. Or may something using ffmpeg to convert most filetypes to a single standard type to play in the browser.. Any other thoughts on this?

  #6  
Old 05-13-2010, 09:23 PM
hamdusa hamdusa is offline
Junior Guru Wannabe
 
Join Date: Mar 2008
Posts: 45
I think it is difficult to find a solution in php because php is not best option here (php default maximum_execution_time is 30 seconds - although it can be changed).

__________________
I am available for Web Development and SEO.
Email: hamidsarfraz@live.com

  #7  
Old 05-14-2010, 10:26 AM
eeadmin eeadmin is offline
Junior Guru Wannabe
 
Join Date: Dec 2007
Location: Dallas, TX
Posts: 30
Maybe there is something you can do in the header to force the mime type. Of course, I think this would still depend on the client/browser having the ability to interpret the mime types. It is a bit of guess, but I hope it helps.

__________________
Web Development, Dallas Web Design and hosting provided by Einstein's Eyes.

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Watch Streaming Old TV Shows and Movies The Dude Web Hosting Lounge 3 01-16-2006 11:58 PM
Dedicated Server for streaming movies help Thunderdust Dedicated Server 12 11-26-2005 05:35 AM
Streaming Movies? whdev Dedicated Server 2 11-25-2004 11:00 AM
Streaming huge movies to lots of people mattiasj Web Hosting 4 07-05-2004 02:28 PM
Movies without streaming jerimorris Web Design and Content 6 09-08-2003 04:22 PM

Related posts from TheWhir.com
Title Type Date Posted
An Overview of Cloud-Enabled CES Announcements Web Hosting News 2014-01-10 16:30:50
Sony Unveils Cloud Gaming Service Web Hosting News 2014-01-09 10:58:57
Kim Dotcom Claims Megaupload Search Warrants Unlawfully Obtained by US Government Web Hosting News 2013-01-04 11:24:29
Court Documents Show Megaupload Helped Feds Take Down File Sharing Service NinjaVideo Web Hosting News 2012-11-21 10:53:49
OnApp Adds VMware Support with OnApp Cloud Version 3.0 - HostingCon 2012 Web Hosting News 2012-07-17 15:49:06


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?