ffmpeg seg faults
Dieter
freebsd at sopwith.solgatos.com
Fri Jan 6 21:03:36 PST 2006
FreeBSD 6.0
AMD64
port ffmpeg-0.4.9-pre1
converting mpeg2ts to dv
Ffmpeg seg faults. (with or without the fixes I posted earlier today)
(gdb) run -hq -async 1 -i file.mpeg2ts -padcolor 000000 -padtop 18 -padbottom 14 -padleft 26 -padright 26 -s 668x448 -r 29.97 /var/tmp/file.dv
Starting program: /ro/lapp/bin/ffmpeg_g -hq -async 1 -i file.mpeg2ts -padcolor 000000 -padtop 18 -padbottom 14 -padleft 26 -padright 26 -s 668x448 -r 29.97 /var/tmp/file.dv
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on Jan 6 2006 20:19:16, gcc: 3.4.4 [FreeBSD] 20050518
Input #0, mpegts, from 'file.mpeg2ts':
Duration: 00:09:57.3, bitrate: 9058 kb/s
Stream #0.0[0x0]: Data: mpeg2ts, 9058 kb/s
Stream #0.1[0x41]: Video: mpeg2video, 704x480, 29.97 fps
Stream #0.2[0x44]: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Output #0, dv, to '/var/tmp/file.dv':
Stream #0.0: Video: dvvideo (hq), 720x480, 29.97 fps, q=2-31, 200 kb/s
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.2 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x800a440c0]ac-tex damaged at 6 7trate=28764.0kbits/s
[mpeg2video @ 0x800a440c0]ac-tex damaged at 14 10
[mpeg2video @ 0x800a440c0]ac-tex damaged at 22 12
[mpeg2video @ 0x800a440c0]ac-tex damaged at 14 14
[mpeg2video @ 0x800a440c0]concealing 2147483647 errors
[mpeg2video @ 0x800a440c0]Warning MVs not available
[mpeg2video @ 0x800a440c0]MPEG motion vector out of boundarykbits/s
[mpeg2video @ 0x800a440c0]ac-tex damaged at 12 3
[mpeg2video @ 0x800a440c0]ac-tex damaged at 0 19
[mpeg2video @ 0x800a440c0]MPEG motion vector out of boundary
[mpeg2video @ 0x800a440c0]MPEG motion vector out of boundary
[mpeg2video @ 0x800a440c0]00 motion_type at 7 5
Program received signal SIGSEGV, Segmentation fault.
0x00000008012af3fe in memset () from /lib/libc.so.6
(gdb) bt
#0 0x00000008012af3fe in memset () from /lib/libc.so.6
#1 0x0000000800870dc7 in ff_er_add_slice () from /usr/local/lib/libavcodec.so
#2 0x000000080085c1b5 in ff_mpeg1_find_frame_end () from /usr/local/lib/libavcodec.so
#3 0x00000008007a7a54 in avcodec_decode_video () from /usr/local/lib/libavcodec.so
#4 0x0000000000405151 in output_packet (ist=0x532100, ist_index=1, ost_table=0x706040, nb_ostreams=2, pkt=0x7fffffffe540)
at ffmpeg.c:1125
#5 0x000000000040650c in av_encode (output_files=0x5108a0, nb_output_files=1, input_files=0x510760, nb_input_files=1,
stream_maps=0x510940, nb_stream_maps=0) at ffmpeg.c:1833
#6 0x000000000040a678 in main (argc=0, argv=0x7fffffffeb78) at ffmpeg.c:3917
(gdb)
ffmpeg.c:
1120 case CODEC_TYPE_VIDEO:
1121 data_size = (ist->st->codec.width * ist->st->codec.height * 3) / 2;
1122 /* XXX: allocate picture correctly */
1123 avcodec_get_frame_defaults(&picture);
1124
1125 ret = avcodec_decode_video(&ist->st->codec,
1126 &picture, &got_picture, ptr, len);
1127 ist->st->quality= picture.quality;
1128 if (ret < 0)
1129 goto fail_decode;
1130 if (!got_picture) {
More information about the freebsd-ports
mailing list