[MPlayer-users] DVD encoding problem
Marcin Kosiba
athin at go2.pl
Sun Jun 1 21:10:27 CEST 2003
Ok, this is a good one.
I'm doing this under an unmodified out-of-the-box Slackware 9.0 (kernel 2.4.20,gcc 3.2.2,
GNU ld version 2.13.90.0.18 20030121, XFree 4.3.0) distrib.
I'm attaching 3 files, the command line, mencoder -v ... output and gdb output,
Anyway, what happens is that mencoder segfaults after a get_buffer() fail.
This file IS a "bit" broken [mplayer plays it, but, another curious thing, when played directly
from the DVD the scrolling doesn't work - every time I press a seek (be it backward or forward) button
the film just starts from the beginning (even if it was halfway through) and the -chapter option
doesn't work either, but after ripping it with play_title from libdvdread-0.9.4 the scrolling worked
just fine).The disc was encrypted. The ripped file got decrypted by libdvdcss-1.2.6 . I'll upload the first 512k
of the file, to /incoming as Tr_Plan.vob, the error is fully reproductable on that "bit". Another weird thing
is that the precantage when ripping the sound or subtitles (at which processes mencoder doesn't segfault)
is substractive and starts from -350000% and works up to 0%. Also while playing the movie from the DVD
the osd timer resets itself every 3-5 min. So the time was at a maximum of 5 minutes and then went back to
zero. Sometimes within that 5 mins seeking worked, but when I exceeded the time the movie went back to
the beginning.
Tried the newest (from 10 min's ago :)) cvs version of mplayer AND ffmpeg, the latest release mplayer,
ffmpeg 0.4.6, although the reports are generated from a bit older release, the newer releases generate exactly
the same reports.
Antoher funny thing -- ffmpeg , which I used to encode the file to divx, didn't crash or complain about
anything.
I also tried to stream the movie by ffmpeg (-acodec copy)to mencoder, but mencoder crashed halfway
through with a similar message about get_buffer() failing.
Have fun while thinking this one out.
Marcin
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder dev-CVS-030530-16:36-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 57 audio & 145 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Not an URL!
[file] File size is 374550528 bytes
STREAM: [file] ./Treasure_planet.vob
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0 data: 0x0 - 0x16533000
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x83ec018
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x83ec018
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x83ec018
Checking for REAL
DEMUXER: freeing demuxer at 0x83ec018
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x83ec018
DEMUXER: freeing demuxer at 0x83ec880
Searching demuxer type for filename ./Treasure_planet.vob ext: .vob
Trying demuxer 2 based on filename extension
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found subtitle: 0
==> Found subtitle: 1
==> Found subtitle: 2
==> Found subtitle: 3
==> Found subtitle: 4
==> Found subtitle: 5
==> Found subtitle: 6
==> Found subtitle: 7
==> Found subtitle: 8
==> Found subtitle: 9
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.00 fps 6000.0 kbps (750.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: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [scale w=592 h=336]
SwScale params: 592 x 336 (-1=no scaling)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Trying filter chain: scale expand lavc
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))
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
LAME version 3.93 (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 16452 Hz - 17032 Hz
misc:
scaling: 0.000000
ch0 (left) scaling: 0.000000
ch1 (right) scaling: 0.000000
filter type: 0
quantization: ISO
huffman search: normal
experimental X=0 Y=0 Z=0
...
stream format:
MPEG-1 Layer 3
2 channel - joint stereo
padding: off
variable bitrate - VBR rh (default)
...
psychoacoustic:
tonality estimation limit: 8871.700195 Hz
using short blocks: channel coupled
adjust masking: 0.660000 dB
psymodel: 1
noise shaping: 1
^ amplification: 0
^ stopping: 0
ATH: using
^ type: 4
^ adjust type: 3
^ adapt threshold type: 2
using temporal masking effect: yes
interchannel masking ratio: 0.000000
...
Writing AVI header...
==> Found audio stream: 129
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 132
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 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 720x576 -> 592x336
REQ: flags=0x401 req=0x0
REQ: flags=0x401 req=0x0
videocodec: libavcodec (592x336 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
*** [scale] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 1mb A-V:0.000 [0:0] A/Vms 2/7 D/B/S 0/1/0
*** [scale] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [lavc] Allocating mp_image_t, 592x336x12bpp YUV planar, 298368 bytes
*** [expand] Direct Rendering mp_image_t, 592x336x12bpp YUV planar, 298368 bytes
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.
Pos: 0.0s 2f ( 0%) 0fps Trem: 0min 2mb A-V:-0.004 [0:0] A/Vms 2/12 D/B/S 0/1/0
*** [scale] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 2mb A-V:-0.008 [0:0] A/Vms 2/13 D/B/S 0/1/0
Pos: 0.1s 4f ( 0%) 0fps Trem: 0min 2mb A-V:-0.012 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.2s 5f ( 0%) 0fps Trem: 0min 2mb A-V:-0.016 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.2s 6f ( 0%) 0fps Trem: 0min 2mb A-V:-0.020 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.2s 7f ( 0%) 0fps Trem: 0min 2mb A-V:-0.024 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.3s 8f ( 0%) 0fps Trem: 1min 2mb A-V:-0.028 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.3s 9f ( 0%) 0fps Trem: 1min 2mb A-V:-0.032 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.4s 10f ( 0%) 0fps Trem: 1min 2mb A-V:-0.036 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.4s 11f ( 0%) 0fps Trem: 1min 2mb A-V:-0.040 [0:0] A/Vms 1/14 D/B/S 0/1/0
Pos: 0.4s 12f ( 0%) 0fps Trem: 1min 2mb A-V:-0.044 [0:0] A/Vms 1/14 D/B/S 0/1/0
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 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
REQ: flags=0x401 req=0x0
get_buffer() failed (0 -5 0 0x40ded730)
-------------- next part --------------
mencoder Tr_Plan.vob -v -vop scale=592:336 -sws 2 -ovc lavc -oac mp3lame -lameopts mode=1:q=5 -lavcopts vcodec=mpeg4:vbitrate=1020:vhq:v4mv -nocache
-------------- next part --------------
gdb mencoder
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
(gdb) run Tr_Plan.vob -v -vop scale=592:336 -sws 2 -ovc lavc -oac mp3lame -lameopts mode=1:q=5 -lavcopts vcodec=mpeg4:vbitrate=1020:vhq:v4mv -nocache
Starting program: /usr/local/bin/mencoder Tr_Plan.vob -v -vop scale=592:336 -sws 2 -ovc lavc -oac mp3lame -lameopts mode=1:q=5 -lavcopts vcodec=mpeg4:vbitrate=1020:vhq:v4mv -nocache
[New Thread 16384 (LWP 4895)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder dev-CVS-030530-16:36-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 57 audio & 145 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Not an URL!
[file] File size is 524288 bytes
STREAM: [file] Tr_Plan.vob
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0 data: 0x0 - 0x80000
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x836a4f8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x836a4f8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x836a4f8
Checking for REAL
DEMUXER: freeing demuxer at 0x836a4f8
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x836a4f8
DEMUXER: freeing demuxer at 0x836ad60
Searching demuxer type for filename Tr_Plan.vob ext: .vob
Trying demuxer 2 based on filename extension
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found subtitle: 0
==> Found subtitle: 1
==> Found subtitle: 2
==> Found subtitle: 3
==> Found subtitle: 4
==> Found subtitle: 5
==> Found subtitle: 6
==> Found subtitle: 7
==> Found subtitle: 8
==> Found subtitle: 9
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.00 fps 6000.0 kbps (750.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: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [scale w=592 h=336]
SwScale params: 592 x 336 (-1=no scaling)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Trying filter chain: scale expand lavc
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))
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Writing AVI header...
LAME version 3.93 (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 16452 Hz - 17032 Hz
misc:
scaling: 0.000000
ch0 (left) scaling: 0.000000
ch1 (right) scaling: 0.000000
filter type: 0
quantization: ISO
huffman search: normal
experimental X=0 Y=0 Z=0
...
stream format:
MPEG-1 Layer 3
2 channel - joint stereo
padding: off
variable bitrate - VBR rh (default)
...
psychoacoustic:
tonality estimation limit: 8871.700195 Hz
using short blocks: channel coupled
adjust masking: 0.660000 dB
psymodel: 1
noise shaping: 1
^ amplification: 0
^ stopping: 0
ATH: using
^ type: 4
^ adjust type: 3
^ adapt threshold type: 2
using temporal masking effect: yes
interchannel masking ratio: 0.000000
...
==> Found audio stream: 129
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 132
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
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 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 720x576 -> 592x336
REQ: flags=0x401 req=0x0
REQ: flags=0x401 req=0x0
videocodec: libavcodec (592x336 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
*** [scale] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos: 0.0s 1f (100%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 1/9 *** [scale] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [lavc] Allocating mp_image_t, 592x336x12bpp YUV planar, 298368 bytes
*** [expand] Direct Rendering mp_image_t, 592x336x12bpp YUV planar, 298368 bytes
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.
Pos: 0.0s 2f (100%) 0fps Trem: 0min 0mb A-V:0.004 [0:0] A/Vms 1/15MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
*** [scale] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos: 0.1s 3f (100%) 0fps Trem: 0min 0mb A-V:0.003 [0:0] A/Vms 1/18MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.1s 4f (100%) 0fps Trem: 0min 0mb A-V:-0.001 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.2s 5f (100%) 0fps Trem: 0min 0mb A-V:-0.005 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.2s 6f (100%) 0fps Trem: 0min 0mb A-V:-0.009 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.2s 7f (100%) 0fps Trem: 0min 0mb A-V:-0.013 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.3s 8f (100%) 0fps Trem: 0min 0mb A-V:-0.017 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.3s 9f (100%) 0fps Trem: 0min 0mb A-V:-0.021 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.4s 10f (100%) 0fps Trem: 0min 0mb A-V:-0.025 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.4s 11f (100%) 0fps Trem: 0min 0mb A-V:-0.029 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 0.4s 12f (100%) 0fps Trem: 0min 0mb A-V:-0.033 [0:0] A/Vms 1/1MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
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 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
REQ: flags=0x401 req=0x0
videocodec: libavcodec (592x336 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
get_buffer() failed (0 -5 0 0x40ded730)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4895)]
encode_picture (s=0x83c6670, picture_number=0) at mpegvideo.c:3065
3065 s->current_picture.mb_var [s->mb_stride * mb_y + mb_x] = varc;
(gdb) bt
#0 encode_picture (s=0x83c6670, picture_number=0) at mpegvideo.c:3065
#1 0x0815816f in MPV_encode_picture (avctx=0x83bcef0,
buf=0xe2 <Address 0xe2 out of bounds>, buf_size=226, data=0xe2)
at mpegvideo.c:1415
#2 0x0815453a in avcodec_encode_video (avctx=0x83bcef0,
buf=0xe2 <Address 0xe2 out of bounds>, buf_size=226, pict=0xe2)
at utils.c:338
#3 0x08086a50 in put_image (vf=0x83bcdc0, mpi=0x0) at ve_lavc.c:522
#4 0x08098a49 in vf_next_put_image (vf=0xe2, mpi=0xe2) at vf.c:482
#5 0x08098a49 in vf_next_put_image (vf=0xe2, mpi=0xe2) at vf.c:482
#6 0x0808d011 in decode_video (sh_video=0x8347098,
start=0xe2 <Address 0xe2 out of bounds>, in_size=226, drop_frame=0)
at dec_video.c:327
#7 0x080615ef in main (argc=226, argv=0xe2) at mencoder.c:1098
#8 0x40245bb4 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x815d6e3 to 0x815d723:
0x815d6e3 <encode_picture+13171>: add %al,0xfec180ee(%ebx)
0x815d6e9 <encode_picture+13177>: or %al,%cl
0x815d6eb <encode_picture+13179>: ljmp $0xfe65,$0xc88d0308
0x815d6f2 <encode_picture+13186>: ljmp *(%ecx)
0x815d6f4 <encode_picture+13188>: rorb 0x125493(%ebx)
0x815d6fa <encode_picture+13194>: add %al,0x274
0x815d700 <encode_picture+13200>: shr $0x8,%eax
0x815d703 <encode_picture+13203>: mov %ax,(%edx,%ecx,2)
0x815d707 <encode_picture+13207>: mov 0x125c(%ebx),%edx
0x815d70d <encode_picture+13213>: mov %esi,%ebx
0x815d70f <encode_picture+13215>: mov %bl,(%ecx,%edx,1)
0x815d712 <encode_picture+13218>: incl 0xfffe65c8(%ebp)
0x815d718 <encode_picture+13224>: mov 0x8(%ebp),%esi
0x815d71b <encode_picture+13227>: add %eax,0x124c(%esi)
0x815d721 <encode_picture+13233>: mov %esi,%eax
End of assembler dump.
(gdb) info all-registers
eax 0xe2 226
ecx 0x0 0
edx 0x0 0
ebx 0x83c6670 138176112
esp 0xbffe46e0 0xbffe46e0
ebp 0xbfffe1f8 0xbfffe1f8
esi 0x1 1
edi 0x0 0
eip 0x815d703 0x815d703
eflags 0x210217 2163223
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x0 0
st0 -0e+4922 (raw 0xffff0000000000000000)
st1 -nan(0x70800000e100) (raw 0xffff000070800000e100)
st2 -nan(0x38400000384) (raw 0xffff0000038400000384)
st3 -nan(0x1c2000001c2) (raw 0xffff000001c2000001c2)
st4 -nan(0x38400000384) (raw 0xffff0000038400000384)
st5 -nan(0x3c003c00780078) (raw 0xffff003c003c00780078)
st6 -nan(0x3c007800b400f0) (raw 0xffff003c007800b400f0)
st7 -nan(0x000007080) (raw 0xffff0000000000007080)
---Type <return> to continue, or q <return> to quit---
fctrl 0x37f 895
fstat 0x120 288
ftag 0xaaaa 43690
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
---Type <return> to continue, or q <return> to quit---
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
---Type <return> to continue, or q <return> to quit---
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {
0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr 0x1f80 8064
orig_eax 0xffffffff -1
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1 {uint64 = 0x70800000e100, v2_int32 = {0xe100, 0x7080},
v4_int16 = {0xe100, 0x0, 0x7080, 0x0}, v8_int8 = {0x0, 0xe1, 0x0, 0x0, 0x80,
0x70, 0x0, 0x0}}
mm2 {uint64 = 0x38400000384, v2_int32 = {0x384, 0x384}, v4_int16 = {
0x384, 0x0, 0x384, 0x0}, v8_int8 = {0x84, 0x3, 0x0, 0x0, 0x84, 0x3, 0x0,
0x0}}
mm3 {uint64 = 0x1c2000001c2, v2_int32 = {0x1c2, 0x1c2}, v4_int16 = {
0x1c2, 0x0, 0x1c2, 0x0}, v8_int8 = {0xc2, 0x1, 0x0, 0x0, 0xc2, 0x1, 0x0,
0x0}}
mm4 {uint64 = 0x38400000384, v2_int32 = {0x384, 0x384}, v4_int16 = {
0x384, 0x0, 0x384, 0x0}, v8_int8 = {0x84, 0x3, 0x0, 0x0, 0x84, 0x3, 0x0,
0x0}}
---Type <return> to continue, or q <return> to quit---
mm5 {uint64 = 0x3c003c00780078, v2_int32 = {0x780078, 0x3c003c},
v4_int16 = {0x78, 0x78, 0x3c, 0x3c}, v8_int8 = {0x78, 0x0, 0x78, 0x0, 0x3c,
0x0, 0x3c, 0x0}}
mm6 {uint64 = 0x3c007800b400f0, v2_int32 = {0xb400f0, 0x3c0078},
v4_int16 = {0xf0, 0xb4, 0x78, 0x3c}, v8_int8 = {0xf0, 0x0, 0xb4, 0x0, 0x78,
0x0, 0x3c, 0x0}}
mm7 {uint64 = 0x7080, v2_int32 = {0x7080, 0x0}, v4_int16 = {0x7080,
0x0, 0x0, 0x0}, v8_int8 = {0x80, 0x70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
(gdb)
More information about the MPlayer-users
mailing list