Closed mistyron closed 1 year ago
Matin responded with: Hi Jothan,
I can definitely help you with the error. You are absolutely right. The version of the plugin that you have is old. Hence, the properties that are mentioned in the most recent wiki don't apply.
To fix this, you can either remove drpai properties (i.e. show-fps=true log-detects=true smooth-video-rate=30 ) and run the gstreamer like:
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, width=640, height=480, format=BGR \
! drpai \
! vspmfilter dmabuf-use=true ! video/x-raw, format=NV12 \
! omxh264enc control-rate=2 target-bitrate=10485760 interval_intraframes=14 periodicty-idr=2 \
! video/x-h264,profile=\(string\)high,level=\(string\)4.2 \
! rtph264pay ! udpsink host={SINKHOST} port=51372
Or you can update the plugin by downloading the latest version from here: https://github.com/MistySOM/gstreamer1.0-drpai/releases I compiled the plugin just now and provided an RPM file that you can copy to the SD card and install with the command: dnf install ./gstreamer1.0-drpai-1.0-r0.aarch64.rpm
Best, Matin
Jotham's response: Thanks Matin! I'll give this a try tomorrow and let you know how it goes
Jotham's response: Worked like a charm - thanks again.
I'll be trying to build a gst plugin with a different ai model, so I will likely be in touch with more questions later.
Regards J
This is for record keeping: Hey Ron,
After a few busy weeks I'm looking at the MistySOM in earnest for running our model. Going through some of the wiki materials and ran into one blocker
The SOM board we have was kindly shipped with all the scripts and binaries to get going. The issue is the gstreamer drpai plugin appears to be invalid somehow. Trying to run the example below
Exits and prints the following warning:
Inspecting the plugin indicates the warning is valid - the plugin doesn't have the properties specified in the . Maybe this is just an old version of the plugin?
Pardon the formatting.
Any suggestions to resolve this?
Regards Jotham