I create input.yuv by
gst-launch-1.0 videotestsrc num-buffers=30 ! 'video/x-raw,width=3480,height=2160,format=I420' ! filesink location=input.yuv
then I try to run video encoder on tegra_multimedia_api/samples/01_video_encode/ and get this result on console screen
./video_encode input.yuv 3480 2160 H265 test.h265 Failed to query video capabilities: Bad address NvMMLiteOpen : Block : BlockType = 8 ===== MSENC ===== NvMMLiteBlockCreate : Block : BlockType = 8 892744264 842091865 ===== NVENC blits (mode: 1) into block linear surfaces ===== Could not read complete frame from input file EOS File read complete. App run was successful
It looks like video encode can not read video source until EOS is reached; out file is very small (less than 1M) while input file is very big (more than 300MB)
Is this somewhere that I make mistake? any suggestion to solve this problem?
Thank in advance.