[FFmpeg-trac] #8445(avcodec:reopened): memory leak using h264_qsv to encode under certain resolutions

FFmpeg trac at avcodec.org
Tue Jun 16 12:06:40 EEST 2020


#8445: memory leak using h264_qsv to encode under certain resolutions
------------------------------------+------------------------------------
             Reporter:  carlchen    |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  qsv         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by fulinjie):

 Did some quick tests on linux, however didn't reproduce the memory leak
 with following cmdline:

 {{{
 valgrind --tool=memcheck --leak-check=full --log-file=webm_log.txt
 /root/build/ffmpeg/ffmpeg_g -hwaccel qsv -init_hw_device qsv=hw
 -filter_hw_device hw -v verbose -f rawvideo -video_size 1920x1080 -pix_fmt
 yuv420p -i /root/fulinjie/1080p_blue_sky.yuv -an -vf
 scale=w=1280:h=1024,hwupload=extra_hw_frames=64,format=qsv -c:v h264_qsv
 -vframes 100 -y ./qsv.h264
 }}}

 Hence,
 Is it windows specific issue?
 And did you try to encode with FFmpeg cmdline?

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


More information about the FFmpeg-trac mailing list