Difference between revisions of "Projector client"

From Fixme.ch
Jump to: navigation, search
(Usage)
Line 8: Line 8:
 
  ssh -p 47382 pi@62.220.135.197
 
  ssh -p 47382 pi@62.220.135.197
  
 +
=== Linux ===
 
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
 
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
 
|-
 
|-
 
! Name
 
! Name
! Implemented
+
! Functionality
 
! Usage
 
! Usage
 
|-
 
|-
 
| '''Reverse VNC'''
 
| '''Reverse VNC'''
For linux
+
Send display to projector
| Yes
+
| 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 62.220.135.197:5500 -noxdamage #on laptop
 
|-
 
|-
| '''VNC'''
+
| '''PulseAudio'''
For Mac/Android/iOS/Win
+
Send audio to HiFi
| Yes
+
| Good
| vncviewer on pi, any vnc server
+
| Select ''pulse@projector'' from Sound settings
 +
|}
 +
 
 +
=== Mac ===
 +
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
 +
|-
 +
! Name
 +
! Functionality
 +
! Usage
 
|-
 
|-
 
| '''AirPlay'''
 
| '''AirPlay'''
 
Mac & iOS
 
Mac & iOS
| Yes!
+
| Sometimes
 
| Select 'Projector' in AirPlay. Audio/Video streams and Mirroring(!)
 
| Select 'Projector' in AirPlay. Audio/Video streams and Mirroring(!)
 
Use https://github.com/elcuervo/airplay on Linux
 
Use https://github.com/elcuervo/airplay on Linux
 +
|-
 +
| '''VNC'''
 +
For Mac/Android/iOS/Win
 +
| Good
 +
| vncviewer on pi, any vnc server
 +
|}
 +
 +
=== Other ===
 +
{| border="1" cellspacing="0" cellpadding="2" stye="text-align:center;"
 
|-
 
|-
 
| '''PiCast'''
 
| '''PiCast'''
Line 48: Line 66:
 
|-
 
|-
 
| '''DLNA'''
 
| '''DLNA'''
| No
+
| Yes
| Send via DLNA (AllShare Cast on Samsungs)
+
| Send via DLNA to Projector
 
|-
 
|-
 
| '''LimeLight'''
 
| '''LimeLight'''

Revision as of 20:49, 12 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@62.220.135.197

Linux

Name Functionality Usage
Reverse VNC

Send display to projector

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

x11vnc -connect 62.220.135.197:5500 -noxdamage #on laptop

PulseAudio

Send audio to HiFi

Good Select pulse@projector from Sound settings

Mac

Name Functionality Usage
AirPlay

Mac & iOS

Sometimes Select 'Projector' in AirPlay. Audio/Video streams and Mirroring(!)

Use https://github.com/elcuervo/airplay on Linux

VNC

For Mac/Android/iOS/Win

Good vncviewer on pi, any vnc server

Other

PiCast

Any

Sortof http://62.220.135.197/PiCAST/goCAST.php?website=example.com
Synergy

Linux/Mac/Win

Sortof Mouse and keyboard control

Doesn't work at the moment

MiraCast

Android devices

No Android screen mirroring
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.

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