<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Get camera Frame from libmodal pipe client]]></title><description><![CDATA[<p dir="auto">Hey,<br />
i'm currently working on getting frames from libmodal pipe. I've looked up the examples of modal pipe, also had a look at voxl-streamer but didn't understood too much. Regarding too the struct of the <code> pipe_client_set_camera_helper_cb</code> in <code>modal_pipe_client.h (l.322-355)</code>, is there any way to get the actual frame from that? I'm unfortunately not familiar with buffers and how they work. In voxl streamer the context is being used but in the header file only channel, metadata, and the frame beginning pointer? are being mentioned. Is the context the actual frame?</p>
]]></description><link>https://forum.modalai.com/topic/833/get-camera-frame-from-libmodal-pipe-client</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 15:26:05 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/833.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Apr 2022 14:17:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Get camera Frame from libmodal pipe client on Fri, 01 Apr 2022 16:20:16 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal/-/blob/master/src/video_manager.cpp#L77" rel="nofollow ugc">https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal/-/blob/master/src/video_manager.cpp#L77</a></p>
<p dir="auto">Is an example of allocating a buffer and copying the frame into it. There are some other good examples in that file as well for processing frames and converting them to various formats within the callback. Hope that helps!</p>
]]></description><link>https://forum.modalai.com/post/3928</link><guid isPermaLink="true">https://forum.modalai.com/post/3928</guid><dc:creator><![CDATA[Steve Turner]]></dc:creator><pubDate>Fri, 01 Apr 2022 16:20:16 GMT</pubDate></item><item><title><![CDATA[Reply to Get camera Frame from libmodal pipe client on Fri, 01 Apr 2022 16:04:26 GMT]]></title><description><![CDATA[<p dir="auto">Would something like that work?</p>
<pre><code>char* buffer[meta.size_bytes];
memcpy(buffer, frame, meta.size_bytes);
</code></pre>
]]></description><link>https://forum.modalai.com/post/3927</link><guid isPermaLink="true">https://forum.modalai.com/post/3927</guid><dc:creator><![CDATA[Philemon Benner]]></dc:creator><pubDate>Fri, 01 Apr 2022 16:04:26 GMT</pubDate></item><item><title><![CDATA[Reply to Get camera Frame from libmodal pipe client on Fri, 01 Apr 2022 15:59:14 GMT]]></title><description><![CDATA[<p dir="auto">@Darkhive that's what i've mentioned above in the post. I don't have a clear understanding of how voxl-streamer camera_cb works and i don't want to use gstreamer to get the actual frame.</p>
]]></description><link>https://forum.modalai.com/post/3926</link><guid isPermaLink="true">https://forum.modalai.com/post/3926</guid><dc:creator><![CDATA[Philemon Benner]]></dc:creator><pubDate>Fri, 01 Apr 2022 15:59:14 GMT</pubDate></item><item><title><![CDATA[Reply to Get camera Frame from libmodal pipe client on Fri, 01 Apr 2022 15:36:49 GMT]]></title><description><![CDATA[<p dir="auto">Check out <a href="https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer/-/blob/master/src/main.c#L87" rel="nofollow ugc">https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer/-/blob/master/src/main.c#L87</a> for an example of how to handle the callback.</p>
]]></description><link>https://forum.modalai.com/post/3925</link><guid isPermaLink="true">https://forum.modalai.com/post/3925</guid><dc:creator><![CDATA[Steve Turner]]></dc:creator><pubDate>Fri, 01 Apr 2022 15:36:49 GMT</pubDate></item></channel></rss>