linux-automation / meta-lxatac

Build your own LXA TAC images and bundles
MIT License
5 stars 15 forks source link

labgrid-exporter: add USBVideo/USBAudioInput/USBDebugger resources #20

Closed Bastian-Krause closed 1 year ago

Bastian-Krause commented 1 year ago

The required gstreamer plugins, gst-launch-1.0 and openocd are installed, so simply adding the new resources here is sufficient.

Note: The new resources already use the correct indentation. #19 fixes the indentation for the remaining resources. Mixing the indentation for the time being seems to work.

hnez commented 1 year ago

Very cool. I assume you have tested this patch on the actual hardware and did not encounter any performance bottlenecks etc.? USBVideo assumes a webcam/capture device with hardware h.264 encoding built in, right?

Bastian-Krause commented 1 year ago

Very cool. I assume you have tested this patch on the actual hardware and did not encounter any performance bottlenecks etc.?

There is some delay for the video case, but it worked well enough for my use cases. gst-launch uses 1-2% CPU.

USBVideo assumes a webcam/capture device with hardware h.264 encoding built in, right?

I don't think so, I use a Logitech C920 HD Pro Webcam.

hnez commented 1 year ago

There is some delay for the video case, but it worked well enough for my use cases. gst-launch uses 1-2% CPU.

Alright, that's what I wanted to know. If there was any re-encoding happening on the TAC that number would be quite different (I guess). Looks good to me then. Will merge.