#11259: "anull" insensibly eating memory
-------------------------------------+-------------------------------------
             Reporter:  Alfredo Di   |                    Owner:  (none)
  Napoli                             |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  7.1          |               Resolution:
             Keywords:  anull        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by MasterQuestionable):

 * cc: MasterQuestionable (added)
 * keywords:   => anull
 * component:  undetermined => avfilter
 * summary:  anull filter consumes an apparently unbound quantity of memory
     => "anull" insensibly eating memory

Comment:

 ͏    Refactored:
 !#1:
 ͏    `ffmpeg -i "left" -i "right" -i "left.muted.mov" -i "right.muted.mov"
 -aspect 32:9 -y -lavfi "[1:1]anull[hms-1-1]" -lavfi "[0:1]anull[hms-0-1]"
 -lavfi "[2:v]setpts=(( PTS - STARTPTS )),pad=(( iw * 2
 )):ih:color=white,framerate=30[l]; [3:v]setpts=(( PTS - STARTPTS ))[r];
 [l][r]overlay=x=(( W - w )):shortest=1[vout]" -map [vout] -map [hms-1-1]
 -map [hms-0-1] -shortest "central.mp4"`
 !#2:
 ͏    `ffmpeg -i "left" -i "right" -i "left.muted.mov" -i "right.muted.mov"
 -aspect 32:9 -y -lavfi "[2:v]setpts=(( PTS - STARTPTS )),pad=(( iw * 2
 )):ih:color=white,framerate=30[l]; [3:v]setpts=(( PTS - STARTPTS ))[r];
 [l][r]overlay=x=(( W - w )):shortest=1[vout]" -map [vout] -shortest
 "central.mp4"`

 ͏    Interpreted "filter_complex" common:
 [[
 {{{#!shell
         [2:v]setpts=(( PTS - STARTPTS )),
         pad=(( iw * 2 )):ih:color=white,
         framerate=30[l];
         [3:v]setpts=(( PTS - STARTPTS ))[r];

         [l][r]overlay=x=(( W - w )):shortest=1[vout]
 }}}
 ]]

 ͏    Example !#2 didn't include the problematic audio.
 ͏    Would the problem reproduce just with the audio?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11259#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to