[MPlayer-users] random segfaults while encoding (local VOBs, lavc)

Vitezslav Kotrla vitko at post.cz
Tue Nov 28 22:35:39 CET 2006


I'm trying to backup DVD I bought today, it is sequel to popular movie
featuring sabretooth squirrel. I managed to get VOBs on my harddrive,
they played with no problems using 

$ mplayer dvd:// -dvd-device .

Strange things started to happen when I run x264 encoding - in output
file there appeared random disturbances (horizontal dotted lines and
single rectangulars blots, a bit like dust in old movies). I stripped
all extra x264opts, still the same. Then I build both fresh SVN x264 and
mplayer, no change.

I did some lavc encode instead of x264 and now this is really spooky as
mencoder segfaults _randomly_, sometimes spitting error

...
[mpeg4 @ 0xd2e490]Error evaluating rc_eq "tex^qComp"
...

before it segfaults.

Anyone ever seen similar behavior? If the bell rings for someone, please
let me know.

Detailed output below.

Vit


--- details ---

$ mencoder dvd://1 -dvd-device . -nosound -ovc lavc -lavcopts
vcodec=mpeg4:vpass=1:psnr -o test.avi -v
MEncoder dev-SVN-r21363-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model:
43, Stepping: 1)
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

Configuration:
init_freetype
...
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
URL: dvd://1
libdvdread: Couldn't find device name.
Reading disc structure, please wait...
There are 79 titles on this DVD.
There are 25 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
audio stream: 0 format: ac3 (5.1) language: cs aid: 129.
audio stream: 1 format: ac3 (5.1) language: en aid: 128.
audio stream: 2 format: ac3 (5.1) language: sk aid: 130.
number of audio channels on disk: 3.
subtitle ( sid ): 0 language: cs
subtitle ( sid ): 1 language: en
subtitle ( sid ): 2 language: sk
number of subtitles on disk: 3
DVD start cell: 0  pack: 0x0-0xEA60
DVD start=0 end=1984089
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
success: format: 0  data: 0x0 - 0xf232c800
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xEA60
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xEA60
Angle-seek synced by cell/vob IDN search!
Checking for Nullsoft Streaming Video
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xEA60
Angle-seek synced by cell/vob IDN search!
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 68642, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x21  cell=0  packs: 0x0-0xEA60
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xEA60
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
DVD Seek! lba=0xF22B2  cell=15  packs: 0xE2A5E-0xF3583
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 130
==> Found audio stream: 129
==> Found audio stream: 128
DVD Seek! lba=0x1E4564  cell=27  packs: 0x1C0A79-0x1E457B
DVD next cell: 28  pack: 0x1E457C-0x1E4659
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xEA60
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  4200.0 kbps (525.0
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1103626240 x 1025758986 (preferred colorspace:
Mpeg PES)
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder
libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0
videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
...
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080
bytesms 0/4 D/B/S 0/1/0
*** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar,
622080 bytes

1 duplicate frame(s)!
Muxer frame buffer sending 1 frame(s) to the muxer.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Writing header...2f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 0/4 D/B/S 1/2/0
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

1 duplicate frame(s)!
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080
bytesms 0/6 D/B/S 2/2/0
*** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
Segmentation faultf ( 0%) 103fps Trem:  26min 689mb  A-V:0.000 [874:0]
A/Vms 0/9 D/B/S 2/2/0




More information about the MPlayer-users mailing list