{
    "mode": "man",
    "parameter": "ffmpeg-scaler",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-scaler/1/json",
    "generated": "2026-10-21T15:20:46Z",
    "sections": {
        "NAME": {
            "content": "ffmpeg-scaler - FFmpeg video scaling and pixel format converter\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The FFmpeg rescaler provides a high-level interface to the libswscale library image\nconversion utilities. In particular it allows one to perform image rescaling and pixel format\nconversion.\n",
            "subsections": []
        },
        "SCALER OPTIONS": {
            "content": "The video scaler supports the following named options.\n\nOptions may be set by specifying -option value in the FFmpeg tools, with a few API-only\nexceptions noted below.  For programmatic use, they can be set explicitly in the \"SwsContext\"\noptions or through the libavutil/opt.h API.\n",
            "subsections": [
                {
                    "name": "sws_flags",
                    "content": "Set  the  scaler  flags.  This  is  also used to set the scaling algorithm. Only a single\nalgorithm should be selected. Default value is bicubic.\n\nIt accepts the following values:\n\nfastbilinear\nSelect fast bilinear scaling algorithm.\n\nbilinear\nSelect bilinear scaling algorithm.\n\nbicubic\nSelect bicubic scaling algorithm.\n\nexperimental\nSelect experimental scaling algorithm.\n\nneighbor\nSelect nearest neighbor rescaling algorithm.\n\narea\nSelect averaging area rescaling algorithm.\n\nbicublin\nSelect bicubic  scaling  algorithm  for  the  luma  component,  bilinear  for  chroma\ncomponents.\n\ngauss\nSelect Gaussian rescaling algorithm.\n\nsinc\nSelect sinc rescaling algorithm.\n\nlanczos\nSelect Lanczos rescaling algorithm. The default width (alpha) is 3 and can be changed\nby setting \"param0\".\n\nspline\nSelect natural bicubic spline rescaling algorithm.\n\nprintinfo\nEnable printing/debug logging.\n\naccuraternd\nEnable accurate rounding.\n\nfullchromaint\nEnable full chroma interpolation.\n\nfullchromainp\nSelect full chroma input.\n\nbitexact\nEnable bitexact output.\n\nsrcw (API only)\nSet source width.\n\nsrch (API only)\nSet source height.\n\ndstw (API only)\nSet destination width.\n\ndsth (API only)\nSet destination height.\n\nsrcformat (API only)\nSet source pixel format (must be expressed as an integer).\n\ndstformat (API only)\nSet destination pixel format (must be expressed as an integer).\n"
                },
                {
                    "name": "src_range _(boolean)",
                    "content": "If value is set to 1, indicates source is full range. Default value is 0, which indicates\nsource is limited range.\n"
                },
                {
                    "name": "dst_range _(boolean)",
                    "content": "If  value  is  set  to  1,  enable  full range for destination. Default value is 0, which\nenables limited range.\n"
                },
                {
                    "name": "param0, param1",
                    "content": "Set scaling algorithm parameters. The specified  values  are  specific  of  some  scaling\nalgorithms and ignored by others. The specified values are floating point number values.\n"
                },
                {
                    "name": "sws_dither",
                    "content": "Set the dithering algorithm. Accepts one of the following values. Default value is auto.\n\nauto\nautomatic choice\n\nnone\nno dithering\n\nbayer\nbayer dither\n\ned  error diffusion dither\n\nadither\narithmetic dither, based using addition\n\nxdither\narithmetic  dither,  based  using  xor  (more  random/less  apparent  patterning that\nadither).\n"
                },
                {
                    "name": "alphablend",
                    "content": "Set the alpha blending to use when the input has alpha but the output does not.   Default\nvalue is none.\n\nuniformcolor\nBlend onto a uniform background color\n\ncheckerboard\nBlend onto a checkerboard\n\nnone\nNo blending\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "ffmpeg(1), ffplay(1), ffprobe(1), libswscale(3)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "The FFmpeg developers.\n\nFor    details    about    the   authorship,   see   the   Git   history   of   the   project\n(https://git.ffmpeg.org/ffmpeg), e.g. by typing the command git  log  in  the  FFmpeg  source\ndirectory, or browsing the online repository at <https://git.ffmpeg.org/ffmpeg>.\n\nMaintainers for the specific components are listed in the file MAINTAINERS in the source code\ntree.\n\nFFMPEG-SCALER(1)",
            "subsections": []
        }
    },
    "summary": "ffmpeg-scaler - FFmpeg video scaling and pixel format converter",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "ffmpeg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg/1/json"
        },
        {
            "name": "ffplay",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffplay/1/json"
        },
        {
            "name": "ffprobe",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffprobe/1/json"
        },
        {
            "name": "libswscale",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/libswscale/3/json"
        }
    ]
}