[go: up one dir, main page]

Menu

format_changes

Anton Shekhovtsov
Attachments
alias_format.png (5034 bytes)
alpha_display.png (27056 bytes)
decode_format.png (9896 bytes)
example_vdprof.txt (1767 bytes)
picker.png (1654 bytes)

Enable alpha

Possible inputs with Alpha:

  • image sequences: tiff, tga, png, bmp (supported internally)
  • gif, apng
  • raw rgb32, bgra64
  • certain VFW codecs (Utvideo, MagicYUV)
  • all video/image/sequence formats supported by FFMPEG

Possible outputs with Alpha:

  • image sequences: tiff, tga, png (supported internally)
  • gif, apng
  • raw rgb32, bgra64
  • certain VFW codecs (Utvideo, MagicYUV)
  • external encoder (for example ffmpeg)
  • FFV1, Huffyuv encoders

Filters using alpha:

  • Fill (internal): when enabled, fills only areas marked with alpha
  • fflayer: uses source alpha for compositing

Alpha can be displayed in viewports if dx9 display is enabled.

New 16-bit processing formats

XRGB64 is format similar to XRGB but with 16 bit per component precision.
YUV420P16, YUV422P16, YUV444P16 are planar YUV formats similar to 8-bit YUV formats.

Supported features:

  • Input and Output in a variety of ways (see below).
  • Display (downconverted to 8 bit)
  • Color picker can show fractional components and also raw R/G/B/A or Y/U/V values as stored in buffer:

Supported internal filters:

  • crop / null transform
  • flip vertical
  • flip horizontal
  • fill
  • resize
  • convert format

Not supported now (for example):

  • blend curve (only fully opaque or fully transparent)

Deep color input options

  • Caching input driver can read all formats supported by FFMPEG, this can be FFV1 video or DPX sequence or anything else (most useful formats translate directly to RGB64 or YUV###P16 without precision changes)
  • Tiff image sequence is also supported internally and can read 16bit RGB/RGBA
  • internal AVI input driver can read some bitmap formats from uncompressed file or vfw decoder (b64a, v210, P210, P216, ...)

Some known sources by bitmap format:

format sources
b64a Utvideo, MagicYUV, VapourSynth, AviSynth+
BGRA64 MagicYUV, AviSynth+
r210 MagicYUV, VapourSynth
R10k MagicYUV
P010 VapourSynth, AviSynth+
P016 VapourSynth, AviSynth+
v210 Utvideo, MagicYUV, CineformHD, VapourSynth, AviSynth+
P210 MagicYUV, VapourSynth, AviSynth+
YUV422P10 MagicYUV, AviSynth+
P216 VapourSynth, AviSynth+
Y416 VapourSynth, AviSynth+

Note that when input source can decode to multiple formats, more precise format is selected automatically.
The actual format in use is displayed in "Video->Decode format..." dialog at the top:

Deep color output options

  • integrated encoders:
    x264 supports 10 bit yuv (4:2:0, 4:2:2, 4:4:4) and 10 bit rgb
    FFV1 supports rgb/yuv from 9 bit to 16 bit
    FFVHuff supports rgb/yuv from 9 bit to 14 bit
  • AVI: set output format to v210, YUV422P16 or XRGB64.
  • Image sequence: TIFF sequence will store RGB64 at full precision (either 64 or 48 bits depending on alpha).
  • External encoder: FFMPEG is easy to send RGB64 to, and it then can encode to any supported format.
    The key is to specify -pix_fmt %(pix_fmt) for input and also -pix_fmt desired_format for output.
    Example profiles: ffv1-yuva64, ffv1-rgb14

Some known VFW codecs accepting bitmap formats:

format codecs
b64a Utvideo, MagicYUV
BGRA64 MagicYUV
v210 Utvideo, MagicYUV, CineformHD
YUV422P10 MagicYUV

Related

Tickets: #22
Wiki: Home