![]() ![]() On my PC if I use the following FFplay command on a terminal, it works and it displays the stream in real time :įfplay -rtsp_flags listen rtsp://192.168.1.xxxx:5555/live.sdp?tcp GrabResult = camera.RetrieveResult(100, pylon.TimeoutHandling_ThrowException) While camera.IsGrabbing(): # send images as stream until Ctrl-C P = subprocess.Popen(command, stdin=subprocess.PIPE) Minimaly reprsented, that's the code I use on the raspberry pi side of things : command = ['ffmpeg', ![]() From that port, I am able to display the stream using FFplay.įFplay is great for testing out quickly and easily if the direction you are heading is correct, but I want to "read" every frame from the stream, do some processing and then displaying the stream with opencv. I manage to set up a python script on the raspberry pi which is responsible for recording the frames, feed them to a pipe and streaming them to a tcp port. I have a basler camera connected to a raspberry pi, and I am trying to livestream it's feed with FFmpg to a tcp port in my windows PC in order to monitor whats happening in front of the camera. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |