Package: mencoder
Version: 2:1.0~rc3++final.dfsg1-1
Severity: normal

Steps to reproduce:
1) wget
2) mencoder 1050_Lightning_talk_Redirecting_require.ogv -oac lavc -lavcopts 
acodec=libvorbis -ovc lavc -lavcopts vcodec=libtheora:vbitrate=300 -vf 
scale=480:640,rotate=1,format=fmt=yv12 -srate 44100 -of lavf -lavfopts 
format=ogg -o fr_bbb.ogg

Expected results:
2) mencoder decodes the input file, rotates it by 90 degrees and then 
re-encodes it.

Actual results:
2) mencoder segfaults:

MEncoder 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
success: format: 0  data: 0x0 - 0x6245d2
Ogg stream 0 is of an unknown type
[Ogg] stream 1: video (Theora v3.2.1), -vid 0
[Ogg] stream 2: audio (Vorbis), -aid 0
Ogg file format detected.
VIDEO:  [theo]  320x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:18  fourcc:0x6F656874  size:320x240  fps:25.000  ftime:=0.0400
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 1 ch, s16le, 64.0 kbit/12.50% (ratio: 8000->64000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [format fmt=yv12]
Opening video filter: [rotate=1]
Opening video filter: [scale w=480 h=640]
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[theora @ 0x13c6380]Missing extradata!
Could not open codec.
VDecoder init failed :(
Opening video decoder: [theora] Theora/VP3
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 5 -> 4
    Last message repeated 3 times
[swscaler @ 0x1476d10]BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x1476d10]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x1476d10]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x1476d10]using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x1476d10]320x240 -> 480x640
videocodec: libavcodec (640x480 fourcc=7462696c [libt])
Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3))
Segmentation fault (core dumped)

More info:
1) gdb shows

#0  0x00007ffff001fdf2 in vorbis_encode_setup_init () from 
#1  0x00007ffff3e55ff5 in ?? () from /usr/lib/
#2  0x00007ffff3ef07a3 in avcodec_open () from /usr/lib/
#3  0x0000000000450287 in mpae_init_lavc ()
#4  0x0000000000447f70 in new_audio_encoder ()
#5  0x00000000004443a0 in main ()

(gdb) x/5i $rip
=> 0x7ffff001fdf2 <vorbis_encode_setup_init+4914>:      mov    0x8(%rax),%rax
   0x7ffff001fdf6 <vorbis_encode_setup_init+4918>:      test   %rax,%rax
   0x7ffff001fdf9 <vorbis_encode_setup_init+4921>:      je     0x7ffff001fe36 
   0x7ffff001fdfb <vorbis_encode_setup_init+4923>:      cvttsd2si %xmm0,%edx
   0x7ffff001fdff <vorbis_encode_setup_init+4927>:      movsd  
0x29c121(%rip),%xmm1        # 0x7ffff02bbf28
(gdb) info register
rax            0x0      0
rbx            0xc26ed0 12742352
rcx            0x1      1
rdx            0xffffffffffffffff       -1
rsi            0x1      1
rdi            0x0      0
rbp            0xc22480 0xc22480
rsp            0x7fffffffdd80   0x7fffffffdd80
r8             0x2      2
r9             0x7ffff04c6240   140737224925760
r10            0x400    1024
r11            0x8      8
r12            0xc12290 12657296
r13            0xc22480 12723328
r14            0x7ffff04bec78   140737224895608
r15            0x1      1
rip            0x7ffff001fdf2   0x7ffff001fdf2 <vorbis_encode_setup_init+4914>
eflags         0x10286  [ PF SF IF RF ]
cs             0xe033   57395
ss             0xe02b   57387
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mencoder depends on:
ii  libasound2      1.0.23-1                 shared library for ALSA applicatio
ii  libavcodec52    4:0.5.2-2                ffmpeg codec library
ii  libavformat52   4:0.5.2-2                ffmpeg file format library
ii  libavutil49     4:0.5.2-2                ffmpeg utility library
ii  libc6           2.11.2-2                 Embedded GNU C Library: Shared lib
ii  libcdparanoia0  3.10.2+debian-9          audio extraction tool for sampling
ii  libdvdread4     4.1.3-10                 library for reading DVDs
ii  libenca0        1.13-3                   Extremely Naive Charset Analyser -
ii  libfontconfig1  2.8.0-2.1                generic font configuration library
ii  libfreetype6    2.4.2-1                  FreeType 2 font engine, shared lib
ii  libfribidi0     0.19.2-1                 Free Implementation of the Unicode
ii  libgcc1         1:4.4.4-9                GCC support library
ii  libgif4         4.1.6-9                  library for GIF images (library)
ii  libjpeg62       6b1-1                    The Independent JPEG Group's JPEG 
ii  liblircclient0  0.8.3-5                  infra-red remote control support -
ii  liblzo2-2       2.03-2                   data compression library
ii  libncurses5     5.7+20100313-2           shared libraries for terminal hand
ii  libogg0         1.2.0~dfsg-1             Ogg bitstream library
ii  libpng12-0      1.2.44-1                 PNG library - runtime
ii  libpostproc51   4:0.5.2-2                ffmpeg video postprocessing librar
ii  libsmbclient    2:3.4.8~dfsg-2           shared library for communication w
ii  libspeex1       1.2~rc1-1                The Speex codec runtime library
ii  libstdc++6      4.4.4-9                  The GNU Standard C++ Library v3
ii  libswscale0     4:0.5.2-2                ffmpeg video scaling library
ii  libtheora0      1.1.1+dfsg.1-3           The Theora Video Compression Codec
ii  mplayer         2:1.0~rc3++final.dfsg1-1 movie player for Unix-like systems
ii  zlib1g          1:         compression library - runtime

mencoder recommends no packages.

Versions of packages mencoder suggests:
ii  bzip2                         1.0.5-4    high-quality block-sorting file co
ii  fontconfig                    2.8.0-2.1  generic font configuration library
pn  mplayer-doc                   <none>     (no description available)
pn  ttf-freefont                  <none>     (no description available)

-- no debconf information

pkg-multimedia-maintainers mailing list

Reply via email to