7

I am running this script and I get this warning: "deprecated pixel format used, make sure you did set range correctly using ffmpeg"

If the pixel format yuv420p is deprecated, which one is newer and better and recommended to be used?

Joe Jobs
  • 723
  • 1
  • 6
  • 12
  • 3
    I know it's a warning and not an error, I know there is nothing to fix. Yet, if the format is deprecated, maybe there exists a newer and better one? – Joe Jobs Jul 19 '21 at 17:10
  • 1
    The overall format is not deprecated, having individual switches (`yuv420p` and `yuvj420p`) for limited and full-range colour spaces is deprecated and the warning is telling you to make sure you have specified the range so that it knows how to set up the colour space. – Mokubai Jul 19 '21 at 19:07
  • And then what kind of switches for limited and full-range colour spaces are not deprecated? – Joe Jobs Jul 20 '21 at 09:21
  • The switches are not deprecated. Use the `scale` filter with `in_range` and `out_range`. – slhck Jul 21 '21 at 11:44
  • @slhck still the same warning, nothing changed – Konrad Nov 23 '21 at 19:30
  • @KonradLinkowski Yes, it probably won't change. The word "deprecated" is maybe misleading here. – slhck Nov 24 '21 at 10:53

0 Answers0