[MPlayer-users] mencoder, libavcodec and b-frames

gabor gabor at realtime.sk
Wed Oct 9 17:13:02 CEST 2002


Oeystein Olsen wrote:
> 
> #Ripping the movie
> 
>>mplayer -dvd 1 -dumpstream -dumpfile ripped_dvd
> 
> 
> # Soundfile
> 
>>mencoder -ovc frameno -o frameno.avi -oac mp3lame -lameopts cbr:br=192 
> 
> -alang en ripped_dvd
> 
> # First pass
> 
>>mencoder -ovc lavc -lavcopts 
> 
> vcodec=mpeg4:vbitrate=1494:vhq:vmax_b_frames=2:vpass=1 -vop 
> crop=632:264:2:48,scale -zoom -xy 640 -sws 2 -oac copy -o /dev/null 
> ripped_dvd
> 
> # Second pass, crashes with a segmention fault.
> 
>>mencoder -ovc lavc -lavcopts 
> 
> vcodec=mpeg4:vbitrate=1494:vhq:vmax_b_frames=2:vpass=2 -vop 
> crop=632:264:2:48,scale -zoom -xy 640 -sws 2 -oac copy -o the_movie.avi  
> ripped_dvd
> 
> 

that's too much....

try to reduce the problem
for example don'd do any zoom, resize, scale etc...

simply do a :
mencoder -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=1494:vhq:vmax_b_frames=2:vpass=1 my.avi -o /dev/null

mencoder -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=1494:vhq:vmax_b_frames=2:vpass=2 my.avi -o out.avi

now does it crash too?

if doesn't then try to add first crop, then scale etc.... this way you 
can find the exact problematic operation.

bye,
gabor

btw. i tried a two pass encoding with vmax_b_frames=2 and it worked








More information about the MPlayer-users mailing list