id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
950	webm convert -> segmentation error	xanadonf		"Trying to convert mp4 to webm format on debian squeeze 32 bits.
On this sample, or on any file, problem is the same.
libvpx from trunk or 1.0.0.

Each package was compiled manually.
If I use debian packages instead, and compile ffmpeg without prefix, this conversion works fine.




ffmpeg -i sample.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 500k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1000k -threads 4 -vf scale=-1:480 -codec:a libvorbis -b:a 128k output.webm
...
Erreur de segmentation




gdb ffmpeg_g
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type ""show copying""
and ""show warranty"" for details.
This GDB was configured as ""i486-linux-gnu"".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from ffmpeg_g...done.
(gdb) r  ffmpeg -i sample.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 200k -qmin 10 -qmax 42 -maxrate 200k -bufsize 1000k -threads 4 -vf scale=-1:320 -codec:a libvorbis -b:a 128k output.webm
Starting program: ffmpeg_g ffmpeg -i sample.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 200k -qmin 10 -qmax 42 -maxrate 200k -bufsize 1000k -threads 4 -vf scale=-1:320 -codec:a libvorbis -b:a 128k output.webm
[Thread debugging using libthread_db enabled]
ffmpeg version N-37334-g9719528 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 29 2012 15:13:17 with gcc 4.4.5
  configuration: --prefix=/opt/mediatech/multimedia --enable-shared --enable-libtheora --enable-libvorbis --enable-libvpx --enable-pthreads --enable-nonfree --extra-cflags=-I/opt/mediatech/multimedia/include --extra-ldflags=-L/opt/mediatech/multimedia/lib --enable-libx264 --enable-gpl
  libavutil      51. 35.101 / 51. 35.101
  libavcodec     54.  0.100 / 54.  0.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[NULL @ 0x806caa0] Unable to find a suitable output format for 'ffmpeg'
ffmpeg: Invalid argument

Program exited with code 01.
(gdb) r  /opt/mediatech/multimedia/bin/ffmpeg -i sample.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 200k -qmin 10 -qmax 42 -maxrate 200k -bufsize 1000k -threads 4 -vf scale=-1:320 -codec:a libvorbis -b:a 128k output.webm
Starting program: ffmpeg_g /opt/mediatech/multimedia/bin/ffmpeg -i sample.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 200k -qmin 10 -qmax 42 -maxrate 200k -bufsize 1000k -threads 4 -vf scale=-1:320 -codec:a libvorbis -b:a 128k output.webm
[Thread debugging using libthread_db enabled]
ffmpeg version N-37334-g9719528 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 29 2012 15:13:17 with gcc 4.4.5
  configuration: --prefix=/opt/mediatech/multimedia --enable-shared --enable-libtheora --enable-libvorbis --enable-libvpx --enable-pthreads --enable-nonfree --extra-cflags=-I/opt/mediatech/multimedia/include --extra-ldflags=-L/opt/mediatech/multimedia/lib --enable-libx264 --enable-gpl
  libavutil      51. 35.101 / 51. 35.101
  libavcodec     54.  0.100 / 54.  0.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[NULL @ 0x806caa0] Unable to find a suitable output format for '/opt/mediatech/multimedia/bin/ffmpeg'
/opt/mediatech/multimedia/bin/ffmpeg: Invalid argument

Program exited with code 01.
(gdb) r  -i sample.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 200k -qmin 10 -qmax 42 -maxrate 200k -bufsize 1000k -threads 4 -vf scale=-1:320 -codec:a libvorbis -b:a 128k output.webm        Starting program: ffmpeg_g -i sample.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 200k -qmin 10 -qmax 42 -maxrate 200k -bufsize 1000k -threads 4 -vf scale=-1:320 -codec:a libvorbis -b:a 128k output.webm
[Thread debugging using libthread_db enabled]
ffmpeg version N-37334-g9719528 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 29 2012 15:13:17 with gcc 4.4.5
  configuration: --prefix=/opt/mediatech/multimedia --enable-shared --enable-libtheora --enable-libvorbis --enable-libvpx --enable-pthreads --enable-nonfree --extra-cflags=-I/opt/mediatech/multimedia/include --extra-ldflags=-L/opt/mediatech/multimedia/lib --enable-libx264 --enable-gpl
  libavutil      51. 35.101 / 51. 35.101
  libavcodec     54.  0.100 / 54.  0.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2010-09-07 16:05:04
  Duration: 00:00:12.81, start: 0.000000, bitrate: 280 kb/s
    Stream #0:0(fre): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 213 kb/s, 12 fps, 12 tbr, 12k tbn, 24 tbc
    Metadata:
      creation_time   : 2010-09-07 16:05:04
      handler_name    : sample_low_temp.264#video:fps=12 - Imported with GPAC 0.4.6-DEV (internal rev. 7)
    Stream #0:1(fre): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 67 kb/s
    Metadata:
      creation_time   : 2010-09-07 16:05:04
      handler_name    : GPAC ISO Audio Handler
File 'output.webm' already exists. Overwrite ? [y/N] y
w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[scale @ 0x808c760] w:320 h:240 fmt:yuv420p -> w:427 h:320 fmt:yuv420p flags:0x4
[libvpx @ 0x80677e0] v1.0.0-6-g57cc35d
[New Thread 0xb6740b70 (LWP 32604)]
[New Thread 0xb5f3fb70 (LWP 32605)]
[New Thread 0xb573eb70 (LWP 32606)]
[New Thread 0xb4f3db70 (LWP 32607)]
[New Thread 0xb473cb70 (LWP 32608)]
[New Thread 0xb3f3bb70 (LWP 32609)]
[New Thread 0xb373ab70 (LWP 32610)]
[New Thread 0xb2f39b70 (LWP 32611)]
[New Thread 0xb2738b70 (LWP 32612)]
[New Thread 0xb1f37b70 (LWP 32613)]
[New Thread 0xb1736b70 (LWP 32614)]
[New Thread 0xb0f35b70 (LWP 32615)]
[New Thread 0xb0734b70 (LWP 32616)]
Output #0, webm, to 'output.webm':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2010-09-07 16:05:04
    encoder         : Lavf54.0.100
    Stream #0:0(fre): Video: vp8, yuv420p, 427x320 [SAR 1280:1281 DAR 4:3], q=10-42, 200 kb/s, 1k tbn, 12 tbc
    Metadata:
      creation_time   : 2010-09-07 16:05:04
      handler_name    : sample_low_temp.264#video:fps=12 - Imported with GPAC 0.4.6-DEV (internal rev. 7)
    Stream #0:1(fre): Audio: vorbis, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2010-09-07 16:05:04
      handler_name    : GPAC ISO Audio Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libvpx)
  Stream #0:1 -> #0:1 (aac -> libvorbis)
Press [q] to stop, [?] for help

Program received signal SIGSEGV, Segmentation fault.
0xb6cef6a7 in vp8_subtract_mbuv_sse2 () from /opt/mediatech/multimedia/lib/libvpx.so.1

"	defect	closed	normal	undetermined	git-master	invalid	libvpx crash SIGSEGV				0	0
