y4mcolorbars(1) | MJPEG tools manual | y4mcolorbars(1) |
y4mcolorbars - Create a YUV4MPEG2 stream containing a colorbar test pattern
y4mcolorbars [options]
y4mcolorbars creates a YUV4MPEG2 stream consisting entirely of frames containing a colorbar test pattern. The pattern attempts to reproduce the standard SMPTE EG-1-1990 colorbar test signal as faithfully as possible, given the constraints of the Y'CbCr colorspace.
Output is to stdout to facilitate piping to other MJPEG tools.
y4mcolorbars accepts the following options:
The supported subsampled modes use a lousy subsampling filter; better results will be achieved by passing the default 4:4:4 output to a scaler which supports subsampling, such as y4mscaler(1).
To create and display 200 frames of colorbars corresponding to a top-field-first interlaced 4:3 NTSC source:
To create and display 200 frames of colorbars corresponding to a bottom-field-first interlaced 4:3 PAL source:
First, it's not clear to the author (who hasn't actually ever seen the SMPTE EG-1-1990 document itself) what the absolute excursion of the -I and +Q regions is supposed to be; however, the phase is correct, and that should be the critical feature. Second, the PLUGE bars, of -4 and +4 IRE, can never be precisely synthesized --- the Y' digital space maps [16,235] over the full luma excursion, but the full luma excursion in analog space depends on whether or not 7.5 IRE NTSC setup is being used by whatever device eventually produces the analog output. However, the difference is within 1-bit of Y' accuracy anyway.
This man page was written by Matt Marjanovic.
If you have questions, remarks, problems or you just want to contact the
developers, the main mailing list for the MJPEG-tools is:
mjpeg-users@lists.sourceforge.net
mjpegtools(1), mpeg2enc(1), y4mscaler(1), yuv2lav(1), yuvplay(1)
28 April 2004 | MJPEG Tools Team |