0
0

More than 1 year has passed since last update.

AWS MediaConvertでGOPに関するエラーが出た場合

Posted at

AWS MediaConvertをつかってひとつの出力グループ内で複数の出力をしたときに下記の様なエラーが出た場合、全てのの出力のGOPサイズ/フレームレートが揃っていない事が原因です。

In Apple HLS output group [1], the GOP cadence in output [1] does not align with the GOP cadence in output [0]. 
Frame rate (framerate), GOP size (gopSize), GOP mode control (gopSizeUnits), Closed GOP cadence (gopClosedCadence), and Min I-Interval (minIInterval) all impact an output's GOP cadence.
Adjust these settings so that the GOP cadences align across all outputs in Apple HLS output group [1], and resubmit your job. 
Alternatively, set Segment length control (segmentLengthControl) to EXACT to force a GOP cadence equal to the specified Segment length (segmentLength).
Or, set GOP mode control to Auto (AUTO) and leave GOP size blank for all outputs in Apple HLS output group [1] to set the GOP automatically.

GOPはあまりいじらない気がしますので、フレームレートをそれぞれの出力で違う値、例えば、30fps, 15fpsみたいにしているとエラーがでます。また、Follow source30fpsの様になっていると、30fpsの動画を変換したときはエラーが起きないのに、29.970fpsの動画を変換するとエラーが起きます。
逆に30fps, 15fpsを混在させたいときはGOPのサイズの方をいじればOKです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0