I want to send a video from python (server) to Matlab (client) simulink,so that i can retrieve the video again in simulink!

4 vues (au cours des 30 derniers jours)
Talal
Talal le 1 Déc 2022
Commenté : Sashank il y a environ 18 heures
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.

Réponses (1)

Anshuman
Anshuman le 21 Mar 2023
Hi Talal,
  1. Firstly configure your UDP receiver block by specifying the remote IP address and port number.
  2. 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.
  3. 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.
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!
  3 commentaires
Sashank
Sashank il y a environ 18 heures
@Dennis, @Muhammad Qaisar Ali If you got anything regarding this , can you please share or explain?

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by