Skip to content

Contextual live? (Youtube) video search with world map (time/location/"trending")

Notifications You must be signed in to change notification settings

shunshou/contextual-video-search

Repository files navigation

contextual-video-search

Application Concept

Contextual live? (Youtube) video search with world map (time/location/"trending")


Inspirations/Tutorials

picture alt

picture alt

UI Notes

  • Color schemes (need to look good): Adobe Kuler https://color.adobe.com/
  • FontAwesome for “Web 2.0” fonts
  • Reference: http://quizlet.com/ map
  • Rashomon style video http://rieff.ieor.berkeley.edu/rashomon/
  • Stream video from Youtube (or alternatively, Twitch supports real time streaming; if no real time streaming, check out vid.me for anonymous videos)
  • Use Mapbox for maps (zoom, heat map, hot spots)
  • https://www.mapbox.com/tilemill/docs/manual/interface-tour/
  • https://www.mapbox.com/blog/mapbox-fusion-tables-drones/
  • Otherwise, possibly Google Maps API is good enough
  • http://snazzymaps.com/?page=3 custom designs
  • http://rastrack.co.uk/ Raspberry Pi tracker
  • Larger spots → more streams (front); different colors correspond to different event start time
  • Only up to 24 hours on live map (?)
  • Zoom in max: hot spots grouped by City + Hashtag + Day
  • Hovering over hot spots causes them to glow
  • Display up to 5 videos simultaneously (drag + drop)
  • Search can be City, Hashtag, Date, etc. -- no order required, comma separated, hashtag requires # in query
  • Best way to store/display real-time geo data; access MySQL database to update hot spots on the fly?
  • Android: use Youtube Livestream API to setup Livestream (instead of manually doing it now)
  • Already signed into Google?
  • Display streams based off of # of views + # of streams @ event (for search)
  • Secret pi stream identifier (for sending video through 1 out of many phones)
  • When stream starts, add to group {city+hashtag+date}
  • Field: Time_start
  • Field: Time_stop (blank until exits)
  • Sort by earliest start time

Node.js + Heroku Tutorials

Heroku Specific

  • git init
  • .gitignore --> directory name
  • git add .
  • git commit -m "test"
  • heroku create
  • git push heroku master
  • heroku open
  • Procfile starts application specified (web: node app.js)
  • Can run locally via node app.js

Pi Web Socket

Setting up POSTGRESQL on HEROKU

  • server.js; index.html; package.json (needed for node.js to specify dependencies)
  • npm install
  • Procfile contains server process needed to get running
  • foreman start
  • listening @ localhost:5000
  • git init
  • git add .
  • git commit -m "msg"
  • heroku create
  • heroku config (check)
  • heroku addons:add heroku-postgresql:hobby-dev
  • git push heroku master
  • heroku open
  • can include node_modules in .gitignore
  • heroku pg:psql
  • create table post(body text); ---- create table table_name(field field_type, field field_type); -- integer, text, etc.
  • insert into post values ('hello');
  • \q

= Google Talk =

= RTMP Android =

= Pi Dynamic DNS =

code()

About

Contextual live? (Youtube) video search with world map (time/location/"trending")

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published