<?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[Running inference on a gstream with tflite]]></title><description><![CDATA[<p dir="auto">Hello, I was wondering if any one knows a way to pipe a video stream from gstream into the tflite server so I can run inference on it.  I am currently running the commands:</p>
<pre><code>gst-launch-1.0 v4l2src device=/dev/video2 ! "video/x-raw, width=1920,height=1080" ! videoconvert ! video/x-raw,format=YUY2 ! videoconvert ! x264enc ! rtph264pay ! udpsink host=192.168.0.149 port=8554

</code></pre>
<p dir="auto">on the voxl2 and</p>
<pre><code>gst-launch-1.0 udpsrc port=8554 ! "application/x-rtp, payload=127" ! rtph264depay ! avdec_h264 ! videoconvert ! xvimagesink
</code></pre>
<p dir="auto">on my host machine which gives me a video stream.</p>
<p dir="auto">Ideally I would just use the uvc server but I dont believe the uvc server supports the camera I am using. Is there a way to make a pipe out of the stream to then be the source for the tflite server? Or preferably a way to get it working with the uvc server?</p>
<p dir="auto">For reference I am using a Sony FCB-ER8530/J 20x 4K CMOS Block Camera. Running voxl-uvc-server -l gives me</p>
<pre><code>Got device descriptor for 04b4:00f9 USB3Neo 07780

Found device 04b4:00f9

DEVICE CONFIGURATION (04b4:00f9/USB3Neo 07780) ---
Status: idle
VideoControl:
	bcdUVC: 0x0110
VideoStreaming(1):
	bEndpointAddress: 131
	Formats:
	UncompressedFormat(1)
		  bits per pixel: 12
		  GUID: 4934323000001000800000aa00389b71 (I420)
		  default frame: 1
		  aspect ratio: 16x9
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 00
			  size: 1920x1080
			  bit rate: -446365696--446365696
			  max frame size: 16588800
			  default interval: 1/29
			  interval[0]: 1/29
			  interval[1]: 1/14
			  interval[2]: 1/7
			  interval[3]: 1/3
			  interval[4]: 1/1
			FrameDescriptor(2)
			  capabilities: 00
			  size: 3840x2160
			  bit rate: 962150400-962150400
			  max frame size: 4147200
			  default interval: 1/29
			  interval[0]: 1/29
			  interval[1]: 1/14
			  interval[2]: 1/7
			  interval[3]: 1/3
			  interval[4]: 1/1

</code></pre>
]]></description><link>https://forum.modalai.com/topic/4059/running-inference-on-a-gstream-with-tflite</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 06:04:43 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/4059.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Jan 2025 21:52:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Running inference on a gstream with tflite on Sat, 04 Jan 2025 23:31:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/samuel-lehman" aria-label="Profile: Samuel-Lehman">@<bdi>Samuel-Lehman</bdi></a> If this is a UVC camera you may be able to use <code>voxl-uvc-server</code> in order to create an MPA pipe and have tflite server read from that pipe</p>
<p dir="auto">It may take some slight tweaking to get voxl-uvc-server to support your specific camera</p>
]]></description><link>https://forum.modalai.com/post/20317</link><guid isPermaLink="true">https://forum.modalai.com/post/20317</guid><dc:creator><![CDATA[tom]]></dc:creator><pubDate>Sat, 04 Jan 2025 23:31:52 GMT</pubDate></item></channel></rss>