Connect Raspberry Pi to Projector or TV

When we have a meeting in a meeting room, we need to connect our laptop to a projector to show our desktop. But sometimes, several persons need to show their desktop, they need to change their laptop. This is complex and waste some time.
Currently, we have some mobile project, they are can be run in android/ios system. Before publish the project, we need to demo it to our team members or other guys. It is hard to demo them( in a phone) in the projector.

What I want to do is: 
1. Write a video player in Raspberry Pi
2. Connect the Raspberry Pi to the Projector or TV
3. Write a desktop capture in a pc/mobile phone, and send the data to the Raspberry Pi
4. Who want to show their desktop in a pc/mobile phone, run the program to connect Raspberry Pi and it will show it in the Projector/TV

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Port FFmpeg/SDL to Raspberry Pi

How to write a video player in Raspberry Pi?
1. Port FFmepg/SDL to it.
 2. Write a server program to accept the pc/mobile phone to connect it
3. Call ffmpeg to play the network data.

Step 2: Implement the Desktop Capture in a Pc

Implement the desktop capture in a pc.
1. Connect it the Raspberry Pi 
2. We can call the system API to capture the desktop
3. Encode the data to h264 video.
4. Send the data to Raspberry PI 

Step 3: Implement Program Capture in a Mobile Phone

Implement program capture in a mobile phone.
1. Connect it the Raspberry Pi
2. Find a way to capture the program UI
3. Encode the data to h264 video.
4. Send the data to Raspberry PI

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    6 Discussions

    Alex SerbanS

    3 years ago

    Yeey! I wanted to do the exact same thing these days, but there's a problem. The resolution is very poor over rca video, so only hdmi is viable... but.. hdmi also transmits sound, and my projector does not have audio out, so i have to use the audio jack on the rasperry to output sound. And then there's this other thing, streaming video to the Pi at hi resolution is extremely laggy and or choppy. The only solution i found yet viable is to install Kodi or xbmc and let the Pi do it all, connecting the sources as samba or nfs shares. hope this helps.


    4 years ago on Introduction

    Hi, that's exactly what I'd to do.

    Does anyone have instructions for this?



    6 years ago on Introduction

    A Raspberry Pi can share files on a network. So if it's sole purpose is to play video files then all you need do is access the shared file directory and play the videos from there. Your various laptop users would create the video however they please on their laptops, upload it to the shared file directory and then someone would just point the Raspberry Pi to the proper file. omxplayer already exists for playing video on the RasPi.


    7 years ago on Step 3

    try debian all you ned is in the repositories