[FFmpeg-trac] #10550(avfilter:new): complex_filtergraph (trim, concat) memory leak

FFmpeg trac at avcodec.org
Wed Sep 6 13:15:07 EEST 2023


#10550: complex_filtergraph (trim, concat) memory leak
-------------------------------------+-------------------------------------
             Reporter:  Kurt         |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  filter_complex trim memleak        |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Elon Musk):

 Known issue,

 Use instead:

 ffmpeg -i input.ts -i input.ts -filter_complex
 "[0:2]trim=start=200:end=220,setpts=PTS-
 STARTPTS[v1];[1:2]trim=start=400:end=440,setpts=PTS-
 STARTPTS[v2];[v1][v2]concat[v3];[0:2]trim=start=1440:end=1500,setpts=PTS-
 STARTPTS[v4];[v3][v4]concat[vout]" -map [vout]  -c:v libx264 output.mkv
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10550#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list