[MPlayer-users] Segfault when using Trellis quantization

Jose FC pezezin64 at yahoo.es
Tue Sep 30 00:34:05 CEST 2003


> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> Jose FC wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > Hello everyboy :)
> >
> > I have a problem with last Mencoder from CVS. I have compressed some
> > movies using LAVC with both MPEG-2 and MPEG-4 codec's without problems,
> > but when I enable Trellis quantization, Mencoder segfault's at the very
> > beginning of the encoding process.
>
> Hmm, doesn't happen to me.
>
> > Can somebody help me?
>
> We can help you if you give us more information. Please read
> DOCS/en/bugreports.html and fill out a complete bugreport.
>
> -Corey


Well, here is the info about my system: 

distro: SuSE 8.2

kernel: linux 2.4.20-4GB-athlon

libc: /lib/libc.so.6

X version: XFree86 Version 4.3.0

ld version: GNU ld versión 2.13.90.0.18 20030121 (SuSE Linux)

binutils version: GNU ensamblador 2.13.90.0.18 20030121 (SuSE Linux)

gcc version: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib 
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)


...the CPU:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 3
model name      : AMD Duron(tm) Processor
stepping        : 1
cpu MHz         : 706.972
cache size      : 64 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 sep mtrr pge mca cmov pat 
pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1409.02


I ran Mencoder with the following command:

mencoder -nosound -ovc lavc -fps 25 -ofps 25 -lavcopts 
vcodec=mpeg2video:vbitrate=1200:vqmin=1:vrc_buf_size=230:vrc_minrate=500:vrc_maxrate=2000\
mbd=2:keyint=25:vmax_b_frames=2:autoaspect:vlelim=-4:vcelim=7:vstrict=1:vpsize=1000\
lumi_mask=0.05:dark_mask=0.01:tcplx_mask=0.2:scplx_mask=0.2:trell -sws 2 -vf 
hqdn3d,scale=480:576 -of mpeg -o test_out.mpg test.mpg


...and that is what happened:

pezezin at linux:~/multimedia/test> ./encode
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MEncoder dev-CVS-030929-18:31-3.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Duron Spitfire 707.4 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading /home/pezezin/.mplayer/codecs.conf: Can't open 
'/home/pezezin/.mplayer/codecs.conf': No existe el fichero o el directorio
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No existe el fichero o el directorio
Using built-in default codecs.conf
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/pezezin/.mplayer/mencoder: No existe el fichero o el 
directorio
success: format: 0  data: 0x0 - 0x248EE804
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25,000 fps  6000,0 kbps (750,0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25,00  ftime:=0,0400
input fps will be interpreted as 25,00 instead
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=480 h=576]
Opening video filter: [hqdn3d]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (480x576 fourcc=3267706d [mpg2])
High quality encoding selected (non real time)!
New_Face failed. Maybe the font path is wrong.  0mb  A-V:0,000 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Unknown block type, possibly non-MPEG stream!
Unknown block type, possibly non-MPEG stream!   0mb  A-V:0,000 [0:0]
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)0:0]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x576 fourcc=3267706d [mpg2])
High quality encoding selected (non real time)!
Could not open codec.
FATAL: Cannot initialize video driver.
Pos:   0,4s     13f ( 0%)   8fps Trem:   0min   0mb  A-V:0,000 [0:0]
1 duplicate frame(s)!
Unknown block type, possibly non-MPEG stream!
./encode: line 1: 13857 Segmentation fault


        - Jose




More information about the MPlayer-users mailing list