PDA

View Full Version : Avisynth output to YUV file?


neo squidward
7th March 2006, 17:16
How do I save the output from avisynth to a YUV file?

Wilbert
7th March 2006, 17:48
Raw YUV: open script in VDub, under video select 'fast recompress' and under compression select 'uncompressed YUV' and start to encode.

If you mean something else, please explain what you want.

jmac698
7th March 2006, 21:53
I find a need to measure direct yuv values, so I came up with a format I call vyu.
clip=avisource("blah")
y=clip
u=utoy(clip)
v=vtoy(clip)
vyu=mergergb(v,y,u)
It looks strange, but you can measure values in a paint program, with the dropper tool. Red measure v, Green measure y, Blue measures u.

Another way, is to save to a special "ebmp" format,
ImageWriter(clip, string "file", int "start", int "end", string "type", bool "info")
eg
imagwriter(clip) #writes all frames with autogenerated filenames