[Ffmpeg-devel] libavcodec (pcm_decode) core dumps ffmpeg 0.4.9-pre1

Amadeus Stevenson amadeus.stevenson
Wed Jul 13 16:07:24 CEST 2005


Hello,

I have had this problem on Netbsd 2,2.02,-current (20050609).

I cannot compile CVS version of ffmpeg myself, as

a) I don't have the knowledge to patch it to compile on NetBSD
b) Should concentrate on getting package version working (note this
also happens with ffmpeg-0.4.8 in pkgsrc)

I'm trying to decode a DV avi.

Core dump caused by:

#0  0xbda6be7a in pcm_decode_frame () from /usr/pkg/lib/libavcodec.so.0

In:

$ ffmpeg -i odeon.avi odeon.mpg
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
  built on Jun 11 2005 23:16:31, gcc: 3.3.3 (NetBSD nb3 20040520)
Input #0, avi, from 'odeon.avi':
  Duration: 00:00:25.9, bitrate: 121403 kb/s
  Stream #0.0: Video: dvvideo, 720x576, 25.00 fps
  Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
File 'odeon.mpg' already exists. Overwrite ? [y/N] y
Output #0, mpeg, to 'odeon.mpg':
  Stream #0.0: Video: mpeg1video, 720x576, 25.00 fps, q=2-31, 200 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
Memory fault (core dumped)

I can't even manage to recompile with "debugging symbols".

At the moment I can disable audio with "-an" and it will render.

So this seems to be a pcm_decode issue.

I would be most grateful if

a) Someone can tell me how to debug further
b) Someone has a possible solution

Please do not suggest I try CVS sources as this is not possible, from
the reasons in the first part of this message.

Many thanks,

Amadeus





More information about the ffmpeg-devel mailing list