for AviSynth 2.5x
RawSourceSeq (clip, string "fullpathpattern", int
"startframe", int "lastframe/duration", int "width", int "height",
string "pixel_type", string "index", bool "show")
RawSourceSeq opens a video files sequence which contains YUV2,
YV16, YV12 or RGB video data.
It doesn't handle files with headers (I don't know about anyone who has
a need for it).
fullpathpattern:
is the complete path of the sequence, including the drive
letter and the pattern of the frame number,
e.g. d:\sequences\rawuyvy\sequence1_%06d.yuv
where "%0xd" will be changed by rawsourceseq into the corect
frame numbers (between startframe and
lastframe)
(x specifies the number of digits used in your files
naming.)
startframe:
is the number of the first frame you want to use.
e.g. if startframe is
0 and fullpathpattern is
"d:\sequences\rawuyvy\sequence1_%06d.yuv",
the first frame to be loaded will be
"sequence1_000000.yuv".
lastframe/duration:
is the number of the last frame you want to use OR the duration
(in frames) of your sequence.
a positive value is
considered as the lastframe.
a negative value is
considered as the duration (obvioulsly
the absolute value of it).
NB: At the moment if some files are missing they will be replaced by
green frames.
Supported pixel_types are:
RGB, RGBA, BGR, BGRA (interleaved RGB without subsampling,
resulting in AviSynth's RGB24 or RGB32)
YUYV, YVYU, UYVY, VYUY (interleaved horizontally subsampled
resulting in AviSynth's YUV2)
YV16 (planar horizontally subsampled, it is converted to
AviSynth's YUV2)
I420, YV12 (planar horizontally and vertically subsampled
resulting in AviSynth's YV12)
Maximal width is 2880.
The framerate is fixed to 25fps, you can change it with AssumeFPS, if
you need (e.g. for NTSC-material).
RawSource("d:\sequences\rawuyvy\sequence2_%04d.yuv",1,50,720,576,"UYVY") |
RawSource("d:\sequences\raw\sequence3_%05d.yuv",0,-100,720,576,"UYVY") |