master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.4k stars 147 forks source link

Error: vpx does not support YUVJ444P #781

Open Nekotekina opened 9 months ago

Nekotekina commented 9 months ago

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
master-of-zen commented 9 months ago

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

Nekotekina commented 9 months ago

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

master-of-zen commented 9 months ago

yep, try adding --sc-method none

Nekotekina commented 9 months ago

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