- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have been using 'Intel Media SDK 2014 R2 Windows Server' H264, JPEG Hardware Encode/Decode within our own video communications software application for quite some time without any problems. Recently, I used my Server to 12th Gen Intel(R) Core(TM) i7-12700.
SDK : Intel Media SDK 2014 R2 Windows Server
h264, jpeg hardware encoding
decode plugin -> custom dll load
mpeg4 decode -> h264 hardware encoding
CPU : Intel Xeon E3-1286 v3
GPU : Intel HD Graphics P4600/P4700
OS : Windows Server 2012 R2 Standard
Version : 6.3.9600
-> h264 -> h264 hardware encoding 'OK'
h264 -> jpeg hardware encoding 'OK'
custom dll load 'OK'
CPU : 12th Gen Intel(R) Core(TM) i7-12700
GPU : Intel UHD Graphics 770
OS : Windows Server 2022 Standard
Version : 21H2
-> h264 -> h264 hardware encoding 'OK'
h264 -> jpeg hardware encoding 'Error MFX_ERR_NULL_PTR -2'
h264 -> jpeg software encoding 'OK'
custom dll load 'Error MFX_ERR_UNSUPPORTED -3'
Sample_code Installation Version / Build Version Test Results
1. Installation Version sample_encode TEST
# \Intel Media SDK Samples\Video Encoding Sample 5.0.461.91752\_bin\x64
# yuv -> h264 CPU version
sample_encode h264 -w 1920 -h 1080 -f 30 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.h264"
Intel(R) Media SDK Encoding Sample Version 5.0.461.92695
Input file format YUV420
Output video AVC
Source picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Destination picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Frame rate 30.00
Bit rate(Kbps) 3757
Target usage balanced
Memory type system
Media SDK impl sw
Media SDK version 1.10
Processing started
Frame number: 3
Processing finished
# yuv -> h264 GPU version
sample_encode h264 -w 1920 -h 1080 -f 30 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.h264" -hw
Intel(R) Media SDK Encoding Sample Version 5.0.461.92695
Input file format YUV420
Output video AVC
Source picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Destination picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Frame rate 30.00
Bit rate(Kbps) 3757
Target usage balanced
Memory type system
Media SDK impl hw
Media SDK version 1.255
Processing started
Frame number: 3
Processing finished
# yuv -> jpeg CPU version
sample_encode jpeg -w 1920 -h 1080 -f 30 -q 90 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.jpg"
Intel(R) Media SDK Encoding Sample Version 5.0.461.92695
Input file format YUV420
Output video JPEG
Source picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Destination picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Frame rate 30.00
Bit rate(Kbps) 0
Target usage quality
Memory type system
Media SDK impl sw
Media SDK version 1.10
Processing started
Frame number: 3
Processing finished
# yuv -> jpeg GPU version
sample_encode jpeg -w 1920 -h 1080 -f 30 -q 90 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.jpg" -hw
Intel(R) Media SDK Encoding Sample Version 5.0.461.92695
Input file format YUV420
Output video JPEG
Source picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Destination picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Frame rate 30.00
Bit rate(Kbps) 0
Target usage quality
Memory type system
Media SDK impl hw
Media SDK version 1.255
Processing started
Frame number: 3
Processing finished
2. Build Version sample_encode 테스트
# \Intel Media SDK Samples\Video Encoding Sample 5.0.461.91752\_build\x64\Release
# yuv -> h264 CPU version
sample_encode h264 -w 1920 -h 1080 -f 30 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.h264"
Intel(R) Media SDK Encoding Sample Version 5.0.461.92695
Input file format YUV420
Output video AVC
Source picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Destination picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Frame rate 30.00
Bit rate(Kbps) 3757
Target usage balanced
Memory type system
Media SDK impl sw
Media SDK version 1.10
Processing started
Frame number: 3
Processing finished
# yuv -> h264 GPU version
sample_encode h264 -w 1920 -h 1080 -f 30 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.h264" -hw
Intel(R) Media SDK Encoding Sample Version 5.0.461.92695
Input file format YUV420
Output video AVC
Source picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Destination picture:
Resolution 1920x1088
Crop X,Y,W,H 0,0,1920,1080
Frame rate 30.00
Bit rate(Kbps) 3757
Target usage balanced
Memory type system
Media SDK impl hw
Media SDK version 1.255
Processing started
Frame number: 3
Processing finished
# yuv -> jpeg CPU version(MFX_ERR_NULL_PTR -2)
sample_encode jpeg -w 1920 -h 1080 -f 30 -q 90 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.jpg"
Return on error: error code -2, src\pipeline_encode.cpp 839
Return on error: error code -2, src\pipeline_encode.cpp 896
Return on error: error code -2, src\pipeline_encode.cpp 918
Return on error: error code 1, src\sample_encode.cpp 424
Frame number: 0
※ zvrts MFX_IMPL_SOFTWARE 모드에서 정상 작동 되면 샘플도 정상 작동 되야 되는거 같은데 에러 발생?
# yuv -> jpeg GPU version(MFX_ERR_NULL_PTR -2)
sample_encode jpeg -w 1920 -h 1080 -f 30 -q 90 -i "C:\\Users\\Administrator\\Documents\\200.yuv" -o "C:\\Users\\Administrator\\Documents\\result.jpg" -hw
Return on error: error code -2, src\pipeline_encode.cpp 839
Return on error: error code -2, src\pipeline_encode.cpp 896
Return on error: error code -2, src\pipeline_encode.cpp 918
Return on error: error code 1, src\sample_encode.cpp 424
Frame number: 0
Thank you.
Link Copied

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