Screen casting application using RaspberryPi. Cast your entire desktop to TV while watching a movie or browsing, or for presentation. This is a work in progress. There is no audio support yet, but regular updates are made. This project is not yet stable but functional. This application is developed and tested in Ubuntu 12.04, however it should build & work in any linux machine.
- Device discovery support.
- Cast entire desktop to RPi (no audio yet).
Run setup.sh first, This script will build ffmpeg (with x11grab & libx264 enabled), UnitTest++ and install all the built libraries in the staging dir where the makefile will look for these libs. It will also pull the cross compiler toolchain for building rpi apps and cross staging tarball from my dropbox and extract in rpi-staging for cross compiling rpi apps.
NOTE: setup.sh will setup cross compilation environment, hence should be run in development machine.
$ ./setup.sh (you should run this only first time after new checkout, this should take appx 8-10 mins)
$ make cross-all all
You can find the native binaries in ./build/native and the rpi's binaries in ./build/pi Transfer the binaries in ./build/pi directory to RaspberryPi
$ ./rpicast-server (this will start the server and keep looking for multicast ssdp requests, you can also make this as a service that startup during boot up so that you do not have to ssh into rpi and run it every time)
$ ./rpicast (this will give you a menu to perform additional operations)
- RPiCast [alarmpi] 192.168.1.4
- Search for RpiCast
- Cast Screen to RpiCast
- Capture to a file
Once the device is discovered you can choose option 2 to cast the screen to the Rpi or 3 to record the screen to a file (Output.vid)
- Since it is currently using UDP socket to transmit video packets, some artifacts are observed with low network speed routers
- There is a huge lag when first time casted due to delay in the openmax setup for first time(should be ok if you quit and re-cast a couple of times)
- Some regression in rpicast-server demux module (this is severe and should be fixed soon)
- No audio support yet
Report Bugs & Issues
Please report bugs and issues to firstname.lastname@example.org