[MEncoder-users] mencoder dies with "Assertion `pict_type == rce->new_pict_type' failed"
Sebastian
sebastian_ml at gmx.net
Tue May 10 09:51:31 CEST 2005
Hi there!
I'm trying to encode a video with lavc. The first pass already went
fine, but the second keeps crashing. I'm using mplayer CVS.
mencoder dvd:// -dvd-device SO -nosound -vf
crop=702:318:10:126,scale=640:272 -ovc lavc -lavcopts
vmax_b_frames=2:vb_strategy=1:vcodec=mpeg4:vbitrate=956:mbd=2:vlelim=-4:vcelim=9:vpass=2:qpel
-o casino.avi -sws 9
It crashes with:
SwScaler: reducing / aligning filtersize 8 -> 8
SwScaler: reducing / aligning filtersize 8 -> 8
SwScaler: reducing / aligning filtersize 9 -> 7
SwScaler: reducing / aligning filtersize 9 -> 7
SwScaler: Lanczos scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (640x272 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
Pos: 0.0s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
mencoder: ratecontrol.c:661: ff_rate_estimate_qscale: Assertion
`pict_type == rce->new_pict_type' failed.
Abgebrochen
Cheers
Sebastian
GDB stuff:
bt
Pos: 525.8s 13148f ( 5%) 20fps Trem: 171min 1237mb A-V:0.000 [1182:0]
A/Vms 0Pos: 525.8s 13149f ( 5%) 20fps Trem: 171min 1237mb A-V:0.000
[1182:0] A/Vms 0Pos: 525.9s 13150f ( 5%) 20fps Trem: 171min 1237mb
A-V:0.000 [1181:0] A/Vms 0Pos: 525.9s 13151f ( 5%) 20fps Trem: 171min
1237mb A-V:0.000 [1181:0] A/Vms 0Pos: 526.0s 13152f ( 5%) 20fps Trem:
171min 1237mb A-V:0.000 [1181:0] A/Vms 0Pos: 526.0s 13153f ( 5%)
20fps Trem: 171min 1237mb A-V:0.000 [1181:0] A/Vms 0Pos: 526.0s 13154f
( 5%) 20fps Trem: 171min 1237mb A-V:0.000 [1181:0] A/Vms 0Pos: 526.1s
13155f ( 5%) 20fps Trem: 171min 1237mb A-V:0.000 [1181:0] A/Vms
0mencoder: ratecontrol.c:661: ff_rate_estimate_qscale: Assertion
`pict_type == rce->new_pict_type' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread -1211246928 (LWP 5595)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d068d1 in raise () from /lib/libc.so.6
#2 0xb7d0842b in abort () from /lib/libc.so.6
#3 0xbfebadc0 in ?? ()
#4 0x00000000 in ?? ()
#5 0x00000020 in ?? ()
#6 0x00000000 in ?? ()
#7 0x00000000 in ?? ()
#8 0x00000000 in ?? ()
#9 0x00000000 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0xb7d3ba01 in _IO_file_write () from /lib/libc.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xffffe3f0 to 0xffffe430:
0xffffe3f0: add %al,(%eax)
0xffffe3f2: add %al,(%eax)
0xffffe3f4: add %al,(%eax)
0xffffe3f6: add %al,(%eax)
0xffffe3f8: add %al,(%eax)
0xffffe3fa: add %al,(%eax)
0xffffe3fc: add %al,(%eax)
0xffffe3fe: add %al,(%eax)
0xffffe400 <__kernel_vsyscall+0>: push %ecx
0xffffe401 <__kernel_vsyscall+1>: push %edx
0xffffe402 <__kernel_vsyscall+2>: push %ebp
0xffffe403 <__kernel_vsyscall+3>: mov %esp,%ebp
0xffffe405 <__kernel_vsyscall+5>: sysenter
0xffffe407 <__kernel_vsyscall+7>: nop
0xffffe408 <__kernel_vsyscall+8>: nop
0xffffe409 <__kernel_vsyscall+9>: nop
0xffffe40a <__kernel_vsyscall+10>: nop
0xffffe40b <__kernel_vsyscall+11>: nop
0xffffe40c <__kernel_vsyscall+12>: nop
0xffffe40d <__kernel_vsyscall+13>: nop
0xffffe40e <__kernel_vsyscall+14>: jmp 0xffffe403
<__kernel_vsyscall+3>
0xffffe410 <__kernel_vsyscall+16>: pop %ebp
0xffffe411 <__kernel_vsyscall+17>: pop %edx
0xffffe412 <__kernel_vsyscall+18>: pop %ecx
0xffffe413 <__kernel_vsyscall+19>: ret
0xffffe414 <__kernel_vsyscall+20>: add %al,(%eax)
0xffffe416 <__kernel_vsyscall+22>: add %al,(%eax)
0xffffe418 <__kernel_vsyscall+24>: add %al,(%eax)
0xffffe41a <__kernel_vsyscall+26>: add %al,(%eax)
0xffffe41c <__kernel_vsyscall+28>: add %al,(%eax)
0xffffe41e <__kernel_vsyscall+30>: add %al,(%eax)
0xffffe420 <__kernel_sigreturn+0>: pop %eax
0xffffe421 <__kernel_sigreturn+1>: mov $0x77,%eax
0xffffe426 <__kernel_sigreturn+6>: int $0x80
0xffffe428 <__kernel_sigreturn+8>: nop
0xffffe429 <__kernel_sigreturn+9>: nop
0xffffe42a <__kernel_sigreturn+10>: nop
0xffffe42b <__kernel_sigreturn+11>: nop
0xffffe42c <__kernel_sigreturn+12>: nop
0xffffe42d <__kernel_sigreturn+13>: nop
0xffffe42e <__kernel_sigreturn+14>: nop
0xffffe42f <__kernel_sigreturn+15>: nop
End of assembler dump.
(gdb) info all-registers
eax 0x0 0
ecx 0x15db 5595
edx 0x6 6
ebx 0x15db 5595
esp 0xbfebad94 0xbfebad94
ebp 0xbfebadac 0xbfebadac
esi 0xb7de1f5e -1210179746
edi 0xb7df1ff4 -1210114060
eip 0xffffe410 0xffffe410
eflags 0x206 518
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 <invalid float value> (raw 0xffff0000000000000000)
st1 -nan(0xc00000014) (raw 0xffff0000000c00000014)
st2 <invalid float value> (raw 0xffff0000000000000000)
st3 <invalid float value> (raw 0xffff0000000000000000)
st4 0.66666666666666673325475009348473066 (raw
0x3ffeaaaaaaaaaaaaaf77)
st5 69775.182416578304639642738038673997 (raw
0x400f884797596d2b0888)
st6 0 (raw 0x00000000000000000000)
st7 0 (raw 0x00000000000000000000)
fctrl 0x37f 895
fstat 0x120 288
ftag 0xffff 65535
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 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, 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 <repeats 16 times>}, 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 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
mxcsr 0x1f80 8064
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
---Type <return> to continue, or q <return> to quit---
mm1 {uint64 = 0xc00000014, v2_int32 = {0x14, 0xc}, v4_int16 = {
0x14, 0x0, 0xc, 0x0}, v8_int8 = {0x14, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0,
0x0}}
mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4 {uint64 = 0xaaaaaaaaaaaaaf77, v2_int32 = {0xaaaaaf77,
0xaaaaaaaa}, v4_int16 = {0xaf77, 0xaaaa, 0xaaaa, 0xaaaa}, v8_int8 =
{0x77,
0xaf, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa}}
mm5 {uint64 = 0x884797596d2b0888, v2_int32 = {0x6d2b0888,
0x88479759}, v4_int16 = {0x888, 0x6d2b, 0x9759, 0x8847}, v8_int8 =
{0x88,
0x8, 0x2b, 0x6d, 0x59, 0x97, 0x47, 0x88}}
mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
Sysinfo:
Gentoo Linux 2005.0
uname -a
Linux hal9000 2.6.12-rc4 #3 Mon May 9 09:37:10 CEST 2005 i686 AMD
Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux
ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1232400 8. Mai 21:21 /lib/libc-2.3.4.so
lrwxrwxrwx 1 root root 13 8. Mai 21:21 /lib/libc.so.6 ->
libc-2.3.4.so
gcc -v
Lese Spezifikationen von
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specsKonfiguriert mit:
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread-Modell: posix
gcc-Version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
ld -v
GNU ld version 2.15.92.0.2 20040927
as --version
GNU assembler 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 1700+
stepping : 1
cpu MHz : 1469.873
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 2899.96
More information about the MEncoder-users
mailing list