pfsinyuv(1)
π pfsinyuv β like, the manual page, but make it make sense π
okay bestie, sit down, hydrate, and let's talk about pfsinyuv(1) from the General Commands Manual. she's a section 1 command, she reads frames, she's iconic, periodt. π
β¨ NAME β¨
pfsinyuv β read frames from a single .yuv file that, like, a ton of video codecs use. no cap. π
πΈ SYNOPSIS πΈ
pfsinyuv [--verbose] [--quiet] [--width] [--height] [--colorspace]
[--noguess] [--chroma-subsampling] [--bit-depth] [--frames] [--help]
<file>
π¦ DESCRIPTION π¦
Use this command to read an uncompressed yuv file into a pfsstream. that's the whole vibe. π
<file> can contain one or more formatting strings, and those strings describe the format of the yuv file. so like, the filename itself is basically telling you what's inside it, which is lowkey iconic. the formatting strings are:
%sβ the entire description in the format<width>x<height>_<fps><bitdepth>_<colorspace>_<chroma-format>, for example1920x1080_25_10b_pq2020_420%dβ width in pixels%dβ height in pixels%dβ bit-depth in bits%sβ colorspace, such as'bt709'%sβ chroma subsampling format, either'444'or'420'
(yes, %d shows up three times and %s shows up three times. that's not a typo on my part, that's just how it is. iykyk. π)
π OPTIONS π
--width,-wβ specify the width in pixels of the YUV file. π--height,-hβ specify the height in pixels of the YUV file. π--fps,-fβ specify the frames per second of the YUV file. ποΈ--bit-depth,-bβ the bit-depth of the integer values stored in the yuv file. here's the tea: a single color component is stored as a byte if bit-depth is8, or as two bytes otherwise. default:10[bits]. β¨--chroma-format,-sβ specify the chroma format of the YUV file. it can be one of:444β standard 4:4:4 YCbCr format, with no chroma downsampling at all420β 4:2:0 YCbCr format, with both colour channels downsampled by halfV210β thev210format is a packed YUV 4:2:2 (UYVY) format with10bits per component
--colorspace,-cβ currently it can be either:pq2020for HDR images with BT.2020 colorspace and PQ transfer function, orbt709for LDR images in BT.709 (rec.709) colorspace without any transfer function, orhlg2020for HDR images with BT.2020 colorspace and HLG transfer function.
okay and if no option is specified, the colorspace gets inferred from the LUMINANNCE tag in the pfsstream: pq2020 if LUMINANCE is ABSOLUTE or RELATIVE, bt709 if LUMINANCE is DISPLAY. (and yes, it says "LUMINANNCE" with the extra N in the original, i'm not fixing her, she's perfect π)
--no-guess,-nβ don't try to extract image metadata from the filename. let the filename live its life. π«--frames,-rβ read only frames within the range specified asfirst:last, orfirst:step:last. frames are indexed from1, so to read the first and second frame you need to specify1:2. β--verbose,-vβ print extra information tostderr. she's chatty and we love that for her. π£οΈ--quiet,-qβ disable the warning message about the change in handling absolute values in RGBE files. see the IMPORTANT NOTE below. π€«
π EXAMPLES π
pfsinyuv video_1920x1080_10b_25fps_pq2020_444.yuv --frames 100:-1:0 -v |
pfsview
π₯ SEE ALSO π₯
π IMPORTANT NOTE π
this section is in the original and it is, genuinely, completely empty. nothing in it. zero. the --quiet option points you here and here is, like, the void. iconic behaviour honestly. π
π«Ά BUGS π«Ά
Please report bugs and comments on implementation to the discussion group at http://groups.google.com/group/pfstools. fr fr, they wanna hear from you. π
kay that's the whole page bestie!! π she's from the General Commands Manual, she's page pfsinyuv(1), and that's a wrap on section 1. go read some yuv files, you absolute main character. π§β¨π
π¦ 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