Opened 6 years ago
Closed 6 years ago
#7794 closed defect (invalid)
ffmpeg crash when transcoding with vpp_qsv and pad filters
Reported by: | applemax82 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | unspecified | Keywords: | crash |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
% ffmpeg -hwaccel qsv -c:v h264_qsv -i football_avc_600p_24fps_1000k.flv -an -c:v h264_qsv -r 15/1 -vb 1000000 -minrate 1000000 -maxrate 1500000 -bufsize 2000000 -preset fast -profile:v main -vf "vpp_qsv, pad='1280:720:128:64'" -f flv football_avc_600p_24fps_1000k_output.flv ffmpeg 4.0.1 built on ...
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (3)
comment:1 by , 6 years ago
Keywords: | filter removed |
---|---|
Version: | 4.0.3 → unspecified |
comment:3 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
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
Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.
And please see https://ffmpeg.org/bugreports.html for the necessary information for a crash report.