Difference between revisions of "Projector client"

From Fixme.ch
Jump to: navigation, search
(Usage)
(Usage)
Line 6: Line 6:
 
== Usage==
 
== Usage==
 
* SSH Acces:  
 
* SSH Acces:  
  ssh -p 47382 pi@62.220.135.197
+
  ssh -p 47382 pi@projector.fixme.ch
  
 
=== Linux ===
 
=== Linux ===
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
+
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
 
|-
 
|-
! Name
+
! width="25%" | Name
! Functionality
+
! width="8%" | Functionality
! Usage
+
! width="67%" | Usage
 
|-
 
|-
 
| '''Reverse VNC'''
 
| '''Reverse VNC'''
Line 19: Line 19:
 
| align="center" style="background:#90EE90;" | Good
 
| align="center" style="background:#90EE90;" | Good
 
| DISPLAY=:0 vncviewer -listen 0 -fullscreen -x11cursor #on pi
 
| DISPLAY=:0 vncviewer -listen 0 -fullscreen -x11cursor #on pi
x11vnc -connect 62.220.135.197:5500 -noxdamage #on laptop
+
x11vnc -connect projector.fixme.ch:5500 -noxdamage #on laptop
 
|-
 
|-
 
| '''PulseAudio'''
 
| '''PulseAudio'''
Line 26: Line 26:
 
| Select ''pulse@projector'' from Sound settings
 
| Select ''pulse@projector'' from Sound settings
 
|}
 
|}
 +
  
 
=== Mac ===
 
=== Mac ===
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
+
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
 
|-
 
|-
! Name
+
! width="25%" | Name
! Functionality
+
! width="8%" | Functionality
! Usage
+
! width="67%" | Usage
 
|-
 
|-
 
| '''AirPlay'''
 
| '''AirPlay'''
Line 45: Line 46:
 
Enable Scree Sharing in System Settings > Sharing #on Mac
 
Enable Scree Sharing in System Settings > Sharing #on Mac
 
|}
 
|}
 +
  
 
=== Windows ===
 
=== Windows ===
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
+
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
 
|-
 
|-
! Name
+
! width="25%" | Name
! Functionality
+
! width="8%" | Functionality
! Usage
+
! width="67%" | Usage
 
|-
 
|-
 
| '''VNC'''
 
| '''VNC'''
 
Connect from projector to your PC
 
Connect from projector to your PC
| Good
+
| align="center" style="background:#90EE90;" | Good
| align="center" style="background:#90EE90;" | vncviewer -FullScreen -ViewOnly ''your IP'' #on pi
+
| vncviewer -FullScreen -ViewOnly ''your IP'' #on pi
 
TightVNC
 
TightVNC
 
|}
 
|}
  
=== Other ===
+
 
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
+
=== Android ===
 +
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;" width="100%"
 
|-
 
|-
| '''PiCast'''
+
! width="25%" | Name
Any
+
! width="8%" | Functionality
| Sortof
+
! width="67%" | Usage
| http://62.220.135.197/PiCAST/goCAST.php?website=example.com
+
 
|-
 
|-
| '''Synergy'''
+
| '''DLNA/UPnP'''
Linux/Mac/Win
+
Send photos/videos/pictures to projector
| Sortof
+
| align="center" style="background:#90EE90;" | Good
| Mouse and keyboard control
+
| Select 'Projector' from DLNA/UPnP devices
Doesn't work at the moment
+
BubbleUPNP is a good software for this
 
|-
 
|-
|'''MiraCast'''
+
| '''Chromecast'''
Android devices
+
Send audio to HiFi
| No
+
| align="center" style="background:#FFFFE0;" | Sometimes
| Android screen mirroring
+
| Select 'Projector' from Chromecast menu
|-
+
Works with YouTube, not all apps function
| '''DLNA'''
+
| Yes
+
| Send via DLNA to Projector
+
|-
+
| '''LimeLight'''
+
| No
+
| Send from nVidia GTX 700 and 800 series cards
+
 
|}
 
|}
  
The parts still need to be automated, a web control interface is desirable. Currently the clients need to be launched manually, although this can be done via ssh - scripts are available. More clients can be added as needed, and a further control interface for the projector and stereo system will need to be put in place.
+
 
 +
The parts still need to be automated, a web control interface is desirable. Currently the clients need to be launched manually, although this can be done via ssh - scripts are available. More clients can be added as needed, and a further control interface for the projector and stereo system will need to be put in place. ssh -p 47382 pi@62.220.135.197
  
 
== Goal ==
 
== Goal ==

Revision as of 22:26, 26 March 2014

The idea is to up an interface/client for the projector, in order to play & display video/audio over the network remotely. This will allow for less shuffling and more compatibility with a wider range of devices, for which we may not have all the cables. It also allows for mobile devices, such as phones and tablets, to share media to the projector directly.

Usage

  • SSH Acces:
ssh -p 47382 pi@projector.fixme.ch

Linux

Name Functionality Usage
Reverse VNC

Send display to projector

Good DISPLAY=:0 vncviewer -listen 0 -fullscreen -x11cursor #on pi

x11vnc -connect projector.fixme.ch:5500 -noxdamage #on laptop

PulseAudio

Send audio to HiFi

Good Select pulse@projector from Sound settings


Mac

Name Functionality Usage
AirPlay

Audio/Video streams and screen mirroring

Sometimes Select 'Projector' in AirPlay
VNC

Connect from projector to your mac

Good vncviewer -FullScreen -ViewOnly your IP #on pi

Enable Scree Sharing in System Settings > Sharing #on Mac


Windows

Name Functionality Usage
VNC

Connect from projector to your PC

Good vncviewer -FullScreen -ViewOnly your IP #on pi

TightVNC


Android

Name Functionality Usage
DLNA/UPnP

Send photos/videos/pictures to projector

Good Select 'Projector' from DLNA/UPnP devices

BubbleUPNP is a good software for this

Chromecast

Send audio to HiFi

Sometimes Select 'Projector' from Chromecast menu

Works with YouTube, not all apps function


The parts still need to be automated, a web control interface is desirable. Currently the clients need to be launched manually, although this can be done via ssh - scripts are available. More clients can be added as needed, and a further control interface for the projector and stereo system will need to be put in place. ssh -p 47382 pi@62.220.135.197

Goal

Data goals

  • Presenters to broadcast their presentations or demonstrations remotely during workshops
  • YouTube and other streaming video to be streamed directly to the projector
  • Play music directly from personal library or music streaming services (e.g. Pandora)
  • Share project photos or videos directly from personal devices
  • Your idea here

Control goals

  • Turn on and off projector using IR signals (to allow for cooling)
  • Have a script that automatically launches the correct data source
    • Maybe use a dedicated port for streaming, then run nmap every x seconds scanning for port, and then stream from the correlated IP?
      • e.g 5905 for VNC
      • e.g 1205 for HTTP x264 streams
  • Link with trigger interface?

Obstacles

  • There aren't any solid similar solutions for remote screen sharing, we have to hack something together
  • Will the Raspberry Pi's power be sufficient?

Component

Screen sharing

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 on Pi

x11vnc or your favorite server on your laptop

Veency on iOS

DroidVNC on Android

AirPlay

perl-net-sdp + shairport on Pi --> http://www.raywenderlich.com/44918/raspberry-pi-airplay-tutorial works now

rPlay for AirPlay mirroring (sketchy)

DLNA/UPnP

This

MPD

sudo apt-get install mpd basically

Maybe something like http://www.raspyfi.com/ ? Maybe we can build a nice interface too.

Chromecast

Turns out it's not really chromecast, it's a tool that allows you to open websites automatically and in full screen. Works with general websites, youtube links (opens FS and autoplay), netflix links, and a few other things by sending a link to the pi. Sounded better when I first heard of it.

PiCast

PulseAudio

[1]

LimeLight (?)

Limelight is an open-source Java client which allows you to stream games from your home PC (as long as you have an Nvidia GTX 600 or 700 Series graphics card and enough bandwidth on your home network) to the Raspberry Pi that’s attached to your television. (You do have a Raspberry Pi attached to your television, right?) And it’s not just Steam games: any content can be streamed. Right now, only mouse and keyboard are supported, but there’s work being done to support other controllers too. So now you can play PC content from the machine upstairs in the study on that great big flatscreen monolith in the corner of your living room, from the comfort of your own sofa.

https://github.com/irtimmer/limelight-pi

Control

Use RPi to turn on/off projector via IR LED, also (maybe) change the input of the stereo system. [2]

Synergy was also installed on the Pi to allow access remotely

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 gcmalloc, sasha and noskill, each contributed 10 CHF, and the SD Card 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 next to the projector, all the wires were hooked up and made tidyish. PiCast, VNC, Synergy and AirPlay were installed. Development rigorous at times.

Participants