[FFmpeg-user] trimmed audio has wrong duration

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Oct 11 01:03:27 EEST 2019

Am Do., 10. Okt. 2019 um 19:56 Uhr schrieb Moritz Barsnick <barsnick at gmx.net>:

> Considering that FLAV packets usually contain a lot of samples (I
> believe I saw some ffmpeg default of 4096 samples per packet?), the
> packet's size will obviously determine the possible precision.

They can be very large, pathological samples exist.

As mentioned before, stream-copying flac has immanent issues,
including that the output file has wrong duration metadata.

Carl Eugen

More information about the ffmpeg-user mailing list