[FFmpeg-trac] #6692(ffmpeg:new): ffmpeg crashed when libx264rgb and preset is used

FFmpeg trac at avcodec.org
Mon Sep 25 21:59:53 EEST 2017


#6692: ffmpeg crashed when libx264rgb and preset is used
--------------------------------+---------------------------------------
             Reporter:  dkt     |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  ffmpeg  |                  Version:  unspecified
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 Summary of the bug:
 How to reproduce:
 This command runs:
 ffmpeg -i P1160144.MOV -vcodec libx264rgb -an test.mov

 This command would crash:
 ffmpeg -i P1160144.MOV -vcodec libx264rgb -an -preset ultrafast test.mov

       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
 ffmpeg: encoder/slicetype.c:1993: x264_rc_analyse_slice: Assertion `cost
 >= 0' failed.
 Aborted (core dumped)

 (gdb) where
 #0  0x00007f4e6519a8df in raise () from /lib64/libc.so.6
 #1  0x00007f4e6519c4da in abort () from /lib64/libc.so.6
 #2  0x00007f4e65192d67 in __assert_fail_base () from /lib64/libc.so.6
 #3  0x00007f4e65192e12 in __assert_fail () from /lib64/libc.so.6
 #4  0x00007f4e6a56f144 in x264_rc_analyse_slice () from
 /usr/local/lib/libx264.so.152
 #5  0x00007f4e6a57c224 in ?? () from /usr/local/lib/libx264.so.152
 #6  0x00007f4e6a581dc8 in x264_ratecontrol_start () from
 /usr/local/lib/libx264.so.152
 #7  0x00007f4e6a5acb19 in x264_encoder_encode () from
 /usr/local/lib/libx264.so.152
 #8  0x00000000009172b3 in ?? ()
 #9  0x00000000007953fe in ?? ()
 #10 0x00000000007956db in ?? ()
 #11 0x0000000000795668 in ?? ()
 #12 0x000000000042b736 in ?? ()
 #13 0x000000000042a67f in ?? ()
 #14 0x0000000000423522 in ?? ()
 #15 0x0000000000420134 in main ()

 ffmpeg version N-87359-g67da268 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with clang version 3.9.1 (tags/RELEASE_391/final)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6692>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list