[FFmpeg-trac] #8342(undetermined:open): FFmpeg kills machine with infinitely increasing memory usage at end of PSNR calculation

FFmpeg trac at avcodec.org
Sun Feb 14 19:05:30 EET 2021


#8342: FFmpeg kills machine with infinitely increasing memory usage at end of PSNR
calculation
-------------------------------------+-------------------------------------
             Reporter:  eero-t       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by richardpl):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 vframes does not imply -an
 it exploded ffmpeg, the tool. because it buffers frames for some reason.
 One of workarounds if you want audio in output is to do:
 ```
 -lavfi "psnr;anull" -frames 100 ...
 ```
 or even better just disable audio processing with -an.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8342#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list