[FFmpeg-trac] #10211(avfilter:closed): Concat filter with `-re` (realtime) inputs does not keep realtimeness

FFmpeg trac at avcodec.org
Wed Feb 22 07:40:45 EET 2023


#10211: Concat filter with `-re` (realtime) inputs does not keep realtimeness
-------------------------------------+------------------------------------
             Reporter:  Brad Isbell  |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:  invalid
             Keywords:  concat       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by Gyan):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 It's working as expected. Each file reader (demuxer) runs in its own
 thread, and populates that input's packet queue asynchronously at 1x in
 this command. However, the concat filter only consumes each input when its
 turn comes for appendage. Since both inputs are of the same duration and
 readrate limited to the same speed, the 2nd input has been fully ingested
 into memory when concat gets to it.

 Use the realtime filter after concat instead to limit output speed.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10211#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list