[MPlayer-users] Mencoder segfaults at end of MPEG2 stream
Frank Mehnert
fm3 at os.inf.tu-dresden.de
Wed May 21 13:14:20 CEST 2003
Hi,
I'm trying to encode a raw MPEG2 stream ripped from DVD. The stream seems
to be not correct finalized: At the end of the encoding process, mencoder
prints a message "get_buffer() failed (<four values here>)" and segfaults.
After having a look at the libavcodec library I found that the message
is generated in libavcodec/mpegvideo.c function alloc_picture(). The
function returns a value -1 after showing the message. But the error is
not passed to the calling functions.
Unfortunately, the segfault causes the divx2pass.log file to be scrambled.
Even if I let terminate mencoder immediately after showing the error message
by adding an exit(-1) behind the printf() line, the divx2pass.log file
is scrambled and therefore unusable for the second encoding pass.
Any ideas?
(Debian Woody,
Linux 2.4.20,
mplayer cvs 05/20/2003,
gcc version 3.2.3
GNU assembler 2.13.90.0.16
GNU ld version 2.13.90.0.16 20021126 Debian GNU/Linux)
Frank
--
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## E-Mail: fm3 at os.inf.tu-dresden.de http://os.inf.tu-dresden.de/~fm3 ##
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030521/4eb34744/attachment.pgp>
More information about the MPlayer-users
mailing list