Posts: 2
	Threads: 1
	Joined: Dec 2017
	
	
 
	
	
		Hello
I'm trying to convert a VOB into an AVI, but the program crashes as soon as I start the job
VOB info:
![[Image: dIw0F98.png]](https://i.imgur.com/dIw0F98.png) 
Settings I'm trying to use for the conversion:
codec video: xvid
    encoding mode: specific filesize/bitrate (1st pass)
    target size: 4100 MiB
    unchecked "fast 1st pass"
audio: passthrough all
container: avi
I'm on version 2017.10.05.1
A sample of the video and the debug file are attached.
Thanks in advance for you time 
 
	 
 
	
	
	
		
	Posts: 12.046
	Threads: 65
	Joined: May 2017
	
	
 
	
	
		Will look into it, but you probably want 'average bitrate (1-pass)' instead of 'specific filesize/bitrate (1st pass)' which is part of a two pass encoding and should not create any output.
Also conversion works fine here. 

What happens if you call:
mencoder -lavdopts threads=8 -ofps 25.000 -ovc xvid -xvidencopts pass=1:bitrate=5279: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:keyframe_boost=10:kfthreshold=1:kfreduction=20: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 -passlogfile "C:\Users\Marco\AppData\Local\Temp\f4.stats" -noskip -vf scale,format=i420,scale=720:406,scale,format=i420 -sws 10 -forcedsubsonly -nosub -nosound "C:\Users\Marco\Desktop\FANTAS~1\IFANTA~1.VOB" -o NUL
Don't know the exact paths you used, since you only posted a debug output containing the job creation and not the job processing.
Cu Selur
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 2
	Threads: 1
	Joined: Dec 2017
	
	
 
	
	
		Thanks for the reply.
If I use 'specific filesize/bitrate (1st pass)' it works fine.
Then if I want to encode to a specific file size how do I do it?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 12.046
	Threads: 65
	Joined: May 2017
	
	
 
	
		
		
		07.12.2017, 17:07 
(This post was last modified: 07.12.2017, 19:14 by Selur.)
		
	 
	
		Quote:Then if I want to encode to a specific file size how do I do it? 
Only way top hit a specific  size is to use 2pass encoding.
You might want to read the tool-tip of the encoding Mode option.
Quote:If I use 'specific filesize/bitrate (1st pass)' it works fine.
Did you mig up 'specific filesize/bitrate (1st pass)' and  'average bitrate (1-pass)' again, because your first crash was with  'specific filesize/bitrate (1st pass)',...
Cu Selur
	
 
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.