[FFmpeg-trac] #9048(ffmpeg:new): FFmpeg crashing

FFmpeg trac at avcodec.org
Thu Dec 31 01:31:50 EET 2020


#9048: FFmpeg crashing
--------------------------------+---------------------------------------
             Reporter:  joblow  |                     Type:  defect
               Status:  new     |                 Priority:  important
            Component:  ffmpeg  |                  Version:  unspecified
             Keywords:  Crash   |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 FFmpeg crashes a lot.

 1. Generally I convert videos from youtube. Every once in a while I get a
 crash, maybe 1 out of 100. The crash occurs consistently on the same file
 but sometimes changing the quality settings will get it to convert.

 2. I have some realmedia files that crash all the time. I can't get them
 to convert. I have a few hundreds and about half convert and the other
 half will not even with different quality settings. Sometimes changing the
 quality will convert but most of the time it will not.

 This seems to be a problem with FFmpeg. 1. It shouldn't crash. 2. It
 probably should be able to handle the videos. I can play them just fine.


 Stream mapping:
   Stream #0:1 -> #0:0 (rv20 (native) -> hevc (libx265))
   Stream #0:0 -> #0:1 (sipr (native) -> aac (native))
 Press [q] to stop, [?] for help
 x265 [info]: HEVC encoder version 3.4+2-73ca1d7be377
 x265 [info]: build info [Windows][GCC 10.2.1][64 bit] 8bit+10bit
 x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
 FMA3 BMI2 AVX2
 x265 [info]: Main profile, Level-2 (Main tier)
 x265 [info]: Thread pool created using 8 threads
 x265 [info]: Slices                              : 1
 x265 [info]: frame threads / pool features       : 3 / wpp(4 rows)
 x265 [warning]: Source height < 720p; disabling lookahead-slices
 x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
 x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3
 x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
 x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
 x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
 x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
 x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
 x265 [info]: Rate Control / qCompress            : CRF-29.0 / 0.60
 x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
 x265 [info]: tools: b-intra strong-intra-smoothing deblock sao


 These are the commands passed to ffmpeg

 -threads 4 -f mp4 -movflags +faststart -c:v libx265 -framerate 30 -crf 30
 -c:a aac -b:a 64k -af aresample=resampler=soxr -ar 44100

 changing crf to different values may allow the file to convert rather than
 crash ffmpeg.

 I am attaching a video that produces the crash using those settings.

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


More information about the FFmpeg-trac mailing list