(chroot) livecd ffmpeg # gdb ffmpeg_g GNU gdb (Gentoo 7.3.1 p2) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /ffmpeg/ffmpeg_g...done. (gdb) r -i bbb-tr1000.ts -vcodec zlib -an asd.mkv Starting program: /ffmpeg/ffmpeg_g -i bbb-tr1000.ts -vcodec zlib -an asd.mkv [Thread debugging using libthread_db enabled] ffmpeg version N-41371-g8d1de44 Copyright (c) 2000-2012 the FFmpeg developers built on Jun 7 2012 03:33:08 with gcc 4.5.3 configuration: --enable-gpl --disable-protocols --disable-network --enable-protocol=file --cpu=amdfam10 --prefix=/usr libavutil 51. 56.100 / 51. 56.100 libavcodec 54. 25.100 / 54. 25.100 libavformat 54. 6.101 / 54. 6.101 libavdevice 54. 0.100 / 54. 0.100 libavfilter 2. 78.101 / 2. 78.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [dirac @ 0x1489f40] Error in dirac_decode_data_unit Last message repeated 18 times [mpegts @ 0x1486100] max_analyze_duration 5000000 reached at 5016000 [mpegts @ 0x1486100] PES packet size mismatch Input #0, mpegts, from 'bbb-tr1000.ts': Duration: 00:09:56.12, start: 61835.685522, bitrate: 1373 kb/s Program 1 Stream #0:0[0x44]: Video: dirac (drac / 0x63617264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 28.28 fps, 24 tbr, 90k tbn, 24 tbc Stream #0:1[0x45]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s [buffer @ 0x148cf60] w:640 h:360 pixfmt:yuv420p tb:1/90000 sar:1/1 sws_param:flags=2 [ffmpeg_buffersink @ 0x148c9e0] No opaque field provided [format @ 0x148cde0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format' [auto-inserted scaler 0 @ 0x148e3c0] w:640 h:360 fmt:yuv420p sar:1/1 -> w:640 h:360 fmt:bgr24 sar:1/1 flags:0x4 Output #0, matroska, to 'asd.mkv': Metadata: encoder : Lavf54.6.101 Stream #0:0: Video: zlib (ZLIB / 0x42494C5A), bgr24, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1k tbn, 24 tbc Stream mapping: Stream #0:0 -> #0:0 (dirac -> zlib) Press [q] to stop, [?] for help [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted [dirac @ 0x1489f40] Error in dirac_decode_data_unit Error while decoding stream #0:0: Operation not permitted Program received signal SIGSEGV, Segmentation fault. dirac_decode_frame_internal (s=0x150c320) at libavcodec/diracdec.c:1615 1615 dsty += p->ybsep; (gdb) bt #0 dirac_decode_frame_internal (s=0x150c320) at libavcodec/diracdec.c:1615 #1 0x000000000059d590 in dirac_decode_data_unit (avctx=, buf=, size=) at libavcodec/diracdec.c:1818 #2 0x000000000059fd6c in dirac_decode_frame (avctx=0x1489f40, data=0x1543ec0, data_size=0x7fffffffcb6c, pkt=) at libavcodec/diracdec.c:1869 #3 0x00000000008d2216 in avcodec_decode_video2 (avctx=0x1489f40, picture=0x1543ec0, got_picture_ptr=0x7fffffffcb6c, avpkt=0x7fffffffcac0) at libavcodec/utils.c:1472 #4 0x000000000043f254 in decode_video (got_output=0x7fffffffcb5c, pkt=0x7fffffffcab0, ist=0x148acc0) at ffmpeg.c:2414 #5 output_packet (ist=0x148acc0, pkt=0x7fffffffe1b0) at ffmpeg.c:2588 #6 0x0000000000447c12 in transcode () at ffmpeg.c:3452 #7 main (argc=, argv=) at ffmpeg.c:5752 (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x597585 to 0x5975c5: 0x0000000000597585 : xchg %eax,%ebx 0x0000000000597586 : enterq $0x16,$0x0 0x000000000059758a : incl 0x30(%rsp) 0x000000000059758e : mov 0x2600(%rbx),%ecx 0x0000000000597594 : mov 0x80(%rsp),%rdx 0x000000000059759c : add %rdx,0x58(%rsp) 0x00000000005975a1 : cmp 0x30(%rsp),%ecx => 0x00000000005975a5 : movzbl 0xb(%r12),%eax 0x00000000005975ab : jle 0x597031 0x00000000005975b1 : movzbl %al,%eax 0x00000000005975b4 : mov 0x25fc(%rbx),%r13d 0x00000000005975bb : add %eax,0x18(%rsp) 0x00000000005975bf : mov %ecx,%edx 0x00000000005975c1 : jmpq 0x597340 End of assembler dump. (gdb) info all-registers rax 0x0 0 rbx 0x150c320 22070048 rcx 0x30 48 rdx 0x2a00 10752 rsi 0x16eb344 24032068 rdi 0x2950230 43319856 rbp 0x6 0x6 rsp 0x7fffffffc1b0 0x7fffffffc1b0 r8 0x280 640 r9 0x280 640 r10 0x154786e 22313070 r11 0x15475f0 22312432 r12 0x280 640 r13 0x16e93c4 24024004 r14 0x165c1f6 23446006 r15 0x150c320 22070048 rip 0x5975a5 0x5975a5 eflags 0x10212 [ AF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 -nan(0x2727272727272727) (raw 0xffff2727272727272727) st1 -nan(0x2727272727272727) (raw 0xffff2727272727272727) st2 -nan(0x161c131b21181c24) (raw 0xffff161c131b21181c24) st3 -nan(0x000002123) (raw 0xffff0000000000002123) st4 -inf (raw 0xffff0000000000000000) st5 -nan(0x1a1f271d00000000) (raw 0xffff1a1f271d00000000) st6 -nan(0x8484848383838383) (raw 0xffff8484848383838383) st7 -nan(0x131b21180000) (raw 0xffff0000131b21180000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xaaaa 43690 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0}, v8_int16 = {0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20}, v4_int32 = {0x200020, 0x200020, 0x200020, 0x200020}, v2_int64 = {0x20002000200020, 0x20002000200020}, uint128 = 0x00200020002000200020002000200020} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3d, 0x3d, 0x3d, 0x3d, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c}, v8_int16 = {0x3c3c, 0x3c3c, 0x3c3c, 0x3d3d, 0x3d3d, 0x3c3c, 0x3c3c, 0x3c3c}, v4_int32 = {0x3c3c3c3c, 0x3d3d3c3c, 0x3c3c3d3d, 0x3c3c3c3c}, v2_int64 = {0x3d3d3c3c3c3c3c3c, 0x3c3c3c3c3c3c3d3d}, uint128 = 0x3c3c3c3c3c3c3d3d3d3d3c3c3c3c3c3c} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x3d, 0x0, 0x3d, 0x0, 0x3c, 0x0, 0x3c, 0x0, 0x3c, 0x0, 0x3c, 0x0, 0x3c, 0x0, 0x3c, 0x0}, v8_int16 = {0x3d, 0x3d, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c}, v4_int32 = {0x3d003d, 0x3c003c, 0x3c003c, 0x3c003c}, v2_int64 = {0x3c003c003d003d, 0x3c003c003c003c}, uint128 = 0x003c003c003c003c003c003c003d003d} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x3a, 0x0, 0x3a, 0x0, 0x3a, 0x0, 0x3a, 0x0, 0x3a, 0x0, 0x3a, 0x0, 0x3a, 0x0, 0x3a, 0x0}, v8_int16 = {0x3a, 0x3a, 0x3a, 0x3a, 0x3a, 0x3a, 0x3a, 0x3a}, v4_int32 = {0x3a003a, 0x3a003a, 0x3a003a, 0x3a003a}, v2_int64 = {0x3a003a003a003a, 0x3a003a003a003a}, uint128 = 0x003a003a003a003a003a003a003a003a} xmm6 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = {0xffffffffffffffd2, 0x0}, v16_int8 = {0x5b, 0xaa, 0xa2, 0x2a, 0x9e, 0x6, 0x47, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xaa5b, 0x2aa2, 0x69e, 0xc047, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2aa2aa5b, 0xc047069e, 0x0, 0x0}, v2_int64 = {0xc047069e2aa2aa5b, 0x0}, uint128 = 0x0000000000000000c047069e2aa2aa5b} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm8 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = {0xffffffffffffffd2, 0x0}, v16_int8 = {0xe0, 0xe6, 0x35, 0x67, 0x9e, 0x6, 0x47, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xe6e0, 0x6735, 0x69e, 0xc047, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x6735e6e0, 0xc047069e, 0x0, 0x0}, v2_int64 = {0xc047069e6735e6e0, 0x0}, uint128 = 0x0000000000000000c047069e6735e6e0} xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x68, 0xc8, 0xbc, 0x3b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xc868, 0x3bbc, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3bbcc868, 0x0, 0x0}, v2_int64 = {0x3bbcc86800000000, 0x0}, uint128 = 0x00000000000000003bbcc86800000000} xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 = {0x3ed6592484460000, 0x0}, uint128 = 0x00000000000000003ed6592484460000} xmm11 {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f, 0xbd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xa26a, 0x5065, 0xeaf2, 0xbd8f, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x5065a26a, 0xbd8feaf2, 0x0, 0x0}, v2_int64 = {0xbd8feaf25065a26a, 0x0}, uint128 = 0x0000000000000000bd8feaf25065a26a} xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3cc4, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3cc40000, 0x0, 0x0}, v2_int64 = {0x3cc4000000000000, 0x0}, uint128 = 0x00000000000000003cc4000000000000} xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x59, 0xbc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0xbc59, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbc598000, 0x0, 0x0}, v2_int64 = {0xbc59800000000000, 0x0}, uint128 = 0x0000000000000000bc59800000000000} xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 = {0x3c5324f0e883858e, 0x0}, uint128 = 0x00000000000000003c5324f0e883858e} xmm15 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0}, v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0x4046, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 = {0x4046dfb516f209c0, 0x0}, uint128 = 0x00000000000000004046dfb516f209c0} mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] (gdb)