cancel
Showing results for 
Search instead for 
Did you mean: 

PC Graphics

Kevin949
Journeyman III

utilizing FFMPEG with h264_amf hardware acceleration to encode a NV12 Buffer to a H.264 bitstream

I tried utilizing FFMPEG with h264_amf hardware acceleration to encode a NV12 Buffer to a H.264 bitstream, but the result is wrong; the size is much smaller than I expected, and when I render this bitstream with ffplay, it is just a green frame. I use AV_HWDEVICE_TYPE_DXVA2 to initialize the hardware device context, and  codec_ctx->pix_fmt = AV_PIX_FMT_DXVA2_VLD; also  Software format (NV12) for the source frames : frames_ctx->sw_format = AV_PIX_FMT_NV12;

 

Originally, I suppose it was caused by alignment, but after I double-checked it, it has no problem. Did I do something wrong in the codec initialization? 

 

Also after I run the program, the ffmpeg debug message is as follows:

 

There are some warnings like  Warning: Failed to QueryThroughput()! and Warning: Video core bandwidth calcs is not available FamilyId=8e, RevisionId=92

I don't know if these are the reasons why I cannot output a correct encoded packet.

 

AVHWDeviceContext @ 0000020120813b80] Using D3D9Ex device.
[h264_amf @ 000002012282e480] EncodeCoreHelper: 2024-11-05 10:08:10.655 1A08 [EncodeCoreHelper] Info: ***Found regpath, but key not found using default=1
[h264_amf @ 000002012282e480] EncodeCoreHelper: 2024-11-05 10:08:10.655 1A08 [EncodeCoreHelper] Info: ***Found regpath, but key not found, Default instance is not set
[h264_amf @ 000002012282e480] AMFEncoderCoreBaseImpl: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreBaseImpl] Warning: Failed to QueryThroughput()!
[h264_amf @ 000002012282e480] AMFEncoderCoreBaseImpl: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreBaseImpl] Info: AMFEncoderCoreBaseImpl::QueryThroughput - maxThroughputMBPerSec = 0, totalRequiredThroughputMBPerSec = 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Info: ***Encode core used***!
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty FrameSize:1920,1080
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.FrameRate:1,25
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty Profile:77
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty OutColorProfile:-1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty FullRangeColor:false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty ColorBitDepth:8
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty OutColorTransferChar:2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty OutColorPrimaries:2
[h264_amf @ 000002012282e800] Rate control turned to Peak VBR
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty RateControlMethod:2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.VBVBufferSize:5000000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty InitialVBVBufferFullness:48
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.TargetBitrate:5000000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.PeakBitrate:7500000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.PeakBitrate:7500000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL0.QL0.FrameRate), 1,25
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: GetProperty(EnablePreAnalysis), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: GetProperty(BPicturesPattern), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::Init(NV12, 1920, 1080)
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.655 1A08 [AMFEncoderCoreH264] Debug: GetProperty(QueryTimeout), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreBaseImpl: 2024-11-05 10:08:10.672 1A08 [AMFEncoderCoreBaseImpl] Warning: Failed to QueryThroughput()!
[h264_amf @ 000002012282e480] AMFEncoderCoreBaseImpl: 2024-11-05 10:08:10.678 1A08 [AMFEncoderCoreBaseImpl] Info: AMFEncoderCoreBaseImpl::QueryThroughput - maxThroughputMBPerSec = 0, totalRequiredThroughputMBPerSec = 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.679 1A08 [AMFEncoderCoreH264] Info: ***Encode core used***!
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.679 1A08 [AMFEncoderCoreH264] Debug: SetProperty ColorBitDepth:8
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.680 1A08 [AMFEncoderCoreH264] Debug: SetProperty FrameSize:1920,1080
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.680 1A08 [AMFEncoderCoreH264] Debug: SetProperty FullRangeColor:false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.680 1A08 [AMFEncoderCoreH264] Debug: SetProperty InitialVBVBufferFullness:48
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.681 1A08 [AMFEncoderCoreH264] Debug: SetProperty OutColorPrimaries:2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.681 1A08 [AMFEncoderCoreH264] Debug: SetProperty OutColorProfile:-1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.682 1A08 [AMFEncoderCoreH264] Debug: SetProperty OutColorTransferChar:2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.682 1A08 [AMFEncoderCoreH264] Debug: SetProperty Profile:77
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.682 1A08 [AMFEncoderCoreH264] Debug: SetProperty RateControlMethod:2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.683 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.FrameRate:1,25
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.683 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.PeakBitrate:7500000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.684 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.684 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL0.QL0.FrameRate), 1,25
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.684 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.TargetBitrate:5000000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.685 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.VBVBufferSize:5000000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.685 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.VBVBufferSize:5000000
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.686 1A08 [AMFEncoderCoreH264] Debug: SetProperty FrameSize:1920,1080
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.686 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.691 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxConsecutiveBPictures), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.691 1A08 [AMFEncoderCoreH264] Debug: GetProperty(EnablePreAnalysis), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.692 1A08 [AMFEncoderCoreH264] Debug: GetProperty(Profile), 77
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.693 1A08 [AMFEncoderCoreH264] Debug: GetProperty(ProfileLevel), 42
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.694 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxNumRefFrames), 4
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.694 1A08 [AMFEncoderCoreH264] Debug: GetProperty(IDRPeriod), 30
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.694 1A08 [AMFEncoderCoreH264] Debug: GetProperty(FrameSize), 1920,1080
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.695 1A08 [AMFEncoderCoreH264] Debug: GetProperty(SliceControlMode), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.695 1A08 [AMFEncoderCoreH264] Debug: GetProperty(SlicesPerFrame), 1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.696 1A08 [AMFEncoderCoreH264] Debug: GetProperty(OutputMode), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.696 1A08 [AMFEncoderCoreH264] Debug: GetProperty(LowLatencyInternal), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.696 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.697 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxNumOfTemporalLayers), 1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.697 1A08 [AMFEncoderCoreH264] Debug: GetProperty(BPicturesPattern), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.697 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxConsecutiveBPictures), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.698 1A08 [AMFEncoderCoreH264] Debug: GetProperty(EncoderMFLowLatency), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.699 1A08 [AMFEncoderCoreH264] Debug: GetProperty(LowLatencyInternal), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.700 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.700 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxNumOfTemporalLayers), 1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.700 1A08 [AMFEncoderCoreH264] Debug: GetProperty(BPicturesPattern), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.700 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxConsecutiveBPictures), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.701 1A08 [AMFEncoderCoreH264] Debug: GetProperty(EncoderMFLowLatency), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.701 1A08 [AMFEncoderCoreH264] Debug: GetProperty(LowLatencyInternal), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.706 1A08 [AMFEncoderCoreH264] Debug: ConfigInit::Init usage 0, efcSupport 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.709 1A08 [AMFEncoderCoreH264] Debug: GetProperty(EnablePreAnalysis), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.709 1A08 [AMFEncoderCoreH264] Debug: *** AMFEncoderCoreH264Impl::CreateEncoderAndQueue() successful!
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.710 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL0.QL0.FrameRate), 1,25
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.711 1A08 [AMFEncoderCoreH264] Warning: Video core bandwidth calcs is not available FamilyId=8e, RevisionId=92
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.711 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL0.QL0.FillerDataEnable), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.711 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.712 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL0.QL0.EnforceHRD), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.712 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.712 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL1.QL0.FillerDataEnable), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.713 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.713 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL1.QL0.EnforceHRD), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.714 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.714 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL2.QL0.FillerDataEnable), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.714 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.715 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL2.QL0.EnforceHRD), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.715 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.716 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL3.QL0.FillerDataEnable), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.716 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.716 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL3.QL0.EnforceHRD), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.720 1A08 [AMFEncoderCoreH264] Debug: GetProperty(RateControlMethod), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.720 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxConsecutiveBPictures), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.721 1A08 [AMFEncoderCoreH264] Debug: SetProperty TL0.QL0.RateControlSkipFrameEnable:false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.722 1A08 [AMFEncoderCoreH264] Debug: SetProperty DeBlockingFilter:true
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.722 1A08 [AMFEncoderCoreH264] Debug: SetProperty IDRPeriod:1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.726 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::SubmitInput() : format (NV12), memory (DX9), width (1920), height (1080)
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.727 1A08 [AMFEncoderCoreH264] Debug: GetProperty(ColorBitDepth), 8
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.728 1A08 [AMFEncoderCoreH264] Debug: UpdateColorConfigs input format 1, efcSupport 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.729 1A08 [AMFEncoderCoreH264] Debug: GetProperty(InColorProfile), -1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.729 1A08 [AMFEncoderCoreH264] Debug: GetProperty(OutColorProfile), -1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.729 1A08 [AMFEncoderCoreH264] Debug: GetProperty(InColorTransferChar), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.730 1A08 [AMFEncoderCoreH264] Debug: GetProperty(OutColorTransferChar), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.730 1A08 [AMFEncoderCoreH264] Debug: GetProperty(InColorPrimaries), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.730 1A08 [AMFEncoderCoreH264] Debug: SetProperty InColorPrimaries:1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.731 1A08 [AMFEncoderCoreH264] Debug: GetProperty(OutColorPrimaries), 2
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.731 1A08 [AMFEncoderCoreH264] Debug: SetProperty OutColorProfile:-1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.732 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxConsecutiveBPictures), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.732 1A08 [AMFEncoderCoreH264] Debug: GetProperty(EnablePreAnalysis), false
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.738 1A08 [AMFEncoderCoreH264] Debug: GetProperty(Profile), 77
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.739 1A08 [AMFEncoderCoreH264] Debug: GetProperty(ProfileLevel), 42
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.740 1A08 [AMFEncoderCoreH264] Debug: GetProperty(MaxNumRefFrames), 4
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.741 1A08 [AMFEncoderCoreH264] Debug: GetProperty(IDRPeriod), 1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.742 1A08 [AMFEncoderCoreH264] Debug: GetProperty(FrameSize), 1920,1080
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.742 1A08 [AMFEncoderCoreH264] Debug: GetProperty(SliceControlMode), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.742 1A08 [AMFEncoderCoreH264] Debug: GetProperty(SlicesPerFrame), 1
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.743 1A08 [AMFEncoderCoreH264] Debug: GetProperty(OutputMode), 0
[h264_amf @ 000002012282e480] Transfer: 2024-11-05 10:08:10.743 1A08 [Transfer] Debug: AMFTransfer::Init(DX9, NV12, 1920, 1080)
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.743 1A08 [AMFEncoderCoreH264] Debug: GetProperty(PicTransferMode), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.744 1A08 [AMFEncoderCoreImpl] Debug: ParamType 0!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.744 1A08 [AMFEncoderCoreImpl] Debug: ParamType 1, Layer 0 update!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.745 1A08 [AMFEncoderCoreImpl] Debug: ParamType 2, Layer 0 update!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.745 1A08 [AMFEncoderCoreImpl] Debug: ParamType 4!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.746 1A08 [AMFEncoderCoreImpl] Debug: ParamType 5!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.746 1A08 [AMFEncoderCoreImpl] Debug: ParamType 6!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.746 1A08 [AMFEncoderCoreImpl] Debug: ParamType 7!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.747 1A08 [AMFEncoderCoreImpl] Debug: ParamType 8!
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.752 1A08 [AMFEncoderCoreH264] Debug: ConfigTemporalLayer(): numofTemporalLayers = 1!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.753 1A08 [AMFEncoderCoreImpl] Debug: ParamType 9!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.753 1A08 [AMFEncoderCoreImpl] Debug: ParamType 10!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.754 1A08 [AMFEncoderCoreImpl] Debug: ParamType 11!
[h264_amf @ 000002012282e480] AMFEncoderCoreImpl: 2024-11-05 10:08:10.754 1A08 [AMFEncoderCoreImpl] Debug: ParamType 12!
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.755 1A08 [AMFEncoderCoreH264] Debug: SetBufferProps: Picture Type:0 LTR index=-1, LTR used=0 Temporal ID=0 @frame 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.756 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::QueryOutput()
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.758 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::QueryOutput()
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.779 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::QueryOutput()
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.781 1A08 [AMFEncoderCoreH264] Debug: GetProperty(TL0.QL0.FrameRate), 1,25
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.782 1A08 [AMFEncoderCoreH264] Debug: GetProperty(OutputMode), 0
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.782 1A08 [AMFEncoderCoreH264] Debug: QueryOutput() End: frame pts=-9223372036854775808 outputFrames=1
Flushed packet size: 494
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.783 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::QueryOutput()
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.797 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::Terminate()
[h264_amf @ 000002012282e480] AMFEncoderCoreH264: 2024-11-05 10:08:10.799 1A08 [AMFEncoderCoreH264] Debug: AMFEncoderCoreH264Impl::Terminate()

 

 

0 Likes
2 Replies
fsadough
Moderator

I suggest you create a support ticket including your system info

0 Likes

Thanks a lot for your suggestions.

0 Likes