Changes
[[Category:Ongoing_ProjectsClosed_Projects]]The idea is to up an interface/client for the projector, in order client allows users to share their content without requiring them to connect physically to play & display video/audio over the network remotelyprojector or sound system. This will allow for less shuffling and more compatibility with a wider range facilitates sharing of devicesmedia such as music, for which we may not have all the cables. It also allows for mobile devicesvideos, such and photos; as phones well as sharing your desktop during workshops and tablets, to presentations. The idea is that everyone can easily share media to the projector directlyjust about anything, with ease, from just about any device. <sub>[https://pad.fixme.ch/p/projector-client Todo list] for improvements and fixes</sub>
__TOC__
== Usage==
* SSH Acces:
ssh -p 47382 pi@62projector.220fixme.135.197ch
=== Linux ===
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
|-
! width="25%" | Name! width="8%" | Functionality! width="67%" | Usage
|-
| '''Reverse VNC'''
Send display to projector
| align="center" style="background:#90EE90;" | Good
| DISPLAY=:0 vncviewer -listen 0 -fullscreen -x11cursor #on pix11vnc -connect 62.220projector.135fixme.197ch:5500 -noxdamage #on laptop
|-
| '''PulseAudio'''
| align="center" style="background:#90EE90;" | Good
| Select ''pulse@projector'' from Sound settings
Issues with buffer - sound may be choppy sometimes
|}
=== Mac ===
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
|-
! width="25%" | Name! width="8%" | Functionality! width="67%" | Usage
|-
| '''AirPlayAudio'''Audiostreaming from OS X/iOS system sound or iTunes| align="center" style="background:#90EE90;" | Good| Select 'Audio' in AirPlay|-| '''AirPlay Video/Screen mirroring'''Video streams and screen mirroring
| align="center" style="background:#FFFFE0;" | Sometimes
| Select 'ProjectorVideo' in AirPlayOnly works when network is uncrowded, does not transmit audio. Development abandoned.
|-
| '''VNC'''
Enable Scree Sharing in System Settings > Sharing #on Mac
|}
=== Windows ===
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
|-
! width="25%" | Name! width="8%" | Functionality! width="67%" | Usage
|-
| '''VNC'''
Connect from projector to your PC
TightVNC
|}
=== Other Android ==={| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
|-
! width="25%" | '''PiCast'''Any Name! width="8%" | SortofFunctionality| http://62.220.135.197/PiCAST/goCAST.php?website! width=example.com"67%" | Usage
|-
| '''SynergyDLNA/UPnP'''LinuxSend photos/Macvideos/Winpictures to projector| Sortofalign="center" style="background:#90EE90;" | Mouse and keyboard controlGoodDoesn| Select 't work at the momentProjector' from DLNA/UPnP devicesWorks with Samsung Video/Music/Photo default app, [https://play.google.com/store/apps/details?id=com.bubblesoft.android.bubbleupnp Bubble UPnP], [https://play.google.com/store/apps/details?id=com.skifta.android.app Skifta], other DLNA/UPnP compatible apps
|-
|'''MiraCastChromecast'''Android devicesSend audio to HiFi| Noalign="center" style="background:#BFBFBF;" | Android screen mirroring|-Unsupported| Select '''DLNA'''| Yes| Send via DLNA to Projector|-| '''LimeLight'''from Chromecast menu| No| Send from nVidia GTX 700 longer supported by open source software due to Google enforcing strong encryption and 800 series cardsverification
|}
== Goal ==
*** e.g 1205 for HTTP x264 streams
* Link with trigger interface?
== Component ==
=== Screen sharing Implemented === ===== HTTP x264/h264 ===== Advantage of HTTP x264 sharing is reduced lag (RPi limited to 100mbit ethernet)VLC screen sharing (screen://) on sender + omxplayer on Pi (for hardware acceleration) (reeealy sketchy atm, can't get to work)
===== VNC =====
xtightvncviewer in reverse VNC listening mode on Pi
DISPLAY=:0 vncviewer -listen 0 -fullscreen -x11cursor #on pi (scripted already)
=== AirPlay = DLNA/UPnP ====perl-net-sdp + shairport on Pi --> http[https://www.raywenderlichgithub.com/44918hzeller/raspberrygmrender-pi-airplay-tutorial resurrect Gmrender] is used for DLNA/UPnP. This works nowexcellently, apps on Android phones can stream music without difficulty to the sound system.
==== PulseAudio ====[httpshttp://githubwww.comfoell.org/hzellerjustin/gmrenderraspberry-resurrect Thispulse/ Raspberry Pi pulse audio guide.]=== MPD ===This was a pain to set up, however now you can select 'bcm2835 ALSA Analog Stereo on pulse@projector' on your laptop that has pulseaudio. Doesn't work very well over WiFi. There also seem to be issues with discovery, debian doesn't seem to pick it up, but ubuntu does - to be troubleshooted. The buffer also needs to be setup...
=== Control ===
Use RPi to turn on/off projector via IR LED, also (maybe) change the input of the stereo system. [http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/]
https://github.com/afaqurk/linux-dash?utm_source=explore-newsletter&utm_medium=email&utm_term=weekly&utm_campaign=explore-email
== Schedule ==
* '''December 2013''' - Zephyz bought pi with 10 CHF contributions from gcmalloc, sasha and noskill, each contributed 10 CHF, and the . The SD Card was provided by fixme/rorist. Raspbian was set up and updated, ssh access was set up (see above), and experimentation began.* '''January 2014''' - The Raspberry Pi was mounted in a custom 3D printed thing holder next to the projector, all the wires were hooked up and made tidyish. PiCast, VNC, Synergy and AirPlay were installed. Development rigorous at times* '''February 2014''' - Proper Airplay (with screen mirroring) and Chromecast were installed. An IR receiver and LED was hooked up in order to be able to control the projector remotely. A splitter was attached to the audio line to allow for playback from both MPD and the projector without switching.* '''March 2014''' - Synergy and Picast removed due to poor performance. A DLNA/UPnP receiver was set up on the Pi to allow streaming media from devices such as Android phones & tablets. A Pulseaudio sink was also installed. We experimented with an external DSP to amplify sound, however this didn't work. Reverse VNC now runs on startup so there is no need to run script each time.* '''April/May 2014''' - Extensive attempts to get the IR controller to work, but it doesn't work due to incompatible mosfets (they require minimum 4.5v and Pi has 3.3v output). * '''June 2014''' - Set up Last.fm scrobbler. Reinstalled Shairplay as default client for Airplay seeing as rPlay works very intermittently - there are now two Airplay clients, one for Audio (works well *knock on wood*), one for video. Banging head against wall with pulseaudio buffer.
== Participants ==
* [[User:Sasha|Sasha]] (Leader)
* Other ppl