[FFmpeg-trac] #975(avfilter:new): commit 151ecc2aecd81718e2520936dd3c537d7e6fe2fc causes segfault when using overlay filter

FFmpeg trac at avcodec.org
Mon Feb 6 18:43:16 CET 2012


#975: commit 151ecc2aecd81718e2520936dd3c537d7e6fe2fc causes segfault when using
overlay filter
------------------------------------+------------------------------------
             Reporter:  nichot20    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by nichot20):

 Replying to [comment:4 saste]:
 > Replying to [comment:2 nichot20]:
 > > Replying to [comment:1 saste]:
 > > > Can't reproduce, please provide a sample.
 > > >[..]
 > >
 > > The issue seems to be with the "movie" filter and png handling...
 >
 > I need your main input file, with my test input file it doesn't crash,
 also complete commandline output may help.

 I have a 5 sec sample DV format mov that fails, however it is bigger (25M)
 than the 2.5M upload limit. Where should I put it?


 Full console output:-
 =============================================start=======================================
 tim at V-devel:~/test> ffmpeg-bisect-bad -i in.mov -vf "movie=logo2.png
 [logo]; [in][logo] overlay=6:4" -c:v dvvideo -an -y out.mov
 ffmpeg version N-37401-g151ecc2-by_Tim Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Feb  3 2012 14:59:35 with gcc 4.6.2
   configuration: --extra-version=by_Tim --enable-static --disable-shared
 --enable-gpl --enable-nonfree --enable-version3 --prefix=/mnt/msds-
 store-0/tim/ffmpeg-tux/usr/local --libdir=/mnt/msds-store-0/tim/ffmpeg-
 tux/usr/local/lib64 --enable-runtime-cpudetect --extra-cflags='-static
 -I/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/include' --extra-
 ldflags='-static -L/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64'
 --progs-suffix=-bisect-bad --enable-libfaac --enable-libx264 --enable-
 libfreetype
   libavutil      51. 36.100 / 51. 36.100
   libavcodec     54.  0.102 / 54.  0.102
   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 'in.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     creation_time   : 2012-02-03 16:21:52
     encoder         : Lavf54.0.100
   Duration: 00:00:05.72, start: 0.000000, bitrate: 28801 kb/s
     Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576
 [SAR 64:45 DAR 16:9], 28800 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
     Metadata:
       creation_time   : 2012-02-03 16:21:52
       handler_name    :
                         DataHandler
 [buffer @ 0x177e7e0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45
 sws_param:
 Segmentation fault
 tim at V-devel:~/test>
 =========================================end============================================

 Full uncut output of previous git:-
 =========================================start===========================================
 tim at V-devel:~/test> ffmpeg-bisect -i in.mov -vf "movie=logo2.png [logo];
 [in][logo] overlay=6:4" -c:v dvvideo -an -y out.mov
 ffmpeg version N-37374-gb8c1655-by_Tim Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Feb  3 2012 14:35:37 with gcc 4.6.2
   configuration: --extra-version=by_Tim --enable-static --disable-shared
 --enable-gpl --enable-nonfree --enable-version3 --prefix=/mnt/msds-
 store-0/tim/ffmpeg-tux/usr/local --libdir=/mnt/msds-store-0/tim/ffmpeg-
 tux/usr/local/lib64 --enable-runtime-cpudetect --extra-cflags='-static
 -I/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/include' --extra-
 ldflags='-static -L/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64'
 --progs-suffix=-bisect --enable-libfaac --enable-libx264 --enable-
 libfreetype
   libavutil      51. 35.101 / 51. 35.101
   libavcodec     54.  0.102 / 54.  0.102
   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 'in.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     creation_time   : 2012-02-03 16:21:52
     encoder         : Lavf54.0.100
   Duration: 00:00:05.72, start: 0.000000, bitrate: 28801 kb/s
     Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576
 [SAR 64:45 DAR 16:9], 28800 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
     Metadata:
       creation_time   : 2012-02-03 16:21:52
       handler_name    :
                         DataHandler
 [buffer @ 0x177e7e0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45
 sws_param:
 [movie @ 0x1778780] seek_point:0 format_name:(null) file_name:logo2.png
 stream_index:0
 [overlay @ 0x177acc0] auto-inserting filter 'auto-inserted scale 0'
 between the filter 'Parsed_movie_0' and the filter 'Parsed_overlay_1'
 [scale @ 0x177be40] w:53 h:15 fmt:rgba -> w:53 h:15 fmt:yuva420p flags:0x4
 [overlay @ 0x177acc0] main w:720 h:576 fmt:yuv420p overlay x:6 y:4 w:53
 h:15 fmt:yuva420p
 [overlay @ 0x177acc0] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000
 exact:1
 Output #0, mov, to 'out.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     creation_time   : 2012-02-03 16:21:52
     encoder         : Lavf54.0.100
     Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576
 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Metadata:
       creation_time   : 2012-02-03 16:21:52
       handler_name    :
                         DataHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (dvvideo -> dvvideo)
 Press [q] to stop, [?] for help
 frame=  143 fps=  0 q=0.0 Lsize=   20110kB time=00:00:05.72
 bitrate=28801.2kbits/s
 video:20109kB audio:0kB global headers:0kB muxing overhead 0.004230%
 tim at V-devel:~/test>
 ==========================================end===========================================

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/975#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list