Here is how to take pictures and videos. Log into the Raspberry Pi Zero into PiGlass using SSH from your phone.
cd piglass sudo python PiGlassBeta.py
You will need an SSH client program on your phone or computer to remote access your Raspberry Pi Zero. I suggest you try JuiceSSH for Android.
You will need to know the Raspberry Pi Internet Protocol (IP) address to put in your SSH program to connect the two.
Here is a video of the setup process for JuiceSSH:
Once you have a connection, you can issue commands to the PiGlass.
Here are the keys which control PiGlassBeta.py:
Z: zoom in
X: zoom out
C: zoom in all the way/zoom out all the way
N: zoom to inital setting
P: take picture
V: start video/stop video
T: toggle text on/off
Q: quit
If you have the Dropbox app on your phone you can see pictures as soon as they are uploaded, below is a video taken with PiGlass
wget https://github.com/ccrisan/motioneye/wiki/precompiled/ffmpeg_3.1.1-1_armhf.deb dpkg -i ffmpeg_3.1.1-1_armhf.deb
Create script called stream.sh and copy the following code into it. Your YouTube key goes at the end where it says rtmp://a.rtmp.youtube.com/live2/YOUTUBE KEY GOES HERE
raspivid -rot 270 -o - -t 0 -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/YOUR YOUTUBE KEY GOES HERE
How to get your key:
Go to https://www.youtube.com/live_dashboard
Scroll down to encoder setup and then go to Stream name/key and click reveal copy and paste the key into the script.
Run stream.sh and you should be livestreaming to youtube!