![]() |
creation of video streaming on website
hello,
i want to make one page that will let me stream a video just the way that youtube and related sites stream them. so far i understand that the files are in flv format, and how youtube convertes avi files or mpg files to flv is a mystery to me. what im wondering is does youtube store the vidoes in its database or does it store it in a directory somewhere. (i know you might not know but what are your guesses or maybe the best way of doing it). also once stored in the database what method is used to retreive it and display the video within a flash player like youtube has. thank you. |
For converting videos to flv, there is ffmpeg. Any website like youtube fetches the info from a database, using a query. Then you just embed a player into your page and play the movie. It's not very hard at all.
|
thanks, i figured it out. now the only problem im having is trying to figure out how to place a small screenshot or thumbnail on the video such as youtube does?
|
again, you can use ffmpeg to make a screen capture of a movie frame (I suggest taking a capture of the middle frame of the movie, so you don't get black screens - lots of movies begin and end with a black background). Also, ffmpeg can capture some info for you (such as the FLV metadata - total movie length, movie resolution and such).
|
| All times are GMT. The time now is 01:45 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0