[FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault
FFmpeg
trac at avcodec.org
Wed Oct 26 17:03:17 CEST 2011
#594: Combination of transpose, scale, pad filters results in segfault
--------------------------------------+----------------------------------
Reporter: ignat | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 0.8.5
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
Hi,
when I am trying to execute following transcode I receive segmentation
fault.
( I am trying to rotate initial video and then scale it down, adding two
equal vertical black stripes on the left and right).
What is most peculiar is that if I change pad to pad=152,270,0,0 this
segfault does not happen.
Please find ffmpeg output below:
ffmpeg -v 9 -loglevel 99 -i rotation_-90.MOV -vcodec libx264 -r 20 -b 768k
-bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an
-preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile
result.mp4.passlogfile -f rawvideo -y /dev/null
ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 17 2011 15:23:13 with gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
configuration: --prefix=/usr/local/media-utils --enable-libx264
--enable-libmp3lame --enable-shared --enable-libfaac --enable-libopencore-
amrnb --enable-libopencore-amrwb --enable-small --disable-ffserver
--disable-ffplay --enable-memalign-hack --enable-gpl --enable-pthreads
--extra-cflags=-I/usr/local/media-utils/include --extra-
ldflags=-L/usr/local/media-utils/lib --enable-nonfree --enable-version3
--disable-decoder=amrnb
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] ISO: File Type Major Brand: qt
[h264 @ 0x92baa60] Unsupported bit depth: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] All info found
Seems stream 0 codec frame rate differs from container frame rate: 1200.00
(1200/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotation_-90.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2011-10-25 10:56:51
encoder : 5.0
encoder-eng : 5.0
date : 2011-10-25T11:56:51+0100
date-eng : 2011-10-25T11:56:51+0100
Duration: 00:00:06.84, start: 0.000023, bitrate: 10871 kb/s
Stream #0.0(und), 41, 1/600: Video: h264, yuv420p, 1280x720, 1/1200,
10815 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2011-10-25 10:56:51
Stream #0.1(und), 101, 1/44100: Audio: aac, 44100 Hz, mono, s16, 63
kb/s
Metadata:
creation_time : 2011-10-25 10:56:51
[buffer @ 0x92c05e0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1
sws_param:
[scale @ 0x92bd620] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p
flags:0x4
[transpose @ 0x92b75c0] w:480 h:270 dir:3 -> w:270 h:480
rotation:clockwise vflip:1
[scale @ 0x92b7540] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p
flags:0x4
[pad @ 0x92b7cc0] w:152 h:270 -> w:480 h:270 x:164 y:0
color:0x108080FF[yuva]
[libx264 @ 0x92bdda0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.1 Cache64
[libx264 @ 0x92bdda0] profile Constrained Baseline, level 2.1
Output #0, rawvideo, to '/dev/null':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2011-10-25 10:56:51
date-eng : 2011-10-25T11:56:51+0100
encoder-eng : 5.0
date : 2011-10-25T11:56:51+0100
encoder : Lavf53.4.0
Stream #0.0(und), 0, 1/90000: Video: libx264, yuv420p, 480x270, 1/20,
q=2-31, pass 1, 768 kb/s, 90k tbn, 20 tbc
Metadata:
creation_time : 2011-10-25 10:56:51
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
Segmentation fault
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/594>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list