[FFmpeg-trac] #11391(ffmpeg:new): ffmpeg7 @7.1_2 segmentation fault with x265 @4.1_0+highdepth
FFmpeg
trac at avcodec.org
Wed Jan 1 18:45:09 EET 2025
#11391: ffmpeg7 @7.1_2 segmentation fault with x265 @4.1_0+highdepth
-------------------------------------+----------------------------------
Reporter: wywh | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: 7.1
Keywords: FFmpeg h265 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+----------------------------------
ffmpeg7 @7.1_2 has "zsh: segmentation fault" with x265 @4.1_0+highdepth.
ffmpeg7 @7.1_1 worked OK with x265 @3.6_1+highdepth.
ffmpeg7 @7.1_2 works OK with x264.
ffmpeg @4.4.5_3 works OK with x265 @4.1_0+highdepth.
{{{
ffmpeg7 -i input.mp4 -c:v libx265 output.mp4
ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers
built with Apple clang version 16.0.0 (clang-1600.0.26.6)
configuration: --cc=/usr/bin/clang
--datadir=/opt/local/libexec/ffmpeg7/share/data
--docdir=/opt/local/libexec/ffmpeg7/share/doc --progs-suffix=7
--prefix=/opt/local/libexec/ffmpeg7 --enable-audiotoolbox --disable-
indev=jack --disable-libjack --disable-libopencore-amrnb --disable-
libopencore-amrwb --disable-libplacebo --disable-libvmaf --disable-libxcb
--disable-libxcb-shm --disable-libxcb-xfixes --disable-metal --enable-
opencl --disable-outdev=xv --enable-sdl2 --disable-securetransport
--enable-videotoolbox --disable-xlib --enable-avfilter --enable-fontconfig
--enable-gnutls --enable-lcms2 --enable-libass --enable-libbluray
--enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-
libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus
--enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg
--enable-libzvbi --enable-lzma --enable-pthreads --enable-shared --enable-
swscale --enable-zlib --enable-libaom --enable-libsvtav1 --arch=x86_64
--enable-x86asm --enable-gpl --enable-libvidstab --enable-libx264
--enable-libx265 --enable-libxvid --enable-postproc
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.100 / 61. 19.100
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
Duration: 00:00:04.00, start: 0.000000, bitrate: 2592 kb/s
Stream #0:0[0x1](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 133 kb/s (default)
Metadata:
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Video: h264 (High) (avc1 / 0x31637661),
yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 2452 kb/s,
25 fps, 25 tbr, 25k tbn (default)
Metadata:
handler_name : Core Media Video
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> hevc (libx265))
Stream #0:0 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
x265 [info]: HEVC encoder version 4.1+1-1d117be
x265 [info]: build info [Mac OS X][clang 16.0.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
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-28.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 lslices=6 deblock sao
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
encoder : Lavf61.7.100
Stream #0:0(und): Video: hevc (hev1 / 0x31766568), yuv420p(tv, bt709,
progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn
(default)
Metadata:
handler_name : Core Media Video
vendor_id : [0][0][0][0]
encoder : Lavc61.19.100 libx265
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 128 kb/s (default)
Metadata:
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
encoder : Lavc61.19.100 aac
zsh: segmentation fault ffmpeg7 -i input.mp4 -c:v libx265 output.mp4
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11391>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list