[MPlayer-users] segfault while trying to telecine

mplayer at interlinx.bc.ca mplayer at interlinx.bc.ca
Sat Mar 1 21:01:50 CET 2003


I dowloaded a trailer from apple.com/trailers and tried to use
mencoder to telecine it for display on my TV.  It got through 3 frames
and then segfaulted.  Here is the backtrace:

(gdb) where
#0  0x080a0664 in draw_osd (vf_=0x0, w=138128144, h=272) at vf_expand.c:146
#1  0x080a0b40 in put_image (vf=0x83b3c68, mpi=0x8518960) at vf_expand.c:265
#2  0x0809f4c9 in vf_next_put_image (vf=0x0, mpi=0x0) at vf.c:420
#3  0x080b0e64 in put_image (vf=0x83b3cb8, mpi=0x85188f8) at vf_telecine.c:74
#4  0x0809f4c9 in vf_next_put_image (vf=0x0, mpi=0x0) at vf.c:420
#5  0x080912e1 in decode_video (sh_video=0x8363458, start=0x0, in_size=0, drop_frame=0) at dec_video.c:327
#6  0x08064314 in main (argc=0, argv=0x0) at mencoder.c:1118
#7  0x403fa7f7 in __libc_start_main () from /lib/i686/libc.so.6

My command line:

$ mencoder -v -ofps 29.97 -vop telecine -of avi -oac mp3lame -lameopts abr:br=128:mode=1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=3000 -o anger_management.avi anger_management-tlr_m480.mov

And the output from that command:

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
 
 
MEncoder dev-CVS-030228-12:30-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
 
CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Reading /home/brian/.mplayer/codecs.conf: can't open '/home/brian/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
File not found: 'frameno.avi'
Reading config file /home/brian/.mplayer/mencoder: No such file or directory
No EDL file given.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Not an URL!
File size is 23666404 bytes
success: format: 0  data: 0x0 - 0x1691EE4
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x834f100
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x834f100
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x834f100
Checking for REAL
DEMUXER: freeing demuxer at 0x834f100
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x834f100
Searching demuxer type for filename /video/Movie Trailers/anger_management-tlr_m480.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie header found!
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=600  dur=88809
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=88809 lay=0 vol=0
MOV:  Edit atom!
MOV:   Edit list table (2 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 88800  start time: 0  speed: 1.0x
MOV:     entry#1: duration: 9  start time: 88900  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide (appl) Apple Video Media Handler
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: SVQ3  (95 bytes)
MOV:     Sample duration table! (2 blocks)
MOV:     Syncing samples (keyframes) table! (122 entries) (ver:0,flags:0)
MOV:     Sample->Chunk mapping table!  (584 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=3557 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (588 chunks)
MOV track #0: 588 chunks, 3557 samples
pts=88909  scale=600  time=148.182
EL#0: pts=0  1st_sample=0  frames=3552 (148.000s)  pts_offs=0
EL#1: pts=88900  1st_sample=3556  frames=1 (0.015s)  pts_offs=-100
==> Found video stream: 0
MOV: Found unknown movie atom SMI  (21)!
Image size: 480 x 272 (24 bpp)
Display size: 480 x 272
Fourcc: SVQ3  Codec: 'Sorenson Video 3'
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=88774 lay=0 vol=256
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 88774  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun (appl) Apple Sound Media Handler
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: QDM2  (128 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (228 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=6524928 ss=1) (ver:0,flags:0)
MOV:     Chunk offset table! (296 chunks)
MOV track #1: 296 chunks, 0 samples
pts=6524928  scale=44100  time=147.958
==> Found audio stream: 1
Audio bits: 16  chans: 2  rate: 44100
Audio header: samp/pack=4096 bytes/pack=743 bytes/frame=1486 bytes/samp=2
Audio extra header: len=92  fcc=0x77617665
Fourcc: QDM2
--------------
Quicktime Clip Info:
 Name: Anger Management
 Info: Feel the love April 11th
 Copyright: © 2003  Columbia Pictures
 Comment: QuickTime 5 version encoded and delivered by www.apple.com/trailers/
MOV: longest streams: A: #1 (296 samples)  V: #0 (3557 samples)
[V] filefmt:7  fourcc:0x33515653  size:480x272  fps:24.00  ftime:=0.0417
==========================================================================
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
win32 libquicktime loader (c) Sascha Sommer
Standard init done you may now call supported functions
loader_init DONE???
loader_init DONE!
get_path('registry') -> '/home/brian/.mplayer/registry'
External func COMCTL32.dll:17
External func COMCTL32.dll:16
QuickTime6 DLLs found
QuickTime.qts patched!!! old entry=0x6693b330
theQuickTimeDispatcher catched -> 0x6693b330
Win32 Warning: Accessed uninitialized Critical Section (0x66bc4210)!
WARNING! Invalid Ptr handle!
Win32 Warning: Accessed uninitialized Critical Section (0x66bc41f8)!
 
### Searching for QuickTime plugins (*.qtx) at /usr/lib/win32...
### FindNext: QuickTimeEssentials.qtx
### FindNext: QuickTimeInternetExtras.qtx
theQuickTimeDispatcher catched -> 0x6693b330
theQuickTimeDispatcher catched -> 0x6693b330
InitializeQTML:0
SoundConverterOpen:0
SoundConverterSetInfo:0
SoundConverterGetBufferSizes:131072
WantedBufferSize = 176400
InputBufferSize  = 14860
OutputBufferSize = 163848
FramesToGet = 10
FrameSize: 1486 -> 16384
SoundConverterBeginConversion:0
dec_audio: Allocating 14860 bytes for input buffer
dec_audio: Allocating 163848 + 65536 = 229384 bytes for output buffer
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 15999->176400 (128.0 kbit)
Selected audio codec: [qdmc] afm:qtaudio (Quicktime QDMC/QDM2 audio decoders)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [telecine]
==========================================================================
Opening video decoder: [qtvideo] Quicktime Video decoder
InitializeQTML returned 0
Count = 1
Found it! ID = 0x100FE
ci=0x810006
ImageCodecInitialize->(nil)  size=0 (16)
Flags: compr: 0x800420  decomp: 0x400 format: 0x2060
Codec name: Sorenson Video 3
ImageDescription size: 111
 6F 00 00 00 33 51 56 53 00 00 00 00 00 00 00 00
 03 00 80 13 20 49 4D 53 FF 03 00 00 00 02 00 00
 E0 01 10 01 00 00 48 00 00 00 48 00 00 00 00 00
 01 00 10 53 6F 72 65 6E 73 6F 6E 20 56 69 64 65
 6F 20 33 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 18 00 FF FF 00 00 00 15 53 4D 49 20 53 45
 51 48 00 00 00 05 E3 C0 22 19 C0 00 00 00 00
=============== ImageDescription at 0x848c000 ==================
idSize=0x6F  fourcc=0x53565133
ver=3 rev=4992 vendor=0x534D4920
tempQ=1023 spatQ=512  dim: 480 x 272  dpi: 4718592 x 4718592  depth: 24
dataSize=0 frameCount=1 clutID=-1
name='Sorenson Video 3'
00 00 00 15 | 53 4D 49 20 | 53 45 51 48 | 00 00 00 05
=========================================================
imgfmt: Packed YUY2 qt_imgfmt: svuy
VDec: vo config request - 480 x 272 (preferred csp: Packed YUY2)
Trying filter chain: telecine 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 telecine expand lavc
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (480x272->480x272,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: 480x272 -> 480x272
REQ: flags=0x401  req=0x0
REQ: flags=0x401  req=0x400
REQ: flags=0x401  req=0x0
videocodec: libavcodec (480x272 fourcc=58564944 [DIVX])
Selected video codec: [qtsvq3] vfm:qtvideo (win32/quicktime SVQ3 decoder)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps =
2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps =
2
Writing AVI header...
LAME version 3.93 MMX  (http://www.mp3dev.org/)
CPU features: i387, MMX (ASM used), 3DNow! (ASM used)
Using polyphase lowpass  filter, transition band: 15115 Hz - 15648 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 - ABR
      ...
 
psychoacoustic:
 
      tonality estimation limit: 8871.700195 Hz
      using short blocks: channel coupled
      adjust masking: 0.000000 dB
      psymodel: 1
      noise shaping: 1
       ^ amplification: 0
       ^ stopping: 0
      ATH: using
       ^ type: 2
       ^ adjust type: 0
       ^ adapt threshold type: 2
      using temporal masking effect: yes
      interchannel masking ratio: 0.000000
      ...
 
*** [scale] Allocating mp_image_t, 480x272x16bpp YUV packed, 261120 bytes
NewGWorldFromPtr returned:65536
ImageCodecPreDecompress cres=0x0
supported csp: 0x79757675 uvuy
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 6/12
*** [telecine] Allocating mp_image_t, 480x272x12bpp YUV planar, 195840 bytes
get_path('subfont.ttf') -> '/home/brian/.mplayer/subfont.ttf'
Unicode font: 679 glyphs.
*** [lavc] Allocating mp_image_t, 480x272x12bpp YUV planar, 195840 bytes
*** [expand] Direct Rendering mp_image_t, 480x272x12bpp YUV planar, 195840 bytes
Pos:   0.0s      2f ( 0%)   0fps Trem:   0min   0mb  A-V:0.004 [0:0] A/Vms 6/42
Pos:   0.1s      3f ( 0%)   0fps Trem:   0min   0mb  A-V:0.008 [0:0] A/Vms 6/38
Pos:   0.1s      4f ( 0%)   0fps Trem:   0min   0mb  A-V:0.013 [0:0] A/Vms 6/37
D/B/S 0/1/1
Program received signal SIGSEGV, Segmentation fault.

In examining the stack, I did notice that the expand filter is there.
How come?

b.

-- 
Brian J. Murrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030301/ee29bece/attachment.pgp>


More information about the MPlayer-users mailing list