您好!
我对 DM385编码器的质量有疑问。
我使用了软件编码器来比较 DM385编码器的质量。 软件编码器似乎提供了更好的质量。 我已经尝试对这两种配置使用相同的配置。 也许我忘记了一些东西、或者不可能进行这样的比较?
我们的一位客户抱怨视频流质量不好。
主要配置为:
目标比特率: 5MBit
GOP 尺寸: 5.
视频: 1080p @ 60fps
当然、由于这种硬性限制、即使使用软件编码器、结果也不是完美的。 但仍然优于硬件编码器。 对于1080 @ 60fps 的视频流、应使用什么 GOP 大小和目标比特率来获得"良好"质量。
在测试中、我对 Linux 中的软件编码器使用了以下设置:
FFmpeg \
-i ${INPUT_VIDEO}\
-c:v libx264 \
-strict-2 \
-b:v 5000k \
-x264opts bitrate=5000:VbV-maxrate=5000:VbV-bufsize=10000 \
-nal -人力资源开发 CBR \
ss 15 -t 10 \
-g 5 \
-framerate 60 \
-Qmin 8 \
-Qmax 44 \
-passlogfile ./enc_dummy.log \
-CRF 0 \
${output_video}_cbr_5.mp4
对于硬件编码器 DM385、我使用了以下配置:
[m3video ]------ CH 0:H264 ENC:动态参数---
[m3视频]
[m3video ] videnc2DynamicParams -> InputHeight :1080
[m3video ] videnc2DynamicParams -> InputWidth :1920
[m3video ] videnc2DynamicParams -> refFrameRate :25000
[m3video ] videnc2DynamicParams -> targetFrameRate :60000
[m3video ] videnc2DynamicParams -> targetBitRate :5000000
[m3video ] videnc2DynamicParams -> IntraFrameInterval :5.
[m3video ] videnc2DynamicParams -> generateHeader :0
[m3video ] videnc2DynamicParams -> CaptureWidth :1920
[m3video ] videnc2DynamicParams -> forceFrame :-1
[m3video ] videnc2DynamicParams -> InterFrameInterval :1.
[m3video ] videnc2DynamicParams -> mvAccuracy : 2.
[m3video ] videnc2DynamicParams -> sampleAstioHeight:1.
[m3video ] videnc2DynamicParams -> sampleAstioWidth :1.
[m3video ] videnc2DynamicParams -> ignoreOutbufSizeFlag :1.
[m3video ] videnc2DynamicParams -> lateAcquireArg :-1
[m3视频]
[m3video ] rateControlParams -> rateControlParamsPreset :1.
[m3video ] rateControlParams -> ScalingMatrixPreset :0
[m3video ] rateControlParams -> rcAlgo : 0
[m3video ] rateControlParams -> QPI :-1
[m3video ] rateControlParams -> qpMaxI : 44.
[m3video ] rateControlParams -> qpMinI :8.
[m3video ] rateControlParams -> qpP :-1
[m3video ] rateControlParams -> qpMaxP :44.
[m3video ] rateControlParams -> qpMinP :8.
[m3video ] rateControlParams -> qpOffsetB :4.
[m3video ] rateControlParams -> qpMaxB :44.
[m3video ] rateControlParams -> qpMinB :10.
[m3video ] rateControlParams -> allowFrameSkip :1.
[m3video ] rateControlParams -> removeExpansiveCoeff :0
[m3video ] rateControlParams -> ChromaQPIndexOffset :0
[m3video ] rateControlParams -> IPQualityFactor :0
[m3video ] rateControlParams -> initialBufferLevel :10000000
[m3video ] rateControlParams -> HRDBufferSize : 10000000
[m3video ] rateControlParams -> minPicSizeRatioI :0
[m3video ] rateControlParams -> maxPicSizeRatioI :96
[m3video ] rateControlParams -> minPicSizeRatioP :0
[m3video ] rateControlParams -> maxPicSizeRatioP :0
[m3video ] rateControlParams -> minPicSizeRatioB :0
[m3video ] rateControlParams -> maxPicSizeRatioB :0
[m3video ] rateControlParams -> enablePRC :1.
[m3video ] rateControlParams -> enablePartialFrameSkip :1.
[m3video ] rateControlParams ->丢弃 SavedBits :1.
[m3video ] rateControlParams -> VBRDuration :8.
[m3video ] rateControlParams -> VBRsensivity :0
[m3video ] rateControlParams -> skipDistributionWindowLength : 5.
[m3video ] rateControlParams -> numSkipInDistributionWindow :2.
[m3video ] rateControlParams -> enableHRDComplianceMode :1.
[m3video ] rateControlParams -> frameSkipThMulQ5 :0
[m3video ] rateControlParams -> vbvUseLevelThQ5 :0
[m3视频]
[m3video ] interCodingParams -> InterCodingPreset :0
[m3video ] interCodingParams -> searchRangeHorP :144.
[m3video ] interCodingParams -> searchRangeVerP :32.
[m3video ] interCodingParams -> searchRangeHorB :144.
[m3video ] interCodingParams -> searchRangeVerB :16.
[m3video ] interCodingParams -> InterCodingBias :1.
[m3video ] interCodingParams -> skipMVCodingBias :1.
[m3video ] interCodingParams -> minBlockSizeP :0
[m3video ] interCodingParams -> minBlockSizeB :0
[m3video ] interCodingParams -> meAlgoMode :0
[m3视频]
[M3VIDE] IntraCodingParams -> IntraCodingPreset :0
[m3video ] intraCodingParams -> lumaIntra4x4Enable : 255
[m3video ] intraCodingParams -> lumaIntra8x8启用 :0
[m3video ] intraCodingParams -> lumaIntra16x16Enable : 15.
[m3video ] intraCodingParams ->色度 Intra8x8启用 : 15.
[m3video ] intraCodingParams ->色度分量启用 :1.
[m3video ] intraCodingParams -> intraRefreshMethod :0
[m3video ] intraCodingParams -> intraRefreshRate :0
[m3video ] intraCodingParams -> gdrOverlapRowsBtwFrames : 0
[m3video ] intraCodingParams ->限制 IntraPredEnable:0
[m3video ] intraCodingParams -> intraCodingBias :0
[m3视频]
[m3video ] sliceCodingParams -> sliceCodingPreset :1.
[m3video ] sliceCodingParams -> sliceMode :416
[m3video ] sliceCodingParams -> sliceUnitSize : 416
[m3video ] sliceCodingParams -> sliceStartOffset :[-126 1 2]
[m3video ] sliceCodingParams -> streamFormat :0
[m3视频]
[m3video ] sliceGroupChangeCycle :3072
[m3video ] searchCenter :0
[m3video ] enableStaticMBCount :0
[m3video ] enableROI :262400
我们如何提高视频流的质量?
谢谢、
Andreas
