digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Colour problems using acp (http://www.digitalfaq.com/archives/avisynth/8980-avisynth-colour-problems.html)

buller 04-06-2004 04:42 AM

Avisynth: Colour problems using acp
 
Hi,
I just cant figure this out,I use acp and the optimal script.I get this error message when it start prediction:plane difference ,only planar (as yv12) supported
(serialclip,line 1)

and the screen colours look red on the left side.its like the screen is divided ,different colour on each side.

here is my script:

## Main section and static filters ###
#
Mpeg2Source("D:\DVD2AVI.d2v")
#
undot()
asharp(1, 4)
GripCrop(352, 288, source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
Textsub("C:\Documents and Settings\Allan\Desktop\KVCD\NAVN.srt")
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####

Please help :expert:

buller 04-06-2004 05:20 AM

hmmmm.if I remove, asharp(1, 4) the colour problem stops,and when I remove ScriptClip line.there is no error message.will it affect the final result much?

incredible 04-06-2004 06:37 AM

As the message says ... the script is feeded by a signal different than YV12! (MA and Asharp do defenitely need YV12)

BUT as you go in using a d2v mpeg2source this seems strange to me as every mpeg source do come in YV12 .... so the only idea I have is that you did set in DVD2AVI a colorspace different then YUV ... maybe RGB??

You can handle your issue by adding a ConverttoYV12() right after the mpeg2source import line BUT thats not the way, so FIRST do check out WHY your d2v contains a different colorspace/flag then YV12!

buller 04-06-2004 10:50 AM

I tried doing the DVD2AVI manually ,it worked out fine.I think maybe its "acp" default setting ,that saves the d2v as RGB?.
thx for the help :D


All times are GMT -5. The time now is 06:29 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.