ffmpeg wmv to flv encoding produces segmentation fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FFmpeg |
Fix Released
|
Undecided
|
Unassigned | ||
ffmpeg (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hi there,
when I try to en code a wmv file to flv with ffmpeg I get reproducible segmentation faults:
The file I use is a file which comes with Windows Media Encoder 9:
C:\Program Files\Windows Media Components\
This happens on Karmic
2.6.31-19-server #56-Ubuntu SMP Thu Jan 28 03:40:48 UTC 2010 x86_64 GNU/Linux
command:
`which ffmpeg` -i "/home/
FFmpeg version SVN-r19352-
configuration: --extra-
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Oct 13 2009 22:35:00, gcc: 4.4.1
Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
Input #0, asf, from '/home/
Duration: 00:00:39.94, start: 20.000000, bitrate: 229 kb/s
Stream #0.0: Audio: wmav2, 48000 Hz, stereo, s16, 64 kb/s
Stream #0.1: Video: wmv3, yuv420p, 320x240, 300 kb/s, 30 tbr, 1k tbn, 1k tbc
Output #0, flv, to '/home/
Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 400 kb/s, 90k tbn, 30 tbc
Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
Segmentation fault
[swscaler @ 0x1d28d60]No accelerated colorspace conversion found.
[swscaler @ 0x24d0d60]No accelerated colorspace conversion found.
dmesg says:
[941811.816492] ffmpeg[31511]: segfault at 7fe01c78bf20 ip 00007fe01c1377f6 sp 00007fff65cdcd08 error 7 in libavcodec.
The same happens on Jaunty:
2.6.28-18-server #59-Ubuntu SMP Thu Jan 28 02:25:03 UTC 2010 x86_64 GNU/Linux
command:
`which ffmpeg` -i "/home/
FFmpeg version 0.5-svn17737+
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 10 2009 23:20:33, gcc: 4.3.3
Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
Input #0, asf, from '/home/
Duration: 00:00:39.94, start: 20.000000, bitrate: 229 kb/s
Stream #0.0: Audio: wmav2, 48000 Hz, stereo, s16, 64 kb/s
Stream #0.1: Video: wmv3, yuv420p, 320x240, 300 kb/s, 30 tbr, 1k tbn, 1k tbc
Output #0, flv, to 'intermission.flv':
Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 400 kb/s, 90k tbn, 30 tbc
Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
Segmentation fault2 q=2.0 size= 0kB time=16.53 bitrate= 0.1kbits/s
dmesg says:
[1154416.757786] ffmpeg[26557]: segfault at 7f277e555020 ip 00007f277df45cf7 sp 00007fff3e7d5ca8 error 7 in libavcodec.
Any Ideas?
Salu2
Heinz
Changed in ffmpeg (Ubuntu): | |
status: | Incomplete → Triaged |
TBH, I supect that this particular wmv file uses a non-implemented
colorspace. Does this also occur with ffmpeg trunk?
also, can you please attach the sample to this bug? If it doesn't occur
with trunk, it could be useful for bisecting the change that fixes this
segfault.