- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am testing HEVC encoding with
i9-12900K (UHD Graphics 770 iGPU)
31.0.101.5186_101.5234 WHQL Certified
I used FFmpeg hevc_qsv and it require initialized HWFramesContext
since it does not support dynamic pool size
i have to set pool size with hw_frames_ctx->initial_pool_size = ...
In libavcodec/qsv.c qsv_frame_alloc has proper code that using NumFrameSuggested
and registered to mfxFrameAllocator::Alloc but this function is never called
So how do i select proper pool size for QSV encoding with FFmpeg?
and i cant figure out why mfxFrameAllocator::Alloc is not called
(documentation said it is called twice when MFXVideoENCODE_Init is called)
(It seems that tutorial also call mfxFrameAllocator::Alloc manually...)
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page