36
Hub-ology and the Video Village Brian Corbin & Brian Painter

Video village

Embed Size (px)

Citation preview

Page 1: Video village

Hub-ology and the Video VillageBrian Corbin & Brian Painter

Page 2: Video village

Hub-ology

Equip, Educate, and Encourage Rural problem-solvers

Page 3: Video village

Bloomberg Public Art Challenge

The City of Spartanburg was selected as one of four cities to participate as part of the Bloomberg Philanthropies Public Art Challenge, a new program to support temporary public art projects that celebrate creativity, enhance urban identity, encourage public-private partnerships, and drive economic development.

Seeing Spartanburg in a New Light brings nine temporary art installations to public spaces in ten neighborhoods throughout the city.

Page 4: Video village

Video Village Project52 Independent projectors show videos on windows at an abandoned housing project

Highland Neighborhood Spartanburg

Videos tell stories with content curated by White Elephant Enterprises

Page 5: Video village

Content WorkflowFirst videos are sourced from

interviews with the Highland community

Edited to project on selected projectors as part of a showing

One audio track is played as part of the show

Each night for a selected period the show is repeated.

Page 6: Video village

We heard of something called a Raspberry Pi~Tim & Robyn Farrell 03/28/16

Page 7: Video village
Page 8: Video village

Amazon Web Services & Django

Use Django as the Scheduling HubInterface to upload videos and create

schedulesElastic Beanstalk makes it easy to spin

up a Django environment in AWS

Page 9: Video village

DjangoBasic admin page for scheduling

Page 10: Video village

DjangoBasic admin page for scheduling

Page 11: Video village

DjangoStatus for all Projectors

Page 12: Video village

Raspberry Pi 3Quad Core Arm Processor @1.2GhzGPU: Broadcom VideoCore IV @ 400 MHz.Memory: 1 GB LPDDR2-900 SDRAM.USB ports: 4.Network: 10/100 MBPS Ethernet, 802.11n

Wireless LAN, Bluetooth 4.0Debian Jessie Linux

Page 13: Video village

Raspberry Pi Responsibilities:

Play video over HDMI connection to projector at scheduled showtime

Control projector over RS-232 USB

Download video prior to showtime

“Phone home” with current status on a regular basis

Page 14: Video village

Raspberry Pi APIUse Flask to create API for

interacting with PiPlay Video, Create Schedule,

Cache Video commands

Page 15: Video village

Projector ControlSerial RS232

Control to Turn on/off projector

Warm up time

Page 16: Video village

Projector Controlimport serialCMD_ACK = '\x03\x14\x00\x00\x00\x14'ERROR_STATUS_CMD = '\x07\x14\x00\x05\x00\x34\x00\x00\x0C\x0D\x66'POWER_ON_CMD = '\x06\x14\x00\x04\x00\x34\x11\x00\x00\x5D'POWER_OFF_CMD = '\x06\x14\x00\x04\x00\x34\x11\x01\x00\x5E'

Page 17: Video village

Projector Controlclass Projector(object):… def send(self, command): if self.serial_port: self.serial_port.write(command)

Page 18: Video village

Testing and configuring the system

Trial RunToo much power for

the building

Page 19: Video village

Time code synchronization

Found out that as we played videos we needed to synchronize the pi’s to play at the appropriate times.

Page 20: Video village

Time code synchronization

Used NTP to sync time on Pi’s

Scheduler to run tasks each second

Page 21: Video village

Software updateNo access to Pi’s after initial install

Page 22: Video village

Software updateAnsible for running update script

Page 23: Video village

Inside the buildingVery “rustic”

environmentHot - we sensed temp

on the Pi’s to see how hot

Page 24: Video village

Lessons Learned

Page 25: Video village

Tools we likedWe used Slack for asynchronous team interactions and for voice calls

Page 26: Video village

Tools we likedAvoided tendency to write/do everything

from scratchSecure tunnels allowed for remote

management and troubleshootingNgrok quoted a fixed fee for duration of

project

Page 27: Video village

Watch out forNot all RS232 USB cables are created equal

Page 28: Video village

Watch out forBe sure to consider reboots, hardware replacement, processing stopping, etc.

Page 29: Video village

Watch out forPolling for video schedules and caching helped out during periods when Internet connectivity was lost

Page 30: Video village

Working together we can make a big impact

Page 31: Video village

https://vimeo.com/194577420

Page 32: Video village

Opening Night with the Community

Page 33: Video village

Get Involvedgithub.com/hub-ology/video_village

github.com/hub-ology/video-village-pi

Page 34: Video village

Get Involvedhub-ology.org

Page 35: Video village
Page 36: Video village

More

Making of Video Village

https://vimeo.com/185238692