When loading an Avisynth script with mencoder which uses AviSource, mencoder always hangs after a while.
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.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)
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:
(setting threads to 0 doesn't help either)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"
Cu Selur
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 1 of 1
			
		Similar Threads
- 
  MP3 codec for AviSource?By AlanHK in forum Software PlayingReplies: 5Last Post: 29th Sep 2009, 23:53
- 
  FAVC "Use Directshowsource instead of AVIsource"By dzsoul in forum Authoring (DVD)Replies: 9Last Post: 19th Dec 2008, 19:00
- 
  Mencoder QuestionBy AHelpingHand in forum EditingReplies: 1Last Post: 19th Oct 2008, 18:11
- 
  problem with mencoderBy mierdatuti in forum Newbie / General discussionsReplies: 1Last Post: 7th Oct 2008, 20:45
- 
  Mencoder QuestionBy Maikeru-sama in forum Video ConversionReplies: 4Last Post: 23rd Dec 2007, 20:51


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 Visit Homepage
				Visit Homepage
			 
 
			
			
 Quote
 Quote