[MPlayer-users] BUG: CVS mencoder barfs at end of DVD-stream.dump

Hans Meine hans_meine at gmx.net
Tue Jul 8 17:11:58 CEST 2003


Hi!

I recently wanted to experiment with aspect-stuff encoding a DVD, which I 
ripped with mplayer into a stream.dump (a whole title). But two-pass encoding 
would not work, because several (each four-hour-long :-( ) tries ended in an 
invalid divx2pass.log after pass one.

I found out that the bug is triggered by the end of the file, encoding ANY 
part before the last frame works. So I dd'ed the last mbs and uploaded them 
as "movie_end.vob" and a description as "movie_end.txt". Part of the latter 
follows:

BUG with CVS HEAD mencoder (0.90rc5-3.2.2 works on the same file):

* first >90% of divx2pass.log is overwritten with zero bytes after creation, 
before quitting; run

    mencoder -v -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=840:vhq:v4mv:vmax_b_frames=2:vb_strategy=1:vpass=1 
-nosound -o /dev/null movie_end.vob

  to get this error (output zeroes.log.gz attached),  result was the following 
divx2pass.log:

{28672 ZERO BYTES HERE}x:0 mv:18 misc:1647 fcode:1 bcode:1 mc-var:0 var:3240 
icount:0;
in:253 out:254 type:3 q:5.000000 itex:0 ptex:0 mv:0 misc:9 fcode:1 bcode:1 
mc-var:0 var:0 icount:0;
in:256 out:255 type:2 q:3.000000 itex:0 ptex:0 mv:56 misc:1704 fcode:1 bcode:1 
mc-var:0 var:3240 icount:0;
in:255 out:256 type:3 q:5.000000 itex:0 ptex:0 mv:0 misc:28 fcode:1 bcode:1 
mc-var:0 var:0 icount:0;
in:258 out:257 type:2 q:3.000000 itex:0 ptex:0 mv:18 misc:1647 fcode:1 bcode:1 
mc-var:0 var:3240 icount:0;
in:257 out:258 type:3 q:5.000000 itex:0 ptex:0 mv:0 misc:9 fcode:1 bcode:1 
mc-var:0 var:0 icount:0;
in:260 out:259 type:2 q:3.000000 itex:0 ptex:0 mv:56 misc:1704 fcode:1 bcode:1 
mc-var:0 var:3240 icount:0;
in:259 out:260 type:3 q:5.000000 itex:0 ptex:0 mv:0 misc:28 fcode:1 bcode:1 
mc-var:0 var:0 icount:0;

* if I remove the b-frames stuff, mencoder crashes instead. Run for
  example (w/o v4mv,vhq too):

    mencoder -v -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=840:vpass=1 -nosound 
-o /dev/null movie_end.vob

  (output wo_options.log.gz attached)

* the file was dd'ed from the end of a stream.dump created by mplayer
  from a whole DVD title. It is the end, because encoding any part
  before that works.

* actually, this last part of the movie contains 265 frames, and the
  error is at the end. Working around it by adding "-frames 264" to
  the above commandlines works!

* if the file is broken (as it seems), recall that it was saved by mplayer, so 
there might still be a bug?

-- 
Ciao, /  /
     /--/
    /  / ANS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wo_options.log.gz
Type: application/x-gzip
Size: 3991 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030708/b363b03c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zeroes.log.gz
Type: application/x-gzip
Size: 4294 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030708/b363b03c/attachment-0001.bin>


More information about the MPlayer-users mailing list