View Single Post
Old 11th May 2021, 20:28   #733  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by poisondeathray View Post
You can pipe rawvideo with vspipe for RGB

Since there are no headers, you usually have to enter the info in the receiving application - such as the pixel format, fps, dimensions
eg. sample rgb script

Code:
import vapoursynth as vs
core = vs.get_core()

clip = core.std.BlankClip(fpsnum=24, fpsden=1, length=1200, format=vs.RGB24, color=[0, 0, 0])
clip = core.text.FrameNum(clip)
clip.set_output()

vspipe to ffplay

Code:
vspipe script.vpy - | ffplay -f rawvideo -pixel_format gbrp -video_size 640x480 -framerate 24 -i -
poisondeathray is offline   Reply With Quote