[FFmpeg-trac] #10314(ffmpeg:new): FFmpeg concat introduces gaps, even encoding to wav; does not occur with mpg123.
FFmpeg
trac at avcodec.org
Mon Apr 10 17:20:21 EEST 2023
#10314: FFmpeg concat introduces gaps, even encoding to wav; does not occur with
mpg123.
-------------------------------------+-------------------------------------
Reporter: Karen | Type: defect
Róbertsdóttir |
Status: new | Priority: normal
Component: ffmpeg | Version: 5.0.2
Keywords: gaps, mp3, | Blocked By:
wav, mpg123 |
Blocking: Have to use | Reproduced by developer: 0
mpg123 as a workaround; ruined |
the timings on my current |
project, have to redo. |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
mpg123 -w out_mpg123.wav 160k_75_80_15-8_v5_B/00015[5678]*
vs.
echo -n > list.txt; for i in 160k_75_80_15-8_v5_B/00015[5678]*.mp3; do
echo "file '$i'" >> list.txt; done; ffmpeg -y -f concat -safe 0 -i
list.txt -c copy out_ffmpeg.wav
See the attached waveform to see the gap, and the source files to
recreate. My suspicion is that ffmpeg concat is not respecting the stated
file length, and is instead just writing out whole blocks even if the
block extends out beyond the end of the file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10314>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list