My brother presented me with a challenge: he's building a mobile bar on a lrage truck for the crazy festival known as Burning Man. He'd like a retro-styled video intercom system. I have some experience with the Pi, but this is a big hurdle. Here are the project goals.
1. Get two Pi's to connect to one another using no switch, but rather a single Cat 5e cable
This is actually reasonably easy--from what I gather, I can hard-code each Pi's IP address, such that each knows which to connect to. Thoughts?
2. Using two 3.2" SainSmart TFT screens, each Pi shall display the output of the other's camera.
This, I thought, would be pretty easy. It's actually much harder than I thought. As a unit test, I thought I could display what the camera output was (using motion) as the output on the camera. This command is instead producing many errors.
sudo mplayer -demuxer lavf -vo fbdev2:/dev/fb1 -x 240 -y 320 -zoom rtmp://[IP address of motion webcam]:8081/stream.mjpg
3. Create an audio intercom system using a pushbutton-style communication.
My hope is that now this is easier. I'm using a Syba sound card and two gaming-style headsets (each having a separate mic input and speaker output). Not such how to handle this yet.
So, let's handle the first problem (#2)--is it possible to display the output from Motion to a TFT screen using mplayer? Has anyone tried this, and if so, can they provide the correct command?
I'm using the following parts: Allied Electronics Raspberry Pi 2 Model B Allied Electronics Raspberry Pi NOIR Camera Module SainSmart 3.2" TFT LCD Module 320x240 Touch Screen Display SKU:20-111-971 Inland Cat 5e Cable - Black 50 ft Syba Sound Card Microphone/Speaker 5V 2A Power Supply