[FFmpeg-devel] [PATCH]

Werner Robitza werner.robitza at gmail.com
Wed May 15 14:36:12 EEST 2019


On Wed, May 15, 2019 at 11:36 AM Gyan <ffmpeg at gyani.pro> wrote:
> Which lines in the CLI help?

SWScaler AVOptions:
  -sws_flags         <flags>      E..V..... scaler flags (default bicubic)
   ...
  -src_format        <pix_fmt>    E..V..... source format (default yuv420p)
  -dst_format        <pix_fmt>    E..V..... destination format (default yuv420p)
  -src_range         <boolean>    E..V..... source is full range (default false)
  -dst_range         <boolean>    E..V..... destination is full range
(default false)

> I don't see any constants set in the AVOptions struct. Can you share a command line where you could set this option using a string?

I was just going by the help printed above, including the default. If
a string is not valid, which values are?
Or am I looking in the wrong place?

> > +If set to 1, source range will be full range.
>
> Mention the range of values possible and their meaning.

I don't understand, as no other values are possible. Well, 0 is
possible but meaningless since it's default; 1 indicates "true".

Werner

PS: Sorry for missing the subject line in this email.


More information about the ffmpeg-devel mailing list