[MEncoder-users] Encoding stops with '00 motion_type at 17 6' after 990 sec

Christian cmf.ml at gmx.de
Tue Mar 30 15:56:28 CEST 2010


Hello,

I do prepare a dvb-s video for dvd burning with DeVeDe. DeVeDe runs the
following command,

/usr/bin/mencoder \
  -noautosub \
  -oac lavc \
  -ovc lavc \
  -of mpeg \
  -mpegopts format=dvd:tsaf \
  -ofps 25 \
  -vf scale=720:576,harddup \
  -lavcopts threads=4:vcodec=mpeg2video:trell:mbd=2:sc_threshold=1000000000:cgop:vstrict=0:vrc_maxr
  -o m.mpg \
  a1.mpg

The encoding stops after 990 sec with the message '00 motion_type at 17 6'.
I investigated the problem and got the following findings.

1.)
The following command stops with the same message:

/usr/bin/mencoder \
  -oac copy \
  -ovc lavc \
  -of mpeg \
  -vf scale=720:576,harddup \
  -lavcopts vcodec=mpeg2video \
  -o m.mpg \
  a1.mpg

Removing the filter 'scale=720:576' makes mencoder complete its work.

2.)
ffmpeg -i a1.mpg  -target pal-dvd m.mpg
is doing fine.

3.)
The first and the second GOP indicate 50 fps (frames per second) while the
rest is at 25 fps.  Erasing these two GOPs cures the failure of mencoder.


Is this failure of mencoder caused by an erroneous video file or is it a bug?
Are there options to make mencoder complete its job?


Regards,

Christian


More information about the MEncoder-users mailing list