Thread: Avisynth+
View Single Post
Old 9th January 2017, 15:51   #2802  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by Wilbert View Post
Was asking about the output. Apperantly the code is in main.cpp (*), but i don't know that part well enough to tell what and how it should be updated.

(*) see CAVIStreamSynth::Info, CAVIFileSynth::ImageSize, CAVIStreamSynth::ReadFrame and CAVIStreamSynth::ReadFormat.
Thanks for the hints. Made some tests with vdubmod14.

Code:
ConvertToYV16().ConvertBits(16)  # 1st frame OK, crash when play
ConvertToYV12().ConvertBits(16)  # P016 unknown
ConvertToYV12().ConvertBits(10)  # P010 unknown
ConvertToYV16().ConvertBits(10)  # 1st frame OK, crash when play
ConvertToRGB32().ConvertBits(16)  # BRA[64] OK, upside down
ConvertToRGB24().ConvertBits(16)  # BGR0 unknown (could not locate decompressor)
For BRA[64] I had to reverse the output though (in avisynth internally it's upside down like RGB32)
pinterf is offline