Problem with ffmpeg-free
Reinhard Tartler
siretart at tauware.de
Sat Mar 29 06:23:37 UTC 2008
Christoph Pleger <Christoph.Pleger at uni-dortmund.de> writes:
> Hello,
>
>> But since you've said that you've seen the message, I'm confident that
>> this patch will work (the segfault obviously occured after the message).
>
> It did not. Or better: Now the segmentation fault occurs at another location.
So the patch did work exactly as expected. :)
The segfault now seems to occur in libavcodec/utils.c. Well, I think now
it is time to investiate what's going wrong in the application.
> Regards
> Christoph
>
> Output #0, mpeg2video, to '/home/cpleger/DVDs/dvd/menu1-0.mpg_bg.m2v':
> Stream #0.0: Video: 0x0000, yuv420p, 720x576 [PAR 0:1 DAR 0:1], q=2-31,
> 6144 kb/s, 25.00 tb(c)
> swScaler: SwsContext invalid
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1241299264 (LWP 32227)]
> 0xb7a4b621 in avcodec_encode_video (avctx=0x8bbe540, buf=0x0,
> buf_size=1835008, pict=0x0) at utils.c:916
> 916 if((avctx->codec->capabilities & CODEC_CAP_DELAY) || pict){
> (gdb) bt
> #0 0xb7a4b621 in avcodec_encode_video (avctx=0x8bbe540, buf=0x0,
> buf_size=1835008, pict=0x0) at utils.c:916
I'd suspect here that avctx->codec is set to 0, or something worse. a
'bt full' instead of 'bt' would probably reveal that.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
More information about the pkg-multimedia-maintainers
mailing list