[FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault
FFmpeg
trac at avcodec.org
Wed Oct 26 17:14:39 CEST 2011
#594: Combination of transpose, scale, pad filters results in segfault
--------------------------------+----------------------------------------
Reporter: ignat | Owner:
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: 0.8.5 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+----------------------------------------
Comment (by ignat):
Ffmpeg output with attached file:
ffmpeg -v 9 -loglevel 99 -i rotate_x.mp4 -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 @ 0x89d03a0] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] ISO: File Type Major Brand: 3gp4
[h264 @ 0x89d4a00] Unsupported bit depth: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] All info found
Seems stream 1 codec frame rate differs from container frame rate:
60000.00 (60000/1) -> 30000.00 (60000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4':
Metadata:
major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6
Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s
Stream #0.0(eng), 1, 1/16000: Audio: aac, 16000 Hz, mono, s16, 27 kb/s
Stream #0.1(eng), 27, 1/30000: Video: h264, yuv420p, 1280x720,
1/60000, 12667 kb/s, 28.85 fps, 30k tbr, 30k tbn, 60k tbc
[buffer @ 0x89d0d40] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1
sws_param:
[scale @ 0x89e5cc0] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p
flags:0x4
[transpose @ 0x89d7160] w:480 h:270 dir:3 -> w:270 h:480
rotation:clockwise vflip:1
[scale @ 0x89d70c0] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p
flags:0x4
[pad @ 0x89d7820] w:152 h:270 -> w:480 h:270 x:164 y:0
color:0x108080FF[yuva]
[libx264 @ 0x89d14a0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.1 Cache64
[libx264 @ 0x89d14a0] profile Constrained Baseline, level 2.1
Output #0, rawvideo, to '/dev/null':
Metadata:
major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6
encoder : Lavf53.4.0
Stream #0.0(eng), 0, 1/90000: Video: libx264, yuv420p, 480x270, 1/20,
q=2-31, pass 1, 768 kb/s, 90k tbn, 20 tbc
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop, [?] for help
Segmentation fault
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/594#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list