video online
Moderator: General Moderators
video online
Hi everyone,
A school has asked me to put their education videos online for students and teachers to play. The video formats are in avi or mpg. The videos are 15 to 60 minutes long. I have never done any thing with video before, so I have little idea what is a good way and how to play a video online. They also have a couple of requirements that I am not sure if it is possible to do it:
1. They want to track how many times a user plays a particular video. (Each user will login to play.)
2. There are several chapters in one video. They would like to have a list of chapters, and jump from chapter to chapter to play the video. I have no idea how this can be done. Is that possible to do this using a web based application?
I am not sure if this is a right place to ask this question. I have been searching on the internet, but could not find good answers. I would appreciate if someone in this forum could help me or point me to some readings or tutorials.
Thank you very much in advance.
A school has asked me to put their education videos online for students and teachers to play. The video formats are in avi or mpg. The videos are 15 to 60 minutes long. I have never done any thing with video before, so I have little idea what is a good way and how to play a video online. They also have a couple of requirements that I am not sure if it is possible to do it:
1. They want to track how many times a user plays a particular video. (Each user will login to play.)
2. There are several chapters in one video. They would like to have a list of chapters, and jump from chapter to chapter to play the video. I have no idea how this can be done. Is that possible to do this using a web based application?
I am not sure if this is a right place to ask this question. I have been searching on the internet, but could not find good answers. I would appreciate if someone in this forum could help me or point me to some readings or tutorials.
Thank you very much in advance.
Thanks, hongco. Each student will have their own account to log in. I may record how many times they log in. But I don't know how to record how many times they play a particular video. I guess once they click on a link to start playing, I lost all control. Is there a way I can still track what they do after the video starts?
How do I start playing a chapter while all chapters are in one file?
How do I start playing a chapter while all chapters are in one file?
hello ruth,
if you are planning to use database, I'd suggest you would have something like this:
3 tables with properties as the flowings:
- videos: id(primary key), videoname
- chapters: id(primary key), video_id, chaptername, views
- users: id(primary key), username, password
I skipped most the part, and go to the part where you can increase the view numbers of each video:
let say you have a link to 1 video:
http://www.myschoo.com/video/view.php?id=3
this id=3 is for the chapter -> from here you can get the rite info such as:
- which videos this chapter belongs to: get its name
- get the name of the video
--> be able to locate the file name:
--> if the info found, get some html code to display the video:
- with the given id=3, you will then update the table chapters with views incremented by 1 where id=3.
- if you need to find out how many video/chapters each user watched, the data tables will be different a bit
if you are planning to use database, I'd suggest you would have something like this:
3 tables with properties as the flowings:
- videos: id(primary key), videoname
- chapters: id(primary key), video_id, chaptername, views
- users: id(primary key), username, password
I skipped most the part, and go to the part where you can increase the view numbers of each video:
let say you have a link to 1 video:
http://www.myschoo.com/video/view.php?id=3
this id=3 is for the chapter -> from here you can get the rite info such as:
- which videos this chapter belongs to: get its name
- get the name of the video
--> be able to locate the file name:
--> if the info found, get some html code to display the video:
- with the given id=3, you will then update the table chapters with views incremented by 1 where id=3.
- if you need to find out how many video/chapters each user watched, the data tables will be different a bit
it is not as simple as it may sound as the poster stated that there should be a log on how many time each student gets logged in, how many the video is watched. More data saved will give better statistic results if the school wants to have. That is the reason why they want to keep track of the students watching those video.
Beside, each file is about 1 hour, having playlist not gonna do any good. Students always get bored after watching for about 20 min... I doubt they show good movies
Beside, each file is about 1 hour, having playlist not gonna do any good. Students always get bored after watching for about 20 min... I doubt they show good movies
Last edited by hongco on Mon May 16, 2005 9:03 pm, edited 1 time in total.
Thanks everyone for your replies. My main problem now is that I don't know how to make a link so that it can start a chapter directly as all chapters are in only one file. Do I split the file chapter by chapter manually? Is there an easy way to identify the chapters within the application? They have about 100 videos, and each has several chapters.
i searched and found this:
http://www.tomdownload.com/multimedia_d ... _slice.htm
you may want to read more and see if you can use it.
It is easier to split the movie to each chapters for your purpose.
http://www.tomdownload.com/multimedia_d ... _slice.htm
you may want to read more and see if you can use it.
It is easier to split the movie to each chapters for your purpose.