很多時候會改動最大邊界size 或者 格式 幀率 size,那麼應該遵循哪些法則
1、 首先邊界 low 和 high
<EncoderProfile quality="low" fileFormat="3gp" duration="60">
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
low必須和最小size內容保持一致、high和最大size內容保持一致
例如:low 和最小size qcif :紅色框內容必須一致
2 CTS media相關測試case
cts/tests/tests/media/src/android/media/cts/CamcorderProfileTest.java
run cts -m CtsMediaTestCases -t android.media.cts.CamcorderProfileTest#testGet
run cts -m CtsMediaTestCases -t android.media.cts.CamcorderProfileTest#testGetWithld
此case會測試media_profile.xml裏面的low 和 最小size 編解碼內容進行比較
high 和最大size編解碼進行比較,不一致就會failed