unitreerobotics / UnitreecameraSDK

Unitree GO1 camera SDK
Mozilla Public License 2.0
73 stars 32 forks source link

Warning: erroneous pipline: no element "omxh264dec" #14

Open SOrtonn opened 1 year ago

SOrtonn commented 1 year ago

I'm trying too access the forward camera from a eternal PC following this guide: https://unitree-docs.readthedocs.io/en/latest/get_started/Go1_Edu.html

I'm receiving the above error when trying to run ./bins/example_getimagetrans

Any help would be appreciated

ghost commented 12 months ago

Try change the decoder inexample_getimagetrans.cc into avdec_h264 if your PC is AMD64(X86)architecture, and build the project again (rm -r build; mkdir build; cd build; cmake ..; make)

std::string udpstrBehindData = " ! application/x-rtp,media=video,encoding-name=H264 ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! appsink";