[FFmpeg-trac] #8570(undetermined:new): Incorrect flac audio file length after cutting (e.g -ss -to arguments)

FFmpeg trac at avcodec.org
Sat Mar 14 01:29:54 EET 2020


#8570: Incorrect flac audio file length after cutting (e.g -ss -to arguments)
-------------------------------------+-------------------------------------
             Reporter:  Atg          |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  4.2
  undetermined                       |
             Keywords:  flac,        |               Blocked By:
  length                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 OS Win 10 x64. Cutting flac audio files by using "-ss -to" arguments, or
 splitting by using "-segment_time" results in output files with unchanged
 audio length (file properties -> details -> length) as the input file.
 Because of that these files played correctly in audio players, but have
 broken seekbar.
 Just try with attached file:
 {{{
 ffmpeg -y -i test_input.flac -f  segment  -segment_time 2
 -segment_start_number 1 -c copy OUTPUT%02d.flac
 }}}
 Or:
 {{{
 ffmpeg -y -i test_input.flac -ss 8 -to 12 -c copy OUTPUT.flac
 }}}
 Occurs in both 20200312-675bb1f version and 4.2.2

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8570>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list