The videos are on the machine at the end of the hotdesk area in the MRL. The machine should be on and an ubuntu VM should be running. If not, please start the VM using VirtualBox.
Check that /media/sf_marathon/videos/
exists and contains all the marathon videos. If this isn't the case, you'll have to share C:\marathon
with the guest OS using VirtualBox. Make sure the directory /media/sf_marathon/videos/output
exists. If it does not, create it.
Change to the video annotator's directory.
$ cd ~/p/video-annotator
Pull the branch origin/server
from https://github.com/tfogo/video-annotator.git
$ git fetch
$ git checkout server
Ensure that config.js
contains videoDir: '/media/sf_marathon/videos/output'
. If that line is wrong, correct it.
Run the script videosplit.sh
this will check the length of all the videos in /media/sf_mararthon/videos
, split up the long ones, and place them all in /media/sf_marathon/videos/output
. This will take some time.
$ bash videosplit.sh
Run the MongoDB script dbsetup.js
. This will setup the users in the database. The users will be numbered s1 through to s40 and the password for each will be "password".
$ mongo dbsetup.js
Start the server.
$ grunt serve
- If a user receives a message
Cannot GET /failure
. when trying to log in, this is because they incorrectly entered the password. - The data is automatically saved to the database when tags are created and edited even though there is no visual confirmation of this. To check that tags are being made, request
/tags
. - Any issues with the video annotator not working can usually be fixed with reloading the current page. If problems persist, move on to the next video.