yuvinfo

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
OPTIONS
SEE ALSO
AUTHOR

NAME

yuvinfo − describe a YUV4MPEG stream

SYNOPSIS

yuvinfo [-h] [-l] [-c] [-H]

DESCRIPTION

Describes a YUV4MPEG stream read from the standard input using an output format similar to lavinfo. Optionally copies the input to the standard output and can also overlay YUV histograms in the output video stream.

EXAMPLES

These two commands should produce similar output:
lavinfo input.avi
lav2yuv input.avi | yuvinfo

Store information about raw video stream before encoding:
lav2yuv input.avi \
| yuvresample −f 25:1 \
| yuvinfo −c 2> info.txt \
| mpeg2enc −f 8 −o output.mpeg2

Visually inspect the YUV histograms:
lav2yuv video.avi | yuvinfo −H | yuvplay

OPTIONS

−h

Print brief usage information and exit immediately.

−l

Output only the length of the stream as number of frames. This can be used in scripts to easily obtain the length of a stream.

−c

Copy the input to the standard output and write information to the standard error. This option makes it easy to record information about video stream as it is been processed or encoded.

−H

Overlay YUV histograms in the output video stream. Implies -c.

SEE ALSO

mjpegtools(1), yuv4mpeg(5)

AUTHOR

yuvinfo was implemented by Johannes Lehtinen. However, it is only a thin wrapper around the mjpegutils library provided by the mjpegtools(1) package.