#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): Hi, Thanks for the quick response. I was able to get the crash with latest versions (of x264 and ffmpeg) with following results (below). I will try to reduce command line to see if removing codec changes things. (And since it is my local box now I will provide debug info for latest version, in some time) ignat@optiplex-755:~/Videos/rotation$ /usr/local/bin/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 N-34062-g4416931, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 17:18:28 with gcc 4.5.2 configuration: --prefix=/usr/local --enable-shared --enable-libx264 --enable-libfaac --enable-gpl --enable-libmp3lame --enable-pthreads --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-ffserver --disable-ffplay --enable-memalign-hack --disable- decoder=amrnb --enable-nonfree --enable-version3 libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] ISO: File Type Major Brand: 3gp4 [aac @ 0x95f7f00] err{or,}_recognition separate: 1; 1 [aac @ 0x95f7f00] err{or,}_recognition combined: 1; 1 [aac @ 0x95f7f00] Unsupported bit depth: 0 [h264 @ 0x95f8e40] err{or,}_recognition separate: 1; 1 [h264 @ 0x95f8e40] err{or,}_recognition combined: 1; 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] All info found rfps: 29.333333 0.017250 Last message repeated 1 times rfps: 29.416667 0.011961 rfps: 29.500000 0.007650 rfps: 29.583333 0.004317 rfps: 29.666667 0.001963 rfps: 29.750000 0.000586 rfps: 29.833333 0.000187 rfps: 29.916667 0.000766 rfps: 30.000000 0.002323 Last message repeated 1 times rfps: 30.083333 0.004858 Last message repeated 1 times rfps: 30.166667 0.008372 Last message repeated 1 times rfps: 30.250000 0.012863 Last message repeated 1 times rfps: 30.333333 0.018332 Last message repeated 1 times rfps: 59.166667 0.017269 rfps: 59.250000 0.012071 rfps: 59.333333 0.007850 rfps: 59.416667 0.004607 rfps: 59.500000 0.002343 rfps: 59.583333 0.001056 rfps: 59.666667 0.000747 rfps: 59.750000 0.001417 rfps: 59.833333 0.003064 rfps: 59.916667 0.005690 Last message repeated 1 times rfps: 29.970030 0.001651 Last message repeated 1 times rfps: 59.940060 0.006602 Last message repeated 1 times Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.83 (179/6) 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 (mp4a / 0x6134706D), 16000 Hz, mono, s16, 27 kb/s Stream #0:1(eng), 27, 1/30000: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 29.83 tbr, 30k tbn, 60k tbc Please use -b:a or -b:v, -b is ambiguous [buffer @ 0x95f9da0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x95f9f80] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4 [transpose @ 0x95f3d00] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1 [scale @ 0x95f3fa0] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4 [pad @ 0x95f4400] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva] [libx264 @ 0x95f2600] err{or,}_recognition separate: 1; 1 [libx264 @ 0x95f2600] err{or,}_recognition combined: 1; 1 [libx264 @ 0x95f2600] using mv_range_thread = 40 [libx264 @ 0x95f2600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x95f2600] profile Constrained Baseline, level 2.1 [h264 @ 0x95f8e40] err{or,}_recognition separate: 1; 1 [h264 @ 0x95f8e40] err{or,}_recognition combined: 1; 1 Output #0, rawvideo, to '/dev/null': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 encoder : Lavf53.17.0 Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 480x270, 1/20, q=-1--1, pass 1, 768 kb/s, 90k tbn, 20 tbc Stream mapping: Stream #0.1 -> #0.0 (h264 -> libx264) Press [q] to stop, [?] for help Segmentation fault -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/594#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac