ionutdanila / ffmpeg.UWP

FFmpeg libraries (x86, x64, ARM, ARM64) for UWP (Universal Windows Platform)
GNU Lesser General Public License v2.1
28 stars 11 forks source link

Certification error due to unsupported APIs #4

Closed FrayxRulez closed 5 years ago

FrayxRulez commented 5 years ago

Hey, when I try to submit an app using this library to the Store I get a long list of unsupported APIs that lead the certification to fail:


    API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. avdevice-58.dll calls this API.
    API memset in vcruntime140.dll is not supported for this application type. avdevice-58.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. avdevice-58.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. avdevice-58.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. avdevice-58.dll calls this API.
    API __C_specific_handler in vcruntime140.dll is not supported for this application type. swresample-3.dll calls this API.
    API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. swresample-3.dll calls this API.
    API memcpy in vcruntime140.dll is not supported for this application type. swresample-3.dll calls this API.
    API memset in vcruntime140.dll is not supported for this application type. swresample-3.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. swresample-3.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. swresample-3.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. swresample-3.dll calls this API.
    API __C_specific_handler in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API memchr in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API memcmp in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API memcpy in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API memmove in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API memset in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API strchr in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API strrchr in vcruntime140.dll is not supported for this application type. avutil-56.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. avutil-56.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. avutil-56.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. avutil-56.dll calls this API.
    API __C_specific_handler in vcruntime140.dll is not supported for this application type. swscale-5.dll calls this API.
    API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. swscale-5.dll calls this API.
    API memcmp in vcruntime140.dll is not supported for this application type. swscale-5.dll calls this API.
    API memcpy in vcruntime140.dll is not supported for this application type. swscale-5.dll calls this API.
    API memmove in vcruntime140.dll is not supported for this application type. swscale-5.dll calls this API.
    API memset in vcruntime140.dll is not supported for this application type. swscale-5.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. swscale-5.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. swscale-5.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. swscale-5.dll calls this API.
    API __C_specific_handler in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API memcmp in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API memcpy in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API memmove in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API memset in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API strchr in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API strrchr in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API strstr in vcruntime140.dll is not supported for this application type. avformat-58.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. avformat-58.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. avformat-58.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. avformat-58.dll calls this API.
    API __C_specific_handler in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API memcmp in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API memcpy in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API memmove in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API memset in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API strchr in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API strstr in vcruntime140.dll is not supported for this application type. avcodec-58.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. avcodec-58.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. avcodec-58.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. avcodec-58.dll calls this API.
    API __C_specific_handler in vcruntime140.dll is not supported for this application type. avfilter-7.dll calls this API.
    API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. avfilter-7.dll calls this API.
    API memcpy in vcruntime140.dll is not supported for this application type. avfilter-7.dll calls this API.
    API memmove in vcruntime140.dll is not supported for this application type. avfilter-7.dll calls this API.
    API memset in vcruntime140.dll is not supported for this application type. avfilter-7.dll calls this API.
    API strchr in vcruntime140.dll is not supported for this application type. avfilter-7.dll calls this API.
    API strstr in vcruntime140.dll is not supported for this application type. avfilter-7.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. avfilter-7.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. avfilter-7.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. avfilter-7.dll calls this API.```

Any idea? Thanks!
FrayxRulez commented 5 years ago

So it looks like you're using the wrong CRT to compile the library...

ionutdanila commented 5 years ago

Hello, @FrayxRulez,

I updated the BuildFFmpeg.bat to fix the issue.

The problem was that the FFmpeg UWP libraries referenced Full Windows SDK, instead of Store SDK.

You can get the latest FFmpeg NuGet Package and test the fix.

I used FFmpegInterop.MediaPlayerSample and the Store build passed certification.