jpeg2yuv accepts the following options:
-bnum
Frame offset: skip output of the first 'num' frames. (default: 0)
-fnum
Set the frame rate of stream accepts the same numbers. No default, this option has to be specified.
-Aratio
Sample aspect ratio. Default is square pixels (1:1)
-Inum
interlacing mode: p = none / progressive
t = top field first
b = bottom field first
No default, this option has to be specified.
-Lnum
0 = non-interlaced (two successive fields per JPEG file)
1 = interlaced fields
-lnum
Specifies the number of loops (default: 0 loops )
When this option is not used the given range of images is only processed once. If you use this
option with num of -1 jpeg2yuv will loop forever writing the image to stdout. When you use n > 0 it
will loop n-times till it finishes.
-nnum
Specifies the number of frames to process. (default: all = -1)
-j{1}%{2}d{3}
Read JPEG frames with the name components as follows:
{1} JPEG filename prefix (e g: picture_ )
{2} Counting placeholder (like in C, printf, eg 06 ))
{3} File extension. Something like this: .jpg A correct description of the files could look like
this: picture_%06d.jpg
If this option is omited, the filenames are read from stdin. For example:
$ls *jpg | jpeg2yuv -f 25 -I p > result.yuv
-R1or0
rescale YUV color values from 0-255 to 16-235 (default: 1)
-vnum
Verbosity level (0, 1 or 2)