[FFmpeg-user] h264_qsv crashes in unknown circumstances with filter vpp_qsv

Stephan Monecke stephanmonecke at gmail.com
Mon Nov 2 10:15:25 EET 2020

Good morning,

yesterday evening, the following command crashed (allways but once!) with

[Parsed_vpp_qsv_2 @ 0x563c3523f780] Can't allocate a surface

as long as the vpp_qsv filter was present:

ffmpeg  -init_hw_device qsv=hw -filter_hw_device hw -i 'rtsp://url'
-vf 'hwupload=extra_hw_frames=64,format=qsv,vpp_qsv=detail=50' -c:v
h264_qsv -global_quality 30 -look_ahead 0 -bf 16 -profile:v high
-level:v 5.1 -trellis 2 -threads 1 -an -f flv 'rtmp://url'

Today it suddenly works as it does on other computers (with other rtsp streams).

Does anyone have any insights into this?

Thanks a lot!


More information about the ffmpeg-user mailing list