P1 = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE)ĭoes anyone knows what I need to change in anycodings_video-streaming either of those scripts in order to get i to anycodings_video-streaming work? On my PC if I use the following python anycodings_video-streaming script, the stream begins, but it fails in anycodings_video-streaming the cv2.imshow function because I am not anycodings_video-streaming sure how to decode it: import subprocess On my PC if I use the following FFplay anycodings_video-streaming command on a terminal, it works and it anycodings_video-streaming displays the stream in real time :įfplay -rtsp_flags listen anycodings_video-streaming 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 anycodings_video-streaming on the raspberry pi side of things : command = ['ffmpeg', From that port, I am able to display anycodings_video-streaming the stream using FFplay.įFplay is great for testing out anycodings_video-streaming quickly and easily if the direction you are anycodings_video-streaming heading is correct, but I want to "read" anycodings_video-streaming every frame from the stream, do some anycodings_video-streaming processing and then displaying the stream anycodings_video-streaming with opencv. I manage to set up a anycodings_video-streaming python script on the raspberry pi which is anycodings_video-streaming responsible for recording the frames, feed anycodings_video-streaming them to a pipe and streaming them to a tcp anycodings_video-streaming port. I have a basler camera connected anycodings_video-streaming to a raspberry pi, and I am trying to anycodings_video-streaming livestream it's feed with FFmpg to a tcp anycodings_video-streaming port in my windows PC in order to monitor anycodings_video-streaming 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 |