# phpman > man > ppmtoyuvsplit(1)

> **TLDR:** Convert a PPM image to three subsampled Abekas YUV files.
>
- Read a PPM image from the input file, convert it to three subsampled Abekas YUV image and store these images to output files starting with the specified basename:
  `ppmtoyuvsplit {{basename}} {{path/to/input_file.ppm}}`

*Source: tldr-pages*

---

[ppmtoyuvsplit(1)](https://www.chedong.com/phpMan.php/man/ppmtoyuvsplit/1/markdown)                       General Commands Manual                      [ppmtoyuvsplit(1)](https://www.chedong.com/phpMan.php/man/ppmtoyuvsplit/1/markdown)



## NAME
       ppmtoyuvsplit - convert a portable pixmap into 3 subsampled raw YUV files

## SYNOPSIS
       **ppmtoyuvsplit** _basename_ [_ppmfile_]

## 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 re‐
       quired  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(1)](https://www.chedong.com/phpMan.php/man/mpeg/1/markdown), [ppm(5)](https://www.chedong.com/phpMan.php/man/ppm/5/markdown)

## AUTHOR
       Copyright (C) 1993 by Andre Beck. (<Andre_Beck@IRS.Inf.TU-Dresden.de>)

       Based on ppmtoyuv.c



                                          9 September 1993                          [ppmtoyuvsplit(1)](https://www.chedong.com/phpMan.php/man/ppmtoyuvsplit/1/markdown)
