When loading an Avisynth script with mencoder which uses AviSource, mencoder always hangs after a while.
Code:
vid = avisource("video.avi",true)
vid = vid.ConvertToYUY2()
bbegin = BlankClip(length=50, width=720, height=576, fps=25,pixel_type="YUY2",stereo=true,audio_rate=48000)
bend = BlankClip(length=75, width=720, height=576, fps=25,pixel_type="YUY2",stereo=true,audio_rate=48000)
AlignedSplice(bbegin,vid,bend)
return(last)
Problems seems to be the combination of Avisynth calling a vfw filter (tried ffdshow and other vfw decoders) and mencoder calling avisynth and somehow interfering with avisource.
If the input format is supported through ffmpegsource, one can use that and everything works,...
-> does anyone know a workaround (other than creating a temporal file) that allows to process avisynth scripts with mencoder?

Is there some option in mencoder that might help?
atm. I tried something like:
Code:
mencoder -lavdopts threads=8 -ovc xvid -xvidencopts fixed_quant=3:me_quality=6:quant_type=h263:min_iquant=1:max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31:max_key_interval=250:quant_type=h263:max_bframes=2:bquant_ratio=150:bquant_offset=100:bf_threshold=0:vhq=2:bvhq=1:curve_compression_high=0:curve_compression_low=0:overflow_control_strength=10:max_overflow_improvement=10:max_overflow_degradation=10:trellis:noqpel:nogmc:nocartoon:chroma_opt:chroma_me:nointerlacing:par=ext:par_width=1:par_height=1:closed_gop:nopacked:threads=8 -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "H:\TESTCL~1\video.avs" -of avi -o "H:\Temp\21_56_43_491_01.avi"
(setting threads to 0 doesn't help either)

Cu Selur