I am trying to leverage the Tegra MMAPI samples for saving jpeg images from my application. Ultimately, I want to solve this problem https://devtalk.nvidia.com/default/topic/1029516/jetson-tx2/seeking-suggestions-of-faster-way-of-saving-images-with-jetson-inference-camera-processing/post/5236896/#5236896
I tried to run the compiled sample in
by the following command
./jpeg_encode ../../data/Picture/nvidia-logo.jpg 1920 1080 dec-logo.jpg
I get the following output on command line and nothing is produced in the corresponding folder.
Failed to query video capabilities: Inappropriate ioctl for device libv4l2_nvvidconv (0):(774) (INFO) : Allocating (1) OUTPUT PLANE BUFFERS Layout=0 libv4l2_nvvidconv (0):(790) (INFO) : Allocating (1) CAPTURE PLANE BUFFERS Layout=1 Could not read a complete frame from file App run was successful
What kind of input does it take?