Nqndi
Nqndi

Reputation: 80

how to stream live video from a url into python tkinter?

I am making a raspberry pi robot, which you can control from your phone, and I want to stream video from the robot to the phone. My idea was, that the pi streams the video to https://127.0.0.1:600 or something like that, and then the phone puts the video from that URL onto the Tkinter GUI. Is that possible? If so, how should I start?

Upvotes: 1

Views: 1349

Answers (1)

Shraft
Shraft

Reputation: 332

I had the same issue while programming a robot, so I have faced the same problem. Motion ist a great tool to do video streams from Rasperry Pi, but I've seen this problem you've already solved.

Regarding to the part with the GUI, I used PyQT as GUI library. It provides an easy way to import websites (among them network streams) to your application. If you are interessted in have a look at this example.

Upvotes: 1

Related Questions