lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
245 stars 17 forks source link

51207635: kVTCompressionPropertyKey_DataRateLimits omits B frames #21284

Open openradar-mirror opened 5 years ago

openradar-mirror commented 5 years ago

Description

Summary:

When using the kVTCompressionPropertyKey_DataRateLimits setting with AVVideoCodecTypeH264 and AVVideoProfileLevelH264High41, the resulting output does not include B frames. Compare with AVVideoAverageBitRateKey, which does.

Steps to Reproduce:

See attached code.

Verify B-frame count with the following command:

ffprobe -v error -show_frames $FILE | grep pict_type=B | wc -l

Expected Results:

File contains B-frames.

Actual Results:

File does not contain B-frames.

Version/Build:

iOS 12.3

Configuration:

N/A