Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Does a script like this exist (for streaming video)
Old 09-11-2010, 11:54 PM Does a script like this exist (for streaming video)
Extreme Talker

Posts: 176
Name: Aaric
Trades: 0
Any help with this is GREATLY appreciated...

I have done a website for a band that has been together for 25 years. We have video for over 60 of their concerts and we would like to be able to stream them on the website. This is the catch... They want to be able to say "Go to our website on Friday at 8pm watch our concert from 1988" and have like a schedule so the video will start playing at 8:00, if people go to the site at 8:15, they miss the first 15 minutes of it. I hope that makes sense.

Is there anything like this out there?
aaricwon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-12-2010, 01:19 PM Re: Does a script like this exist (for streaming video)
Marik's Avatar
Skilled Talker

Posts: 99
Trades: 0
One thing you can do is stream the video starting at 8:00 on a live streaming website like justin.tv, ustream.tv, etc. and embed the player's code on your site. That will achieve what you are trying to do. Downside is it's not a customized solution or automated, but you will save on bandwidth costs from letting another site do the streaming
__________________

Please login or register to view this content. Registration is FREE
Marik is offline
Reply With Quote
View Public Profile
 
Old 09-12-2010, 01:35 PM Re: Does a script like this exist (for streaming video)
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Yeah it's totally possible, what you need to do (I going to assume your using flash here) is set up the file to skip to the part of the video you want to start with. For example
PHP Code:
<?php
$startAt 
$currentTime $startTime// Output could be 90 (Meaning 90 seconds)
?>
<!-- video code here-->
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 09-12-2010, 06:37 PM Re: Does a script like this exist (for streaming video)
Extreme Talker

Posts: 176
Name: Aaric
Trades: 0
Quote:
Originally Posted by rogem002 View Post
Yeah it's totally possible, what you need to do (I going to assume your using flash here) is set up the file to skip to the part of the video you want to start with. For example
PHP Code:
<?php
$startAt 
$currentTime $startTime// Output could be 90 (Meaning 90 seconds)
?>
<!-- video code here-->
Wow! You guys constantly impress me here. Currently the site I am working on is a Joomla site. I was hoping at first that there was a Joomla component or module that would do this for me. A extension where I could put the location of the flv files I want to play and the times I want them to play. Unfortunately I have found nothing like that. Once I realized that route wouldn't work, I thought I could possibly find a php script that would do the same thing and I could just use Joomla's wrapper feature to incorporate it in to the site...

Your idea is really good but unfortunately I am not good enough with Flash to pull it off. I have the videos converted to flv files but don't have the skills to do what you suggested.

Great Idea!
aaricwon is offline
Reply With Quote
View Public Profile
 
Old 09-13-2010, 07:38 PM Re: Does a script like this exist (for streaming video)
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
what you want to do is combine what rogem has with http://flowplayer.org/

flowplayer is easily customizable so using the onStart Event plugging in the PHP var will work perfectly

http://flowplayer.org/documentation/events/clip.html

the thing is you won't need much flash or javascript experience
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 09-15-2010, 04:17 AM Re: Does a script like this exist (for streaming video)
Junior Talker

Posts: 1
Name: Denis
Trades: 0
Does a script like this exist -I think that there is
http://www.answerbag.com/profile/1357555
http://www.answerbag.com/profile/1359957
omnadren is offline
Reply With Quote
View Public Profile
 
Old 09-15-2010, 12:09 PM Re: Does a script like this exist (for streaming video)
Extreme Talker

Posts: 176
Name: Aaric
Trades: 0
Quote:
Originally Posted by aaricwon View Post
Wow! You guys constantly impress me here. Currently the site I am working on is a Joomla site. I was hoping at first that there was a Joomla component or module that would do this for me. A extension where I could put the location of the flv files I want to play and the times I want them to play. Unfortunately I have found nothing like that. Once I realized that route wouldn't work, I thought I could possibly find a php script that would do the same thing and I could just use Joomla's wrapper feature to incorporate it in to the site...

Your idea is really good but unfortunately I am not good enough with Flash to pull it off. I have the videos converted to flv files but don't have the skills to do what you suggested.

Great Idea!
Would anyone want to do a little teaching? I'd LOVE to learn how to do this.
aaricwon is offline
Reply With Quote
View Public Profile
 
Old 09-15-2010, 12:53 PM Re: Does a script like this exist (for streaming video)
Ultra Talker

Posts: 366
Name: Steve
Location: Miami, FL, Earth
Trades: 0
Actually, the correct definition of what you're looking for is called multicasting.The purpose of multicasting is to have one outbound stream serving multiple clients, so as to save on bandwidth costs when serving scheduled programming.

To multicast, you'll need Fash Media Server, or Quicktime Server, or some other RTP, RTSP, or RTMP protocol server (you could go Red5 for a free FMS compatible server).

Or, you can simulate multicasting as outlined above, but with none of the bandwidth constraints, and of course, if a user's PC clock is incorrectly set, well... too bad for them.
__________________
- Steve

President,
Please login or register to view this content. Registration is FREE

Last edited by smoseley; 09-15-2010 at 12:55 PM..
smoseley is offline
Reply With Quote
View Public Profile Visit smoseley's homepage!
 
Old 09-15-2010, 08:50 PM Re: Does a script like this exist (for streaming video)
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
Quote:
Originally Posted by aaricwon View Post
Would anyone want to do a little teaching? I'd LOVE to learn how to do this.
I'm not sure if you by passed my post here:

Quote:
Originally Posted by orionoreo View Post
what you want to do is combine what rogem has with http://flowplayer.org/

flowplayer is easily customizable so using the onStart Event plugging in the PHP var will work perfectly

http://flowplayer.org/documentation/events/clip.html

the thing is you won't need much flash or javascript experience

but this will be the best and most elegant implementation. flowplayer supports HTML 5 too..


basically store your posting of the FLV file, set the time to start and script it to start a certain time passed your set time. If the time if passed the length of the clip either start from beginning or stop it in total.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 09-15-2010, 08:53 PM Re: Does a script like this exist (for streaming video)
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
oh and the flowplayer requires 0 flash experiences
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Does a script like this exist (for streaming video)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.23865 seconds with 12 queries