Opened 2 years ago
Closed 2 years ago
#10906 closed defect (duplicate)
Crash when transcoding h264 with libx265
| Reported by: | Vasco | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | unspecified | Keywords: | |
| Cc: | Vasco | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug:
Several video files cause ffmpeg to crash (sometimes with "corrupted double-linked list" error, sometimes just a segmentation fault) when transcoding the files to h265. Transcoding to AV1 (with libsvtav1) works.
The bug is present in version 6.0.1 from the deb-multimedia repo and in the static binaries for version 6.0.1, 6.1 and the latest nightly (20240301) downloaded from https://johnvansickle.com on Debian Bookworm.
The stock Debian Bookworm ffmpeg (version 5.1.4-0+deb12u1) works.
How to reproduce:
% /usr/bin/ffmpeg -i h264_h265_transcode_corrupted_double_linked_list.mkv -c:v libx265 test-x265.mkv
ffmpeg started on 2024-03-15 at 01:18:54
Report written to "ffmpeg-20240315-011854.log"
Log level: 99
ffmpeg version 6.0.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-gnutls --disable-liblensfun --disable-libopencv --disable-podpages --disable-sndio --disable-stripping --enable-avfilter --enable-chromaprint --enable-frei0r --enable-gcrypt --enable-gpl --enable-ladspa --enable-libaom --enable-libaribb24 --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdavs2 --enable-libdc1394 --enable-libdrm --enable-libfdk-aac --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libkvazaar --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librsvg --enable-librubberband --enable-libshine --enable-libsmbclient --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-nonfree --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-vulkan --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-vaapi --enable-libvpl --enable-libvmaf --enable-libilbc --enable-libjxl --cc=x86_64-linux-gnu-gcc --cxx=x86_64-linux-gnu-g++ --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'h264_h265_transcode_corrupted_double_linked_list.mkv'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx265'.
Reading option 'test-x265.mkv' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url h264_h265_transcode_corrupted_double_linked_list.mkv.
Successfully parsed a group of options.
Opening an input file: h264_h265_transcode_corrupted_double_linked_list.mkv.
[NULL @ 0x5564143d1c40] Opening 'h264_h265_transcode_corrupted_double_linked_list.mkv' for reading
[file @ 0x5564143d24c0] Setting default whitelist 'file,crypto,data'
Probing matroska,webm score:100 size:2048
[matroska,webm @ 0x5564143d1c40] Format matroska,webm probed with size=2048 and score=100
[matroska,webm @ 0x5564143d1c40] Unknown entry 0x22B59D at pos. 4411
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0x5564143d1c40] Before avformat_find_stream_info() pos: 5543 bytes read:32768 seeks:2 nb_streams:1
[h264 @ 0x5564143d4000] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5564143d4000] Decoding VUI
[h264 @ 0x5564143d4000] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x5564143d4000] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5564143d4000] Decoding VUI
[h264 @ 0x5564143d4000] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x5564143d4000] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 3 times
[h264 @ 0x5564143d4000] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x5564143d4000] Format yuv420p chosen by get_format().
[h264 @ 0x5564143d4000] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x5564143d4000] no picture
[matroska,webm @ 0x5564143d1c40] All info found
[matroska,webm @ 0x5564143d1c40] stream 0: start_time: 0 duration: NOPTS
[matroska,webm @ 0x5564143d1c40] format: start_time: 0 duration: 10 (estimate from stream) bitrate=8192 kb/s
[matroska,webm @ 0x5564143d1c40] After avformat_find_stream_info() pos: 7390 bytes read:65536 seeks:2 frames:4
Input #0, matroska,webm, from 'h264_h265_transcode_corrupted_double_linked_list.mkv':
Metadata:
encoder : libebml v1.4.5 + libmatroska v1.7.1
creation_time : 2024-03-14T23:32:31.000000Z
Duration: 00:00:10.00, start: 0.000000, bitrate: 8192 kb/s
Stream #0:0(ger), 4, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, Closed Captions, 25 fps, 25 tbr, 1k tbn (default)
Successfully opened the file.
Parsing a group of options: output url test-x265.mkv.
Applying option c:v (codec name) with argument libx265.
Successfully parsed a group of options.
Opening an output file: test-x265.mkv.
[file @ 0x556414444600] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
detected 8 logical cores
[h264 @ 0x5564144453c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5564144453c0] Decoding VUI
[h264 @ 0x5564144453c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 1 times
[h264 @ 0x5564144453c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 3 times
[h264 @ 0x5564144453c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x5564144453c0] Format yuv420p chosen by get_format().
[h264 @ 0x5564144453c0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x5564144453c0] no picture
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x5564143e2d00] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564143e2d00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x5564143e2d00] no picture
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x55641444d7c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641444d7c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x55641446a780] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641446a780] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x5564148518c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564148518c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x556414920f80] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414920f80] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x5564149f0940] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564149f0940] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x556414ac0300] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414ac0300] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x556414b8fcc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414b8fcc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[vost#0:0/libx265 @ 0x5564143f20c0] cur_dts is invalid [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x5564144453c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564144453c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564143e2d00] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564143e2d00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[graph 0 input from stream 0:0 @ 0x5564152cfec0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x5564152cfec0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x5564152cfec0] Setting 'time_base' to value '1/1000'
[graph 0 input from stream 0:0 @ 0x5564152cfec0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x5564152cfec0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x5564152cfec0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000 fr:25/1 sar:1/1
[format @ 0x5564152d4140] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|gbrp|yuv420p10le|yuv422p10le|yuv444p10le|gbrp10le|yuv420p12le|yuv422p12le|yuv444p12le|gbrp12le|gray|gray10le|gray12le'
[AVFilterGraph @ 0x5564152d3240] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
x265 [info]: HEVC encoder version 3.5
x265 [info]: build info [Linux][GCC 10.2.1][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 8 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
[matroska @ 0x5564143d8340] get_metadata_duration returned: 0
configurationVersion: 1
general_profile_space: 0
general_tier_flag: 0
general_profile_idc: 1
general_profile_compatibility_flags: 0x60000000
general_constraint_indicator_flags: 0x900000000000
general_level_idc: 120
min_spatial_segmentation_idc: 0
parallelismType: 0
chromaFormat: 1
bitDepthLumaMinus8: 0
bitDepthChromaMinus8: 0
avgFrameRate: 0
constantFrameRate: 0
numTemporalLayers: 1
temporalIdNested: 1
lengthSizeMinusOne: 3
numOfArrays: 4
array_completeness[0]: 0
NAL_unit_type[0]: 32
numNalus[0]: 1
nalUnitLength[0][0]: 24
array_completeness[1]: 0
NAL_unit_type[1]: 33
numNalus[1]: 1
nalUnitLength[1][0]: 46
array_completeness[2]: 0
NAL_unit_type[2]: 34
numNalus[2]: 1
nalUnitLength[2][0]: 7
array_completeness[3]: 0
NAL_unit_type[3]: 39
numNalus[3]: 1
nalUnitLength[3][0]: 2319
Output #0, matroska, to 'test-x265.mkv':
Metadata:
encoder : Lavf60.3.100
Stream #0:0(ger), 0, 1/1000: Video: hevc, 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 25 fps, 1k tbn (default)
Metadata:
encoder : Lavc60.3.100 libx265
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[vost#0:0/libx265 @ 0x5564143f20c0] Clipping frame in rate conversion by 0.000008
[h264 @ 0x55641444d7c0] nal_unit_type: 6(SEI), nal_ref_idc: 077 bitrate= -0.0kbits/s speed=N/A
Last message repeated 1 times
[h264 @ 0x55641444d7c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x55641446a780] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641446a780] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564148518c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564148518c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x556414920f80] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414920f80] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564149f0940] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564149f0940] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x556414ac0300] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414ac0300] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x556414b8fcc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414b8fcc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564144453c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564144453c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564143e2d00] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564143e2d00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x55641444d7c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641444d7c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x55641446a780] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641446a780] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564148518c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564148518c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x556414920f80] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414920f80] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564149f0940] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564149f0940] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x556414ac0300] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414ac0300] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x556414b8fcc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414b8fcc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x5564144453c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564144453c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564143e2d00] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564143e2d00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x55641444d7c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641444d7c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x55641446a780] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641446a780] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x5564148518c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564148518c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x556414920f80] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414920f80] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564149f0940] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564149f0940] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x556414ac0300] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414ac0300] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x556414b8fcc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414b8fcc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564144453c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564144453c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x5564143e2d00] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564143e2d00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x55641444d7c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641444d7c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x55641446a780] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x55641446a780] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[matroska @ 0x5564143d8340] Starting new cluster with timestamp 0 at offset 2984 bytes
[h264 @ 0x5564148518c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[matroska @ 0x5564143d8340] Writing block of size 685 with pts 0, dts -80, duration 40 at relative offset 9 in cluster at offset 2984. TrackNumber 1, keyframe 1
[h264 @ 0x5564148518c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x5564148518c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[matroska @ 0x5564143d8340] Writing block of size 231 with pts 200, dts -40, duration 40 at relative offset 702 in cluster at offset 2984. TrackNumber 1, keyframe 0
[h264 @ 0x556414920f80] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414920f80] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[matroska @ 0x5564143d8340] Writing block of size 191 with pts 120, dts 0, duration 40 at relative offset 941 in cluster at offset 2984. TrackNumber 1, keyframe 0
[h264 @ 0x5564149f0940] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564149f0940] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[matroska @ 0x5564143d8340] Writing block of size 188 with pts 40, dts 40, duration 40 at relative offset 1140 in cluster at offset 2984. TrackNumber 1, keyframe 0
[h264 @ 0x556414ac0300] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414ac0300] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[matroska @ 0x5564143d8340] Writing block of size 218 with pts 80, dts 80, duration 40 at relative offset 1336 in cluster at offset 2984. TrackNumber 1, keyframe 0
[h264 @ 0x556414b8fcc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x556414b8fcc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[matroska @ 0x5564143d8340] Writing block of size 187 with pts 160, dts 120, duration 40 at relative offset 1562 in cluster at offset 2984. TrackNumber 1, keyframe 0
[h264 @ 0x5564144453c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
Last message repeated 1 times
[h264 @ 0x5564144453c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[matroska @ 0x5564143d8340] corrupted double-linked list
Note:
See TracTickets
for help on using tickets.



Presumably you ran into the bug described in ticket #9666 (see my comment there). It is not a complete duplicate though, because your file is based upon A53 closed caption SEIs and not User Data Unregistered SEIs.
Workaround is to use "-a53cc 0". (I just sent a patch to make this the default.)
Anyway, closing this as duplicate of #10411.