pfsoutyuv(1)
๐ pfsoutyuv โ bestie edition ๐
okay so real quick, this page lives in section 1 of the General Commands Manual, and the command itself is pfsoutyuv (say it with me: p-f-s-out-yuv). she's a little icon whose whole job is turning your frames into raw .yuv files. let's get into it ๐
โจ NAME โจ
pfsoutyuv โ write frames to a .yuv file used by many video codecs ๐ฌ
โจ SYNOPSIS โจ
pfsoutyuv [--verbose] [--quiet] [--bitdepth] [--colorspace]
[--downsample-filter] [--chroma-format] <file> [<file>...]
โจ DESCRIPTION โจ
use this command to write the pfsstream to an uncompressed .yuv file. no compression, no glow-up, just the raw thing ๐
now here's the part where the colorspace girlies need to pay attention ๐ if the output color space is LDR (bt709), then the input pfs stream should be in the gamma corrected sRGB color space. but if the output color space is HDR (pq2020 or hgl2020), then the input pfs stream should be in linear RGB color space. it's giving "match the vibe of your input to the vibe of your output," fr fr ๐
โจ OPTIONS โจ
--bitdepth,-bโ the bit-depth of the integer values stored in the yuv file. a single color component is stored as a byte if bit-depth is8, or as two bytes otherwise. default:10[bits] ๐งฎ--colorspace,-cโ currently it can be either:
pq2020 for HDR images with BT.2020 colorspace and PQ transfer function, or
hlg2020 for HDR images with BT.2020 colorspace and HLG transfer function, or
bt709 for LDR images in BT.709 (rec.709) colorspace without any transfer function.
if no option is specified, the colorspace is inferred from the LUMINANCE tag in the pfsstream: pq2020 if LUMINANCE is ABSOLUTE or RELATIVE, and bt709 if LUMINANCE is DISPLAY. she guesses, and honestly? she guesses right ๐
--chroma-format,-fโ the sampling format for the chroma channels. can be one of:
444 โ the standard 4:4:4 format with no chroma downsampling. untouched, unbothered, thriving โจ
420 โ the 4:2:0 format with both colour channels being downsampled by half.
default: 420
--downsample-filter,-fโ the filter weights used when downsampling to 4:2:0. can be either
f0 โ Weighting = [1/8, 3/4, 1/8]
f1 โ Weighting = [1/4, 1/2, 1/4]
default: f0
heads up bestie,--chroma-formatand--downsample-filterare both chillin' with the short flag-f. that's not a typo, that's just how the page says it. iykyk ๐
--srgb-input,-sโ set this if the input is gamma corrected, though this will be inferred otherwise from theLUMINANCEtag in the pfs stream ๐ธ--linear-input,-lโ as above, set if the input contains linear luminance values ๐ฆ--verbose,-vโ print extra information tostderr. she's chatty, she's telling you everything ๐ฃ๏ธ--quiet,-qโ disable the warning message about the change in handling absolute values in RGBE files. see IMPORTANT NOTE below ๐
โจ EXAMPLES โจ
pfsin frame%04d.exr | pfsoutyuv video%s.yuv
converts a sequence of frames frame0000.exr, frame0001.exr, ... to a yuv file. literally the classic. no notes ๐ฅ
โจ SEE ALSO โจ
pfsin(1) ๐
โจ IMPORTANT NOTE โจ
no extra text here bestie โ the note being pointed at is the --quiet thing up in OPTIONS. go read that one. ๐
โจ BUGS โจ
please report bugs and comments on implementation to the discussion group http://groups.google.com/group/pfstools ๐๐ซถ
and that's the whole page, no cap ๐ this was pfsoutyuv(1), straight from the General Commands Manual, and the footer was just pfsoutyuv(1) signing off โ mwah, go make some gorgeous .yuv files ๐
โจ๐
๐ฆ where this page comes from
- debian bookworm: pfstools 2.2.0-5+b1 ยท GPL-2.0-or-later
- debian trixie: pfstools 2.2.0-9 ยท GPL-2.0-or-later
- fedora 43: pfstools 2.2.0-23.fc43 ยท GPL-2.0-or-later
- fedora 44: pfstools 2.2.0-25.fc44 ยท GPL-2.0-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: pfstools 2.2.0-2 ยท GPL-2.0-or-later
- ubuntu noble: pfstools 2.2.0-7build3 ยท GPL-2.0-or-later
- ubuntu questing: pfstools 2.2.0-9
- ubuntu resolute: pfstools 2.2.0-10 ยท GPL-2.0-or-later
- ubuntu stonking: pfstools 2.2.0-12 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms