[FFmpeg-trac] #8910(undetermined:new): Audio mp4 with chapters - SIGSEGV, Segmentation fault
FFmpeg
trac at avcodec.org
Mon Sep 28 10:53:05 EEST 2020
#8910: Audio mp4 with chapters - SIGSEGV, Segmentation fault
-------------------------------------+-------------------------------------
Reporter: Ajaja | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
There is a problem with creating mp4 audio files with chapters from mp3
after
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/667d5045d38c19a9a7ccfe7f1abaaf4cb8b225fc
(or some connected commits)
How to reproduce:
{{{
ffmpeg.exe -i 1.mp3 -f ffmetadata -i 1.meta -map_chapters 1 -c copy -y
a.mp4
ffmpeg version N-99402-gd9bc59c175 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
...
gdb backtrace:
...
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007fffeea31f60 in av_stream_get_side_data () from D:\2\avformat-58.dll
(gdb) backtrace
#0 0x00007fffeea31f60 in av_stream_get_side_data () from
D:\2\avformat-58.dll
#1 0x00007fffee98208e in calculate_mpeg4_bit_rates () from
D:\2\avformat-58.dll
#2 0x00007fffee9832c1 in mov_write_btrt_tag () from D:\2\avformat-58.dll
#3 0x00007fffee98ccb9 in mov_write_stbl_tag () from D:\2\avformat-58.dll
#4 0x00007fffee98e355 in mov_write_moov_tag () from D:\2\avformat-58.dll
#5 0x00007fffee9930c5 in mov_write_trailer () from D:\2\avformat-58.dll
#6 0x00007fffee9b052e in av_write_trailer () from D:\2\avformat-58.dll
#7 0x00007ff65ab68068 in transcode ()
#8 0x00007ff65ab7ee1e in main ()
}}}
Content of 1.meta:
{{{
;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=18901
title=Chapter 1
[CHAPTER]
TIMEBASE=1/1000
START=18901
END=32465
title=Chapter 2
}}}
You can use any 1.mp3 to reproduce it.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8910>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list