Jetson TX2 tegra_mulimedia_api/samples/01_video_encode issue

Hi,
when I followed the document and ran this in command
“./video_encode …/…/data/Video/sample_outdoor_car_1080p_10fps.yuv 1920 1080 H264 sample_outdoor_car_1080p_10fps.h264”
it always show
“Failed to query video capabilities: Inappropriate ioctl for device
NvMMLiteOpen : Block : BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
875967048
842091865
===== MSENC blits (mode: 1) into tiled surfaces =====
Could not read complete frame from input file
File read complete.
App run was successful”
What cause this?

Hi,
It runs successfully.

App run was successful