> pix_fmts
it's a conversion filter, not an encoder option - https://ffmpeg.org/ffmpeg-filters.html#format-1
> This worked, though!
> ovcopts: pix_fmt=yuv420p
how?
[vo/lavc] AVOption 'pix_fmt' not found.
===
1. How SVP works by default:
<10-bit after decoder> --> <10-to-8 Vapoursynth conversion w/o dithering> --> <motion interpolation in 8-bit> --> <8-bit encoder>
"allow 10-bit" OFF
2. Proposed method via lav filters:
<10-bit after decoder> --> <no Vapoursynth conversion> --> <motion interpolation in 10-bit> --> <10-to-8 lavfi conversion> --> <8-bit encoder>
"allow 10-bit" ON, lavfi: ";format=pix_fmts=yuv420p"
3. Other possible solution:
<10-bit after decoder> --> <10-to-8 Vapoursynth conversion with dithering> --> <motion interpolation in 8-bit> --> <8-bit encoder>
"allow 10-bit" OFF, needs editing SVP/script/generate.js, line 397:
res += bl+'input_um = clip.resize.'+(media.is420 ? 'Point':'Bicubic')+'(format=vs.YUV420'+(media.p10?'P10':'P8')+',dither_type="random")'+br;
4. One more...
<10-bit after decoder> --> <10-to-8 Vapoursynth conversion> --> <motion interpolation in 8-bit> --> <lavfi deband filter> --> <8-bit encoder>
"allow 10-bit" OFF, lavfi: ";deband"
5. And more...
<10-bit after decoder> --> <some super-duper Vapoursynth conversion script including deband via f3kdb plugin> --> <motion interpolation in 8-bit> --> <8-bit encoder>
(1) obviously the worst
(2) the best (?) but slowest
(3) better than (1) and worse than (2) in quality, but should be noticeable faster than (2)
(4) probably even better than (2)
(5) have not tried, the best possible quality (in theory) + slowest processing
===
Conclusion: we'll insert "deband" filter in case of 10-to-8 conversion in the next build