Down-scale videos before encoding with AV1 ?!

250 views
Skip to first unread message

Mourad AKLOUF

unread,
May 22, 2018, 11:27:13 AM5/22/18
to Codec Developers


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 ?

Thomas Daede

unread,
May 22, 2018, 1:18:31 PM5/22/18
to codec...@webmproject.org
It's likely your first pass did not complete successfully. Is there
anything interesting in logs_QP58_pass1.txt?

AV1 should support 4k fine.
> --
> You received this message because you are subscribed to the Google
> Groups "Codec Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to codec-devel...@webmproject.org
> <mailto:codec-devel...@webmproject.org>.
> To post to this group, send email to codec...@webmproject.org
> <mailto:codec...@webmproject.org>.
> Visit this group at
> https://groups.google.com/a/webmproject.org/group/codec-devel/.
> For more options, visit
> https://groups.google.com/a/webmproject.org/d/optout.

Mourad AKLOUF

unread,
May 23, 2018, 4:20:18 AM5/23/18
to codec...@webmproject.org
No logs_QP58_pass1.txt is also empty , yeah the 1st pass was not done properly


> To post to this group, send email to codec...@webmproject.org
--
You received this message because you are subscribed to the Google Groups "Codec Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codec-devel+unsubscribe@webmproject.org.
To post to this group, send email to codec...@webmproject.org.
Reply all
Reply to author
Forward
0 new messages