[MPlayer-users] mencoder stops at certain place in movie

wim delvaux wim.delvaux at adaptiveplanet.com
Mon Mar 28 04:10:31 CEST 2005

Hi all,

I have the following encoding commands

nice -n 19 mencoder -of avi -sws 0 -ovc lavc -lavcopts 
vcodec=mpeg4:vme=4:mbd=1:vpass=1:autoaspect -oac copy ${INF} -vf 
crop=${CROPY_F}:${CROPX_F}:${CROPY_T}:${CROPX_T} -ss 0 -frames 119973 
-o /dev/null

nice -n 19 mencoder -of avi -sws 0 -ovc lavc -lavcopts 
vcodec=mpeg4:vme=4:mbd=1:vpass=2:autoaspect ${INF} -vf crop=${CROPY_F}:
${CROPX_F}:${CROPY_T}:${CROPX_T} -ss 0 -frames 119973 -o 
${INF/\.avi/-recompressed.avi} -oac lavc -lavcopts acodec=mp3:abitrate=224

Where INF is the input file and CROP... is some crop value.

I want to convert a recorded movie from TV to the 'best' compression level. 
The movie itself is recorded as 

  mencoder tv:// \
         -quiet \
         -tv driver=v4l2:freq=${FREQ}:normid=0:amode=1 \
         -endpos ${DURATION} \
         -info "name=${PROGRAM}" \
         -vf hqdn3d \
         -of ${OUTPUTTYPE} \
         -o "${OUTPUTTO}" \
         -oac lavc \
         -ovc lavc \
         -lavcopts acodec=mp3:v4mv:vbitrate=2500:

wher DURATION, PROGRAM OUTPUTTO are what the duraction of the recording,
the channel and the output file and OUTPUTYPE is the output file type (I 
always use AVI).

This system works fine however I have one movie (that plays just fine) that 
stops in the reencoding part (not the recording) and that ALWAYS at the same 

I checked the output but could notice any error or crash.  It just seems that 
some EOF is in there somewhere.

What could be wrong ?


More information about the MPlayer-users mailing list