[MPlayer-users] [BUGREPORT] mencoder segfaults on encoding DVD

vitko vitk0 at seznam.cz
Wed Jan 11 13:10:00 CET 2006


Hi everyone, this is strange: mencoder (fresh CVS build) segfaults on encoding 
DVD (actually mirror obtained using

    vobcopy -v -m

). See details below. I'll send gdb backtrace later, as I'll yet have to 
reconfigure and recompile the beast with --enable-debug=3. But maybe someone
will find something useful in the -v output below.

Vit




$ mencoder dvd://1 -dvd-device ./ -oac copy -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=1400:v4mv:mbd=2:subcmp=3:mbcmp=3:autoaspect:vlelim=-4:vcelim=9:lumi_mask=0.05:dark_mask=0.01:vpass=1 
-o /dev/null -v
MEncoder dev-CVS-060110-14:12-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Banias (Family: 6, Stepping: 5)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
URL: dvd://1
libdvdread: Couldn't find device name.
Reading disc structure, please wait...
There are 13 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (stereo) language: cs aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: cs aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: cs
[open] subtitle ( sid ): 1 language: en
[open] number of subtitles on disk: 2
DVD start cell: 0  pack: 0x0-0xE2F2
DVD start=0 end=2692434
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
success: format: 0  data: 0x0 - 0x48aa9000
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xE2F2
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-0xE2F2
Angle-seek synced by cell/vob IDN search!
Checking for Nullsoft Streaming Video
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xE2F2
Angle-seek synced by cell/vob IDN search!
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://1
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 69098, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x21  cell=0  packs: 0x0-0xE2F2
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xE2F2
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851734
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
DVD Seek! lba=0x148A2E  cell=5  packs: 0xEC221-0x1695B0
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 129
==> Found audio stream: 128
DVD Seek! lba=0x29145D  cell=13  packs: 0x25A334-0x291552
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-0xE2F2
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
==> Found subtitle: 1
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
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 - 720 x 576 (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))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=24000 sample-1)
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.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0
videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
*** [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 
33/120 D/B/S 0/1/0
*** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Muxer frame buffer sending 2 frame(s) to muxer. 0mb  A-V:0.004 [0:0] A/Vms 
33/129 D/B/S 0/2/0
Writing header...
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.

1 duplicate frame(s)!
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytesms 
33/103 D/B/S 1/2/0
*** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Neoprávněný přístup do paměti (SIGSEGV)




More information about the MPlayer-users mailing list