Hello;
After successfully encoding a CIF video with AV1 Codec ,I am trying to encode a 4K video now , but i found that the encoding doesn't work with bigger resolutions ( bigger then 1292x1080) , this is what i use:
aomenc.exe --passes=2 --pass=1 --end-usage=q --cq-level=58 --width=3840 --height=2160 --fpf=aom_QP58.log --cpu-used=4 --threads=8 --kf-min-dist=64 --kf-max-dist=64 --psnr --limit=600 --fps=60/1 --bit-depth=10 -o output_QP58.webm aylightRoad2_3840x2160_60fps_10bit_420.yuv 2> logs_QP58_pass1.txt
aomenc.exe --passes=2 --pass=2 --end-usage=q --cq-level=58 --width=3840 --height=2160 --fpf=aom_QP58.log --cpu-used=4 --threads=8 --kf-min-dist=64 --kf-max-dist=64 --psnr --limit=600 --fps=60/1 --bit-depth=10 -o output_QP58.webm DaylightRoad2_3840x2160_60fps_10bit_420.yuv 2> logs_QP58.txt
logs_QP58_pass1.txt is empty, and in logs_QP58.txt there is :
Failed to initialize encoder: Invalid parameter
rc_twopass_stats_in requires at least two packets.
but when i replace : --width=3840 --height=2160 by --width=1920 --height=1080 it works fine ;
So do we have to down-scale videos before encoding with AV1 ; or i missed some input arguments ?