[MEncoder-users] Segemntation faut when using sab filter after hqdn3d

Fluxid fluxid at o2.pl
Mon Jul 16 09:53:30 CEST 2007


Hi

I get segmentation fault when trying to use sab filter. Video is YUV420, 1824x992.

Code:

mencoder -nosound -noskip -noaspect -hr-edl-seek -sws 9 -v \
-o OUT.avi -ovc x264 -x264encopts subq=7:partitions=all:8x8dct:me=umh:\
frameref=2:bframes=3:b_pyramid:weight_b:qp_min=10:qp_max=35:qp_step=10:pass=2:\
direct_pred=auto:nofast_pskip:chroma_qp_offset=-2:bitrate=1800 \
A.mkv -frames 8773 -vf hqdn3d=6:3:1:1,sab=4:0.8:1,smartblur=3:0.6:1,\
unsharp=l11x11:0.4,unsharp=l9x9:0.1,unsharp=l7x7:0.1,unsharp=l5x5:0.6,\
scale=1280:688:0:0:4:4::0:1,unsharp=l3x3:-0.5 \
B.mkv -edl skipb_1.edl -frames 201 -vf hqdn3d=5:2:1:1,sab=3:0.8:1,\
smartblur=2:0.6:1,unsharp=l9x9:0.2,unsharp=l7x7:0.1,unsharp=l5x5:0.5,unsharp=l3x3:-0.2 \
A.mkv -edl skipb_2.edl -vf hqdn3d=6:3:1:1,sab=4:0.8:1,\
smartblur=3:0.6:1,unsharp=l11x11:0.4,unsharp=l9x9:0.1,unsharp=l7x7:0.1,unsharp=l5x5:0.6,\
scale=1280:688:0:0:4:4::0:1,unsharp=l3x3:-0.5

Output from console:

x264 [info]: using SAR=86/87
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
*** [hqdn3d] Exporting mp_image_t, 1824x992x12bpp YUV planar, 2714112 bytes
*** [sab] Allocating mp_image_t, 1824x992x12bpp YUV planar, 2714112 bytes
*** [smartblur] Allocating mp_image_t, 1824x992x12bpp YUV planar, 2714112 bytes
./doit.sh: line 7:  6688 Segmentation fault      (core dumped)

It starts encoding, if i remove sab filter.

sab only:

mencoder -nosound -noskip -noaspect -v \
-o O.avi -ovc x264 -x264encopts --encoptions-- \
A.mkv -frames 8773 -vf sab=4:0.8:1

... works, but ...

mencoder -nosound -noskip -noaspect -v \
-o O.avi -ovc x264 -x264encopts --encoptions-- \
A.mkv -frames 8773 -vf hqdn3d=6:3:1:1,sab=4:0.8:1

... fails.
Console:

x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
*** [hqdn3d] Exporting mp_image_t, 1824x992x12bpp YUV planar, 2714112 bytes
*** [sab] Allocating mp_image_t, 1824x992x12bpp YUV planar, 2714112 bytes
*** [x264] Allocating mp_image_t, 1824x992x12bpp YUV planar, 2714112 bytes
*** [expand] Direct Rendering mp_image_t, 1824x992x12bpp YUV planar, 2714112 bytes
./doit.sh: line 11:  7727 Segmentation fault      (core dumped)

I can make it working after adding scale after denoise:

mencoder -nosound -noskip -noaspect -v \
-o O.avi -ovc x264 -x264encopts --encoptions-- \
A.mkv -frames 8773 -vf hqdn3d=6:3:1:1,scale,sab=4:0.8:1

Using:
MEncoder dev-SVN-r23605-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Mobile AMD Sempron(tm) Processor 3300+ (Family: 15, Model: 44, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

(Also, yesterday svn revision fails when trying to compile PNG support.)



More information about the MEncoder-users mailing list