Skip to content

Pre-analysis (--pa) causes no output #141

Description

@mvildosolae

Hello,

It seems I've hit a bug (I don't know if it's related to VCEEnc or to the drivers).

When using --pa, the encoding gets stuck and doesn't finish. When logging debug output, this appears repeated several times:

[AMFDecoderUVDImpl] 2026-08-16 19:00:52.197      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFPreAnalysisImpl] 2026-08-16 19:00:52.199     3AB4 [AMFPreAnalysisImpl]   Debug: AMFPreAnalysisImpl::SubmitInput() : format (NV12), memory (DX11), width (800), height (576)
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.202      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFPreAnalysisImpl] 2026-08-16 19:00:52.204     3AB4 [AMFPreAnalysisImpl]   Debug: AMFPreAnalysisImpl::SubmitInput() : format (NV12), memory (DX11), width (800), height (576)
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.206      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFPreAnalysisImpl] 2026-08-16 19:00:52.210     3AB4 [AMFPreAnalysisImpl]   Debug: AMFPreAnalysisImpl::SubmitInput() : format (NV12), memory (DX11), width (800), height (576)
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.211      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFPreAnalysisImpl] 2026-08-16 19:00:52.212     2C90 [AMFPreAnalysisImpl]   Debug: AMFPreAnalysisImpl::QueryOutput()
[AMFPreAnalysisImpl] 2026-08-16 19:00:52.214     3AB4 [AMFPreAnalysisImpl]   Debug: AMFPreAnalysisImpl::SubmitInput() : format (NV12), memory (DX11), width (800), height (576)
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.216      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFPreAnalysisImpl] 2026-08-16 19:00:52.219     3AB4 [AMFPreAnalysisImpl]   Debug: AMFPreAnalysisImpl::SubmitInput() : format (NV12), memory (DX11), width (800), height (576)
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.222      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFEncoderCorePAImpl] 2026-08-16 19:00:52.222     3AB4 [AMFEncoderCorePAImpl]   Error: C:\constructicon\builds\gfx\six\26.10\drivers\amf\stable\runtime\src\components\EncoderCore\EncoderCorePAImpl.cpp(1363):PA waited for encoder for 2 sec but encoder queue is still full
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.226      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFEncoderCoreAv1] 2026-08-16 19:00:52.228     3AB4 [AMFEncoderCoreAv1]   Debug: AMFEncoderCoreAv1Impl::QueryOutput()
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.230      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFEncoderCoreImpl] 2026-08-16 19:00:52.230     3AB4 [AMFEncoderCoreImpl]   Debug: GetProperty(Av1PictureManagementMethod), 1
[AMFDecoderUVDImpl] 2026-08-16 19:00:52.233      9B0 [AMFDecoderUVDImpl]   Debug: AMFDecoderUVDImpl::SubmitInput()
[AMFEncoderCoreImpl] 2026-08-16 19:00:52.233     3AB4 [AMFEncoderCoreImpl]   Debug: SubmitInput() : format (NV12), memory (DX11), width (800), height (576)

Specs and environment:

VCEEnc (x64) 9.12 (r2521) by rigaya, Aug  9 2026 11:12:58 (VC 1944/Win)
OS:            Windows 11 x64 (26100) [UTF-8]
CPU:           AMD Ryzen 7 5700X 8-Core Processor [3.81GHz] (8C/16T)
GPU:           AMD Radeon RX 7800 XT [32.0.31021.5001]
AMF:           Runtime 1.5.2 / SDK 1.5.0

I'm attaching the longer log with the verbose output after issuing the command.
pa_issue_vceenc.txt

Thank you in advance for your help, your encoders are very useful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions