Giter VIP home page Giter VIP logo

glass-movies's Introduction

glass-movies

Note: This app has been tested with XE16.2.

Google Glass allows you to watch videos that you have recorded with the camera, but it does not allow you to watch video files that you transfer to the device. This app solves that problem.

Warning: Watching your glass screen for extended periods of time is probably not good for your eyes. Get a real monitor dangit!

This app will block the wink gesture while you're inside the app, so you don't accidentally take pictures while watching movies.

How to install

  1. Enable debug mode on your Glass, you can find this in Settings → Device info → swipe right twice → Turn on debug.
  2. Download glass-movies.apk.
  3. Install the apk with adb.
  4. Transfer video files to /mnt/sdcard/Movies/.
  5. Launch the app, ok glass, start a movie.
  6. Watch your video and enjoy.
wget https://github.com/stefansundin/glass-movies/releases/download/v0.3/glass-movies.apk
adb install glass-movies.apk
adb push "PSY - GANGNAM STYLE.mp4" /mnt/sdcard/Movies/

To uninstall:

adb uninstall com.stefansundin.glass.movies

I have found that Glass can play HD fine, even though the actual screen resolution of Glass is 640×360 (16:9). The volume seems quite high too.

If you happen to have big 1080p videos that take up a bit too much space for comfort, you can easily resize and recompress it with ffmpeg (more info):

ffmpeg -i input.mp4 -vf scale=640:-1 resized-for-glass.mp4

Handy commands:

adb shell df
adb shell ls /mnt/sdcard/Movies/
adb shell rm "/mnt/sdcard/Movies/PSY - GANGNAM STYLE.mp4"
adb shell am force-stop com.stefansundin.glass.movies

Author

Made by Stefan Sundin. Show your appreciation by donating.

Pictures

Launch with ok glass, start a movie.

Find a video that you transferred. I transferred a bunch of trailers and a few music videos.

Enjoy!

Changelog

Version 0.3 - 2014-05-03:

  • Only block wink when running the app, not afterwards. (facepalm)
  • Hopefully fix crashing when the first list item for some reason sometimes wasn't automatically selected on startup.

Version 0.2 - 2014-04-25:

  • Updated for XE16.11.
  • Block wink gesture.
  • No longer block long tap since that has been removed from Glass.
  • Tap with two fingers to make the app say the filename without launching video.

Version 0.1 - 2013-11-06:

  • Release for XE10.
  • Block long-tap-to-Google.

glass-movies's People

Contributors

stefansundin avatar reldan71 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.