View Single Post
Old 7th February 2016, 22:46   #1  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
Conversion of YV12 to RGB

Hi,

I've just got VapourSynth up and running in linux (Kubuntu 15.10) and I'm now looking at the possibility of replicating some of the scripted AVISynth routines I use.

For conversion of my YV12 (HD AVC) sources to RGB and back I've been using what I call "Gavino's approach" as per:

http://forum.doom9.org/showthread.ph...88#post1571388

So:

Code:
ConvertToYV24(chromaresample="point", interlaced=false)
MergeChroma(PointResize(width, height, 0, 1))
ConvertToRGB32(matrix="rec709", interlaced=false)
...for further processing in RGB32 and then:

Code:
ConvertToYV12(chromaresample="point", matrix="rec709")
Is there a way the same can be done in VapourSynth?
__________________
Nostalgia's not what it used to be
WorBry is offline   Reply With Quote