[MPlayer-users] mencoder crashing on 3rd pass ( 2nd video pass )
Daniel Kasak
ayahuasca at internode.on.net
Tue Sep 16 11:38:01 CEST 2003
Hi all.
I'm running MEncoder 1.0pre1, compiled with gcc-3.3.1. Maybe I'm asking
for problems, but anyway...
mencoder crashes immediately on startup on *every* 2nd video pass. I've
tried with some VOB files, some mpeg2 files, and some DV files from our
digital video.
For example:
mencoder pigs_on_parade001.dv -aid 0x80 -ovc frameno -oac mp3lame
-lameopts preset=medium -o frameno.avi
( completed sucessfully - output snipped )
mencoder pigs_on_parade001.dv -v -oac copy -ovc lavc -lavcopts
vcodec=mpeg4:vpass=1:vbitrate=1024
( completed sucessfully - output snipped )
mencoder pigs_on_parade001.dv -v -oac copy -ovc lavc -lavcopts
vcodec=mpeg4:vpass=2:vbitrate=1024
MEncoder 1.0pre1-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
SSE supported but disabled
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 /root/.mplayer/codecs.conf: Can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 60 audio & 156 video codecs
AVI file format detected.
VIDEO: [FrNo] 720x576 24bpp 25.000 fps 0.8 kbps ( 0.1 kbyte/s)
Using pass3 control file: frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 159264000 bytes
STREAM: [file] pigs_on_parade001.dv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0 data: 0x0 - 0x97E2D00
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84ba1f0
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x84ba1f0
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x84ba1f0
Checking for REAL
DEMUXER: freeing demuxer at 0x84ba1f0
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x84ba1f0
DEMUXER: freeing demuxer at 0x84bab90
Searching demuxer type for filename pigs_on_parade001.dv ext: .dv
Checking for MOV
DEMUXER: freeing demuxer at 0x84bab90
Checking for VIVO
header block 1 size: 7
DEMUXER: freeing demuxer at 0x84bab90
DEMUXER: freeing demuxer at 0x84bab90
DEMUXER: freeing demuxer at 0x84bab90
DEMUXER: freeing demuxer at 0x84bab90
DEMUXER: freeing demuxer at 0x84bab90
DEMUXER: freeing demuxer at 0x84bab90
DEMUXER: freeing demuxer at 0x84bab90
Checking for PVA
DEMUXER: freeing demuxer at 0x84bab90
Checking for MPEG-TS...
TRIED UP TO POSITION 69418, FOUND 0, packet_size= 71
DEMUXER: freeing demuxer at 0x84bab90
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c:
0 idr: 0 sps: 0 pps: 0 PES: 1 MP3: 107
Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 0x84bab90
Checking for DV
RAWDV file format detected.
demux_open_rawdv() end_pos 159264000
==> Found video stream: 0
demux_open_rawdv() frame_size: 144000 w: 720 h: 576 dif_seq: 12 system: 2
demux_open_rawdv() seek to 0, size: 144000, dv_dec->frame_size: 144000
[V] filefmt:22 fourcc:0x44535644 size:720x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
get_path('registry') -> '/root/.mplayer/registry'
Decoder supports the following YUV formats: YUY2 UYVY
Decoder is capable of YUV output (flags 0x9)
VDec: vo config request - 720 x 576 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x576->720x576,flags=0,'MPlayer',0x32595559)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: BICUBIC scaler, from Packed YUY2 to Planar YV12 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 720x576 -> 720x576
REQ: flags=0x401 req=0x0
REQ: flags=0x401 req=0x0
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
Error: 2pass curve failed to converge
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm:ffmpeg (FFmpeg DV decoder)
==========================================================================
audiocodec: framecopy (format=55 chans=2 rate=32000 bits=0 bps=23928
sample=0)
Writing AVI header...
XXX initial v_pts=0.000 a_pos=2016 (0.504)
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
Trying filter chain: scale expand lavc
VDec: using Planar YV12 as output csp (no 1)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401 req=0x0
REQ: flags=0x401 req=0x0
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
Error: 2pass curve failed to converge
Could not open codec.
FATAL: Cannot initialize video driver.
*** [scale] Exporting mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
Segmentation fault
I assume it's a gcc-3.3.1 problem, since everything was working before I
upgraded gcc and mplayer...
More information about the MPlayer-users
mailing list