How do I download gstreamer into matlab, it is on my computer
57 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have started out with MATLAB, I have installed psychtoolbox and have downloaded it into MATLAB, I have got gstreamer onto my laptop but having trouble to know what to do next to get it into MATLAB also so I can start to create graphics using all 3 together, MATLAB, with psychtoolbox and gstreamer. I need to donthis so I can start going throug( my tutorials with PTB
0 comentarios
Respuestas (1)
Sivapriya Srinivasan
el 26 de Mayo de 2023
Editada: Sivapriya Srinivasan
el 26 de Mayo de 2023
Hey Laura,
To use MATLAB, Psychtoolbox and GStreamer together, you need to make sure that they are all correctly installed and integrated with each other. Once you have done this, you can start creating graphics using these tools. Here are some steps you can follow to integrate MATLAB with Psychtoolbox and GStreamer:
1.Install the latest version of MATLAB on your computer, if you haven't already done so.
2.Download and install Psychtoolbox for MATLAB from their official website. Make sure to follow the installation instructions carefully.
3.Download and install GStreamer on your computer, if you haven't already done so. You can download it from their official website and follow the installation instructions.
4.Once you have installed all the necessary software, you need to configure MATLAB to recognize GStreamer. Make sure that gstreamer is added to the environment path variable.To do so, open the terminal, type export PATH=/path/to/gstreamer/bin:$PATH, and hit enter.
5. To integrate gstreamer with Psychtoolbox, you need to use the Psychtoolbox's Screen() function. The Screen() function allows you to create a window object that you can use to display graphics in MATLAB.
6.To start using Screen() function with gstreamer, you can refer to the PTB tutorial for GStreamer.In this tutorial, you'll learn how to use the OpenGStreamer() function to create a stream object. Then you can pass this object as an argument to the Screen('OpenWindow') function to create a window that displays the video stream
Finally, you can start creating graphics using MATLAB, Psychtoolbox and GStreamer. To get started, you can follow the tutorials on the Psychtoolbox website.
1 comentario
巫师
el 10 de Jul. de 2024
I'm sorry to bother you,I successfully downloaded and installed Matlab2022b\PTB3.0.19\Gstreamer1.24.5, and added the path of the bin folder of Gstreamer to the system's environment variables and the search path of MAT. After I opened Mat, PsychStartup would be displayed:
Adding path of installed GStreamer runtime to library path. [E:\gstreamer\1.0\msvc x86 64\bin],
But when running the code, MAT keeps indicating PTB-ERROR: Due to failed GStreamer initialization, the movie playback engine is disabled for this session. Error in function OpenMovie: Usage error, GStreamer initialization failed due to library loading problems. Aborted. What should I do to solve it?
Ver también
Categorías
Más información sobre Installation and Operational Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!