Changes between Version 8 and Version 9 of colorspace


Ignore:
Timestamp:
Jun 27, 2023, 2:56:21 PM (3 years ago)
Author:
Mingye Wang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • colorspace

    v8 v9  
    6969The easiest way to use these filters is to ensure that the input AVFrames have all relevant struct members set to the appropriate values. On ffmpeg command-line this is what options such as `-colorspace` and `color_trc` do; you can also put them on the output side to modify what space the output is in.
    7070
    71 If everything goes well, `swscale` figures out how to do the conversion and you can avoid calling the filter manually. However, AVFrames does not cover every option needed, so advanced use will go back to `-vf`.
     71If everything goes well, `swscale` figures out how to do the conversion and you can avoid calling the filter manually. However, AVFrames does not cover every option needed, so advanced use will go back to `-vf colorspace` or `-vf zscale`.
    7272
    7373See also [https://ffmpeg.org/doxygen/trunk/group__lsws.html#ga541bdffa8149f5f9203664f955faa040 sws_setColorspaceDetails]() and [https://stackoverflow.com/a/67885887 F.X.'s colorspace answer].