[FFmpeg-trac] #10623(ffmpeg:new): Metadata is written at the end of the process, making piped output miss metadata

FFmpeg trac at avcodec.org
Tue Oct 17 22:16:52 EEST 2023


#10623: Metadata is written at the end of the process, making piped output miss
metadata
-------------------------------------+-------------------------------------
             Reporter:  vortex       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:  pipe         |               Blocked By:
  matroska -map                      |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by mkver):

 The Matroska muxer writes updated metadata (namely proper durations which
 is probably the missing metadata you mention) as well as the index ("Cues"
 in Matroska-speak) at the end if the output is seekable. The reason for
 this restriction is that in order for the metadata to be updated as well
 as in order for Cues to be usable, one needs to be able to overwrite some
 bytes at the beginning of the file. So I don't really see what could be
 done better here.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10623#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list