Video_stream_add
Re: Video_stream_add
Be warned if you incorporate this now into an instrument as I have the instrument will error if you try to run it in anything other than the 4.2 beta. There is a way round this by checking if the function is supported before trying to use it but the easiest way is to just comment it out for now.
My Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Video_stream_add
Any of you guys that are testing this can you please give me an approximate idea of the amount of memory used per stream (system and GPU) - especially with multiple streams - and also if this is making use of multiple cores ?
Thanks,
Joe
Thanks,
Joe
Joe. CISSP, MSc.
Re: Video_stream_add
The API gives the following example: -- Create a new video stream for the X-plane PFD
my_video_stream = video_stream_add("xpl/G1000_PFD_1", 0, 0, 1024, 768)
Does anyone have an example AM G1000 Overlay that includes the video stream G1000 PFD?
my_video_stream = video_stream_add("xpl/G1000_PFD_1", 0, 0, 1024, 768)
Does anyone have an example AM G1000 Overlay that includes the video stream G1000 PFD?
-
- Posts: 4336
- Joined: Thu Jul 27, 2017 12:22 am
Re: Video_stream_add
None of these samples are working (requires at least the 4.2 Beta branch for the moment) :
-
- Posts: 4336
- Joined: Thu Jul 27, 2017 12:22 am
Re: Video_stream_add
Eventually got it working after installing the flightsim plugin 4.1 Beta 5, still have to understand how to set it properly, anyway, here's a first shot for me :
-
- Posts: 4336
- Joined: Thu Jul 27, 2017 12:22 am
Re: Video_stream_add
Ok I get, it looks like I've added too much parameters for my previous initial attempt, so here it is with "video_stream_id = video_stream_add("xpl/G1000_MFD", 0, 0, 1024, 768)" :
with "video_stream_id = video_stream_add("xpl/G1000_PFD_1", 0, 0, 1024, 768)" :
with "video_stream_id = video_stream_add("xpl/G1000_PFD_1", 0, 0, 1024, 768)" :
-
- Posts: 4336
- Joined: Thu Jul 27, 2017 12:22 am
Re: Video_stream_add
Just a small reminder ... indeed this is not working with the ZiboMod : "video_stream_id = video_stream_add("xpl/CDU739_1", 0, 0, 1024, 768)"
However it works properly with the default Laminar Research 737-800 :
However it works properly with the default Laminar Research 737-800 :