[FFmpeg-trac] #7794(avfilter:closed): ffmpeg crash when transcoding with vpp_qsv and pad filters

FFmpeg trac at avcodec.org
Wed Apr 3 16:20:22 EEST 2019


#7794: ffmpeg crash when transcoding with vpp_qsv and pad filters
-------------------------------------+------------------------------------
             Reporter:  applemax82   |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  crash        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by lizhong1008):

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


Comment:

 IIRC, vpp_qsv can't support pad, just support crop, so the "pad" here is a
 software filter, thus means you need to use hwdownload from video memory
 to system memory, but probably the performance is slow.

 Please try:
 ffmpeg -hwaccel qsv -c:v h264_qsv -i
 bbb_sunflower_1080p_30fps_normal_2000frames.h264 -an -c:v h264_qsv -r 15/1
 -preset fast -profile:v main -vf "hwdownload, format=nv12,
 pad='1920:1080:128:64', hwupload=extra_hw_frames=64,format=qsv" -f flv
 avc_600p_24fps_1000k_output.flv

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


More information about the FFmpeg-trac mailing list