i was trying to run a webrtc systems on xavier nx.
when i launch the command:
./momo --no-audio-device --video-device /dev/video0 --serial /dev/pts/3,9600 test
i get this error:
Opening in BLOCKING MODE
[ERROR] (/root/rootfs/usr/src/jetson_multimedia_api/samples/common/classes/NvV4l2ElementPlane.cpp:371) Capture Plane:Error in VIDIOC_S_FMT: Invalid argument
Opening in BLOCKING MODE
failed to create capturer
what should i be doing?
What’s momo? Can the camera working for any others APP?
momo is a webrtc native client. though everything is working for me, its just throwing an error upfront like this but still works:
./momo --no-audio-device --video-device /dev/video0 --serial /dev/pts/4,9600 test --port 8080
Opening in BLOCKING MODE
[ERROR] (/root/rootfs/usr/src/jetson_multimedia_api/samples/common/classes/NvV4l2ElementPlane.cpp:371) <enc0> Capture Plane:Error in VIDIOC_S_FMT: Invalid argument
Opening in BLOCKING MODE
Opening in BLOCKING MODE
[ERROR] (/root/rootfs/usr/src/jetson_multimedia_api/samples/common/classes/NvV4l2ElementPlane.cpp:371) <enc0> Capture Plane:Error in VIDIOC_S_FMT: Invalid argument
Opening in BLOCKING MODE
libv4l2_nvvidconv (0):(802) (INFO) : Allocating (1) OUTPUT PLANE BUFFERS Layout=0
libv4l2_nvvidconv (0):(818) (INFO) : Allocating (2) CAPTURE PLANE BUFFERS Layout=1
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
875967048
842091865
H264: Profile = 100, Level = 51
875967048
842091865
i am wondering what the error is about…
The error could be try to set the pixel format failed.