View Single Post
Old 22nd July 2020, 08:41   #306  |  Link
Cary Knoop
Cary Knoop
 
Cary Knoop's Avatar
 
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
Bitdept function fails for ProRes 4444

Any idea why this fails on a ProRes4444 format? I presume it is the alpha channel.

Code:
c = core.ffms2.Source("prores4444.mov")
c = core.fmtc.bitdepth(c, bits=16)
Error:
c = core.fmtc.bitdepth(c, bits=16)
File "src\cython\vapoursynth.pyx", line 1862, in vapoursynth.Function.__call__
vapoursynth.Error: bitdepth: argument clip is not of array type but more than one value was supplied


Edited to add:

Found out the solution myself, if an alpha channel is present two clips will be returned.
This works fine:
Code:
c = core.ffms2.Source("prores4444.mov")
c = core.fmtc.bitdepth(c[0], bits=16)

Last edited by Cary Knoop; 22nd July 2020 at 08:56.
Cary Knoop is offline   Reply With Quote