Video stream from raspberry pi
-
hello,
I want to create an application that receives video stream from a raspberry pi that uses netcat and H264 format.
I saw the multimedia examples of Qt 5.4.1 though didn't find a stream example.
I have established a connection to the pi's server and sent some messages but i am new to stream programming so any example/link would be great.
thanks. -
Hi,
What OS are you running on ?
-
@SGaist windows 7
-
Can you read your stream with e.g. VLC ?
-
@SGaist I'd prefer using netcat because i heard it's faster..but if you have a basic example that i can learn from and change a little to use netcat it would help also..thanks.
-
So you have a setup similar to the one here ?
-
yes I do. So i should open a socket and call what lines to control the streaming? thanks
-
There's something not clear in your question, what do you want to control ?
-
If you want you can try this
www.denisgottardello.it/DomusBoss
The pakage contains a server for Raspberry and a client for all platforms.
It works with a jpeg stream because use x264 compression with raspberry is very slow. -
@SGaist ok, I've tried this code and what happens is that the video window pops and closes immediately. Another thing except that is that I don't understand why the toggle connection is after the play stream function and not before. I tried both cases and still it doesn't work.
thanks.