Re: [FFmpeg-devel] [PATCH] lavc/qsv: improve the default GPU memory usage

2019-11-01 Thread Max Dmitrichenko
On Fri, Nov 1, 2019 at 11:20 AM Zhong Li wrote: > > A large initial_pool_size leads to redundant GPU memory allocations > > compared with MSDK. > > > > For some special cases which needs larger GPU memory like look_ahead, > > add -extra_hw_frames to allocate more. > > > > CMD: > > ffmpeg -hwaccel

Re: [FFmpeg-devel] [PATCH] lavc/qsv: improve the default GPU memory usage

2019-11-01 Thread Zhong Li
> A large initial_pool_size leads to redundant GPU memory allocations > compared with MSDK. > > For some special cases which needs larger GPU memory like look_ahead, > add -extra_hw_frames to allocate more. > > CMD: > ffmpeg -hwaccel qsv -extra_hw_frames 50 -c:v hevc_qsv -i hevc.h265 -c:v > h264_q

[FFmpeg-devel] [PATCH] lavc/qsv: improve the default GPU memory usage

2019-10-31 Thread Linjie Fu
A large initial_pool_size leads to redundant GPU memory allocations compared with MSDK. For some special cases which needs larger GPU memory like look_ahead, add -extra_hw_frames to allocate more. CMD: ffmpeg -hwaccel qsv -extra_hw_frames 50 -c:v hevc_qsv -i hevc.h265 -c:v h264_qsv -look_ahead 1