Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

sample_encode crashes when using -d3d

$
0
0

Hello

I am trying to encode nv12 source file to H264 and it's working fine as long as I am using system memory.

When adding -d3d switch, the sample_encode crashes when the external allocator is trying to unlock the surface.

Callstack :

     igdumdim64.dll!00007ffdfc7f03c8()     
     [Frames below may be incorrect and/or missing, no symbols loaded for igdumdim64.dll]    
     igdumdim64.dll!00007ffdfc7ef4a6()     
     igdumdim64.dll!00007ffdfc75d301()     
     igdumdim64.dll!00007ffdfc75d376()     
     d3d9.dll!00007ffdfd2a33a5()     
     d3d9.dll!00007ffdfd19b3c8()     
     d3d9.dll!00007ffdfd23e430()     
     d3d9.dll!00007ffdfd23e87c()     
>    sample_encode.exe!D3DFrameAllocator::UnlockFrame(void * mid, mfxFrameData * ptr)  Line 189    C++
     sample_encode.exe!MFXFrameAllocator::Unlock_(void * pthis, void * mid, mfxFrameData * ptr)  Line 57    C++
     sample_encode.exe!CEncodingPipeline::Run()  Line 1285 + 0x4d bytes    C++
     sample_encode.exe!wmain(int argc, wchar_t * * argv)  Line 664 + 0x2b bytes    C++

media_sdk_system_analyzer report : 

The following versions of Media SDK API are supported by platform/driver:

        Version Target  Supported       Dec     Enc
        1.0     HW      Yes             X       X
        1.0     SW      Yes             X       X
        1.1     HW      Yes             X       X
        1.1     SW      Yes             X       X
        1.3     HW      Yes             X       X
        1.3     SW      Yes             X       X
        1.4     HW      Yes             X       X
        1.4     SW      Yes             X       X
        1.5     HW      Yes             X       X
        1.5     SW      Yes             X       X
        1.6     HW      Yes             X       X
        1.6     SW      Yes             X       X
        1.7     HW      Yes             X       X
        1.7     SW      Yes             X       X
        1.8     HW      Yes             X       X
        1.8     SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        AMD Radeon HD 7600M Series                   15.200.1062.1003    08
        Intel(R) HD Graphics 4000                    10.18.10.4252       Active

System info:
        CPU:    Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
        OS:     Microsoft Windows 10 Pro
        Arch:   64-bit

Any suggestion what can cause this crash and how to solve it are appreciated !

Thank you


Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>