8

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?

10
  • 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
    Commented Jul 19, 2021 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
    Commented Jul 19, 2021 at 19:07
  • And then what kind of switches for limited and full-range colour spaces are not deprecated?
    – Joe Jobs
    Commented Jul 20, 2021 at 9:21
  • The switches are not deprecated. Use the scale filter with in_range and out_range.
    – slhck
    Commented Jul 21, 2021 at 11:44
  • @slhck still the same warning, nothing changed
    – Konrad
    Commented Nov 23, 2021 at 19:30

0

Browse other questions tagged .