master-of-zen/Av1an

Error: vpx does not support YUVJ444P

Nekotekina opened this issue · 4 comments

Hello, I wanted to convert video recorded in OBS to VP9, and I don't understand the problem. I don't want libvpx to encode in yuvj444p, it's just the input format.

$ av1an -i input.mkv -o output.webm -e vpx --pix-format yuv420p
INFO [av1an_core::context] Input: 1920x1080 @ 60.000 fps, YUVJ444P, SDR
Scene detection
⠁ 00:00:00 ▕                                 ▏   0%  0/2418 (0 fps, eta unknown)
Error: vpx does not support YUVJ444P

Try adding --pix-format yuv420p or --pix-format yuv420p10le it will convert color space

I think this is what I'm doing, to no avail

yep, try adding --sc-method none

error: invalid value 'none'
Actually I think it got fixed by adding --sc-pix-format yuv420p