Quantcast Avisynth: Colour Problems Using ACP - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
04-06-2004, 04:42 AM
buller buller is offline
Free Member
 
Join Date: Apr 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,
I just cant figure this out,I use acp and the optimal script.I get this error message when it start predictionlane 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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
04-06-2004, 05:20 AM
buller buller is offline
Free Member
 
Join Date: Apr 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #3  
04-06-2004, 06:37 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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!
Reply With Quote
  #4  
04-06-2004, 10:50 AM
buller buller is offline
Free Member
 
Join Date: Apr 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
VCD OFF COLOUR? Colors out of place? WOWIEGURL Video Encoding and Conversion 7 06-27-2004 03:38 AM
Avisynth Interlace Problems muhali3 Avisynth Scripting 2 11-18-2003 04:33 PM
Avisynth: Filter for colour bleed? MrTibs Avisynth Scripting 4 05-02-2003 11:17 AM
Avisynth: Colour enhancement filter? PyRoMaNiA Avisynth Scripting 1 03-28-2003 02:00 PM
KVCD: Preview in TMPGEnc full colour, VCD black & white? tboeken Video Encoding and Conversion 1 06-12-2002 10:35 AM




 
All times are GMT -5. The time now is 04:55 PM  —  vBulletin © Jelsoft Enterprises Ltd