See this thread. It might help: http://www.raspberrypi.org/phpBB3/viewt ... 17#p352717tobertinker wrote:Thank you!
I followed the readme instructions and I no longer get the permissions error.
When I execute the nc -p 5001 -l > buffer | /opt/vc/src/hello_pi/hello_video/hello_video.bin buffer command it appears to running, but there is no video or even words like "buffering "10%" or something like that. I had tried to follow the linux instructions and I did get text like Playing - Reading from stin Cache fill: x% (x bytes).
Should I be getting text like that when I run the command with the buffer?
The "freezing" is because the listener is no longer (ever has?) accepting your stream.tobertinker wrote:......
into the terminal, with the receiver having its command of
nc -p 5001 -l > buffer | /opt/vc/src/hello_pi/hello_video/hello_video.bin buffer
.. The camera board turned on for a few seconds, and then froze. The receiving pi did nothing, but the camera board did start! I feel I am close, but I must be doing some small error that I can't find. Any ideas? Thanks
No, that just means it gave up because it couldn't connect to the receiving Pi. That's why you run the command on the receiving Pi first. The command on the receiving Pi sits and waits for data to be received from the sending Pi. Then when you start the command on the sending Pi it should send data to the receiving Pi and everything should work. That's why I said to check that you were using the correct IP address for the receiving Pi.tobertinker wrote: Since the video recording stopped abruptly does that mean the problem is with the sending pi? Thanks again for all the help.
Some of that delay is probably the wireless networking itself. When streaming over wired ethernet from Pi to desktop I see almost no delay. Have you tried it wired to see what the delay is?tobertinker wrote:I finally figured it out! I was running my pis in a computer lab at my university and the wifi there is protected, and all students have to sign in on devices to use the internet. The pi's never picked up the sign in, so the pi would briefly connect, get an ip address, get booted off, and then connect to another access point!
So my solution was an ad hoc wifi connection! It works great, I am using the wipi dongles that I had got from Newark. I have about a 1.5 to 2 second delay though and I tried lowering the frame rate, but that did not help much.
Is there a way I can drop the frames at the beginning and not have a buffer of some sort so I can have no delay. I have seen on the forums on ways that can get it to 1 second, but I would really like it to be less than a quarter of second for my application.
Thanks again for all your help and suggestions!