- Firstly configure your UDP receiver block by specifying the remote IP address and port number.
- Convert the received packets from byte stream format to original video format by decoding the packets. The decoding process depends on the video format you are using. If you are using a common video format such as MPEG or H.264, you can use the corresponding decoder block provided by Simulink or MATLAB.
- After decoding the packets, you can display the video using the Video Display block in Simulink. The Video Display block takes the decoded video signal as input and displays the video on the screen.
I want to send a video from python (server) to Matlab (client) simulink,so that i can retrieve the video again in simulink!
4 次查看(过去 30 天)
显示 更早的评论
My python server program has already the video which is in packet form ready to send over the udp to matlab simulink, but udp recieve block in simulink didn't show the video again.
Any has done it before, how to get back original video in simulink.
0 个评论
回答(1 个)
Anshuman
2023-3-21
Hi Talal,
Note that the exact configuration of the UDP Receive block and decoding process depends on the specific video format and encoding used.
Hope it helps!
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!