Skip to content
Romain Bouqueau edited this page Mar 5, 2024 · 6 revisions

Warning

GPAC's wiki has moved to wiki.gpac.io.

This github wiki will no longer be updated.

You can contribute to GPAC's documentation here.

Uncompressed Video File Format Generator Utility

Register name used to load filter: uncvg
This is a JavaScript filter, not checked during graph resolution and needs explicit loading.
Author: GPAC team - (c) Telecom ParisTech 2023 - license LGPL v2

This filter provides generation of test images for ISO/IEC 23001-17
Generated pixels can be:

  • a pattern of colors in columns, or in rectangles if sq is set, using the specified palette.
  • an image source if img is used.

Colors specified in the palette can be default GPAC colors (see gpac -h colors), 0xRRGGBB or 0xAARRGGBB

When generating video, the pixels are shifted to the left at every frame

Components are described as N[bpc][+k] with

  • N: component type, one of M(mono), Y, U, V, R, G, B, A, d(depth), disp, p(palette), f(filterArray), x (pad)
  • bpc: bits per component value, default is 8. Non-integer values must be one of
    • sft: floating-point value on 16 bits
    • flt: floating-point value on 32 bits
    • dbl: floating-point value on 64 bits
    • dblx: floating-point value on 128 bits
    • cps: complex value as two floats on 16 bits each
    • cpf: complex value as two floats on 32 bits each
    • cpd: complex value as two floats on 64 bits each
    • cpx: complex value as two floats on 128 bits each
  • k: force component alignment on k bytes, default is 0 (no alignment)

Options

vsize (v2d, default: 128x128): width and height of output image
c (strl, default: R8,G8,B8): image components
tiles (v2d, default: 1x1): number of horizontal and vertical tiles
interleave (enum, default: pix): interleave type

  • comp: component-based interleaving (planar modes)
  • pix: pixel-based interleaving (packed modes)
  • mix: pixel-based interleaving for UV (semi-planar modes)
  • row: row-based interleaving
  • tile: tile-component interleaving
  • multi: pixel-based interleaving (packed modes) for sub-sampled modes

sampling (enum, default: none): sampling types

  • none: no sub-sampling
  • 422: YUV 4:2:2 sub-sampling
  • 420: YUV 4:2:0 sub-sampling
  • 411: YUV 4:1:1 sub-sampling

block_size (uint, default: 0): block size in bytes
pad_lsb (bool, default: false): padded bits are at LSB in the block
ble (bool, default: false): block is little endian
br (bool, default: false): block has reversed components
pixel_size (uint, default: 0): size of pixel in bytes
row_align (uint, default: 0): row alignment in bytes
tile_align (uint, default: 0): tile alignment in bytes
cle (bool, default: false): byte-aligned components are little endian
img (str, default: __): use specified image as input instead of RGB generation
asize (bool, default: false): use input image size
pal (strl, default: red,green,blue,white,black,yellow,cyan,grey,orange,violet): default palette for color generation
fa (strl, default: B,G,G,R): bayer-like filter - only 2x2 on R,G,B components is supported
bpm (strl, default: __): set sensor bad pixel map as a list of cN (broken column), rM (broken row) or NxM (single pixel)
fps (frac, default: 25/1): frame rate to generate - using 0 will trigger item muxing
dur (frac, default: 1/1): duration to generate - using 0 will trigger item muxing
cloc (uint, default: -1, minmax: -1,6): set chroma location type
stereo (bool, default: false): dump a stereo image
sq (flt, default: 0): generate square patterns instead of columns
shade (bool, default: false): shade pixels from black at bottom to full intensity at top
scpt (bool, default: false): use single color per tile, first tile using the first color in palette

HOME » Filters

Filters Overview

General Filters Concepts
gpac General Usage
Built-in Properties

GPAC Configuration

Configuration File
Global Options
Logging

Filters Help

Inspect packets (inspect)
Probe source (probe)
Compositor (compositor)
ISOBMFF/QT demultiplexer (mp4dmx)
MPEG-4 BIFS decoder (bifsdec)
MPEG-4 OD decoder (odfdec)
File input (fin)
BT/XMT/X3D loader (btplay)
HTTP input (httpin)
SVG loader (svgplay)
JPG/J2K/PNG/BMP reframer (rfimg)
PNG/JPG decoder (imgdec)
ADTS reframer (rfadts)
LATM reframer (rflatm)
MP3 reframer (rfmp3)
FAAD decoder (faad)
MAD decoder (maddec)
OpenJPEG2000 decoder (j2kdec)
AC3 reframer (rfac3)
A52 decoder (a52dec)
AMR/EVRC reframer (rfamr)
OGG demultiplexer (oggdmx)
Vorbis decoder (vorbisdec)
Theora decoder (theoradec)
MPEG-2 TS demultiplexer (m2tsdmx)
UDP/TCP input (sockin)
DVB for Linux (dvbin)
OpenSVC decoder (osvcdec)
VideoToolBox decoder (vtbdec)
MediaCodec decoder (mcdec)
MPEG-4 LASeR decoder (lsrdec)
SAF demultiplexer (safdmx)
MPEG-DASH and HLS client (dashin)
CENC decryptor (cdcrypt)
CENC encryptor (cecrypt)
ISOBMFF/QT multiplexer (mp4mx)
QCP reframer (rfqcp)
H263 reframer (rfh263)
M1V/M2V/M4V reframer (rfmpgvid)
NHNT reader (nhntr)
NHML reader (nhmlr)
AVC/HEVC reframer (rfnalu)
MPEG PS demultiplexer (m2psdmx)
AVI demultiplexer (avidmx)
Subtitle loader (txtin)
TTXT/TX3G decoder (ttxtdec)
WebVTT decoder (vttdec)
TTML decoder (ttmldec)
RTP/RTSP/SDP input (rtpin)
File output (fout)
Raw AAC to LATM writer (uflatm)
ADTS writer (ufadts)
MHAS writer (ufmhas)
Media Reframer (reframer)
Stream to file (writegen)
AVC/HEVC to AnnexB writer (ufnalu)
QCP writer (writeqcp)
WebVTT unframer (ufvtt)
NHNT writer (nhntw)
NHML writer (nhmlw)
VobSub parser (vobsubdmx)
AVI multiplexer (avimx)
Audio output (aout)
M4V writer (ufm4v)
VC1 writer (ufvc1)
Audio resampler (resample)
Video output (vout)
Video crop (vcrop)
Video flip (vflip)
RAW video reframer (rfrawvid)
PCM reframer (rfpcm)
JPG encoder (jpgenc)
PNG encoder (pngenc)
Audio/Video rewinder (rewind)
Sources concatenator (flist)
MPEG-2 TS multiplexer (m2tsmx)
DASH and HLS segmenter (dasher)
HEVC tile aggregator (tileagg)
HEVC tile bitstream splitter (tilesplit)
pipe input (pin)
pipe output (pout)
GSF Multiplexer (gsfmx)
GSF demultiplexer (gsfdmx)
UDP/TCP output (sockout)
AV1/IVF/VP9 reframer (rfav1)
IVF/OBU/annexB writer (ufobu)
NVidia decoder (nvdec)
ROUTE input (routein)
RTP Streamer (rtpout)
RTSP Server (rtspout)
HTTP Server (httpout)
HEVC tile splitter (hevcsplit)
HEVC Tile merger (hevcmerge)
FLAC reframer (rfflac)
MPEH-H Audio Stream reframer (rfmhas)
ProRes reframer (rfprores)
MPEG Transport Stream splitter (tssplit)
Compressed bitstream rewriter (bsrw)
Compressed layered bitstream splitter (bssplit)
Compressed layered bitstream aggregator (bsagg)
TX3G unframer (ufttxt)
TX3G to SRT (tx3g2srt)
TX3G to WebVTT (tx3g2vtt)
TX3G to TTML (tx3g2ttml)
WebVTT to TX3G (vtt2tx3g)
SRT reframer (rfsrt)
TTML to WebVTT (ttml2vtt)
TTML to SRT (ttml2srt)
MPEG-H Audio decoder (mpeghdec)
FFMPEG demultiplexer (ffdmx)
FFMPEG decoder (ffdec)
FFMPEG AV Capture (ffavin)
FFMPEG video rescaler (ffsws)
FFMPEG encoder (ffenc)
FFMPEG multiplexer (ffmx)
FFMPEG AVFilter (ffavf)
FFMPEG BitStream filter (ffbsf)
JavaScript filter (jsf)
ROUTE output (routeout)
TrueHD reframer (rftruehd)
CryptFile input (cryptin)
CryptFile output (cryptout)
Packet timestamp rewriter (restamp)
OGG multiplexer (oggmx)
Stream unframer (unframer)
Stream to unframed format (writeuf)
UNCV decoder (uncvdec)
GHI demultiplexer (ghidmx)
EVG video rescaler (evgs)
Closed-Caption decoder (ccdec)
DekTec SDIOut (dtout)
OpenHEVC decoder (ohevcdec)
Uncompressed Video File Format Generator Utility (uncvg)
GPU texture uploader (glpush)
Thumbnail collection generator (thumbs)
Audio Video Mixer (avmix)
AV Counter Generator (avgen)

Clone this wiki locally