[FFmpeg-trac] #8200(undetermined:new): ffmpeg crash with -vcodec libx264

FFmpeg trac at avcodec.org
Wed Sep 25 15:02:37 EEST 2019


#8200: ffmpeg crash with -vcodec libx264
-------------------------------------+-------------------------------------
             Reporter:  doleva       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  libx264      |               Blocked By:
  crash                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by doleva):

 Replying to [comment:4 cehoyos]:
 > Or test a newer compiler, yours is very old.

 Upgraded the compiler, did not help:


 {{{
 $ ffmpeg -y -t 5 -f lavfi -i testsrc2=s=hd720 -vcodec libx264 out.mp4
 ffmpeg version N-95056-g5f13859 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
   configuration: --pkg-config-flags=--static --enable-static --enable-gpl
 --enable-nonfree --enable-libx264 --extra-cflags=-I/usr/local/include
 --extra-ldflags=-L/usr/local/lib --extra-libs='-lx264 -lpthread -lm -ldl'
   libavutil      56. 35.100 / 56. 35.100
   libavcodec     58. 58.101 / 58. 58.101
   libavformat    58. 33.100 / 58. 33.100
   libavdevice    58.  9.100 / 58.  9.100
   libavfilter     7. 58.102 /  7. 58.102
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
 Input #0, lavfi, from 'testsrc2=s=hd720':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720
 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 [libx264 @ 0x36bb280] using SAR=1/1
 [libx264 @ 0x36bb280] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX FMA3 BMI2 AVX2
 [libx264 @ 0x36bb280] profile High, level 3.1, 4:2:0, 8-bit
 [libx264 @ 0x36bb280] 264 - core 158 r2984 3759fcb - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, mp4, to 'out.mp4':
   Metadata:
     encoder         : Lavf58.33.100
     Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p,
 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.58.101 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
 Segmentation fault (core dumped)
 }}}

 Will try older versions of libx264...

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


More information about the FFmpeg-trac mailing list