ppmtoyuvsplit
convert a portable pixmap into 3 subsampled raw YUV files
Synopsis
ppmtoyuvsplit
basename [ppmfile]
add an example, a script, a trick and tips
examples
no example yet ...
... Feel free to add your own example above to help other Linux-lovers !
description
Reads a
portable pixmap as input. Produces 3 raw files basename.Y,
basename.U and basename.V as output. These files are the
subsampled raw YUV representation of the input pixmap, as
required by the Stanford MPEG codec. The subsampling is done
by arithmetic mean of 4 pixels colors into one. The YUV
values are scaled according to CCIR.601, as assumed by
MPEG.
see also
mpeg,
ppm
author
Copyright (C)
1993 by Andre Beck. (Andre_Beck[:at:]IRS.Inf[:dot:]TU-Dresden.de)
Based on
ppmtoyuv.c