AR# 71253

LogiCORE H.264/H.265 Video Codec Unit (VCU) - Why do I receive the warning ** (gst-launch-1.0:3316): WARNING **: GopLength should be in multiple of (b-frames + 1).Now setting it to default value?

描述

Why do I receive the following warning?

 ** (gst-launch-1.0:3316): WARNING **: GopLength should be in multiple of (b-frames + 1).Now setting it to default value?

解决方案

When using GStreamer, the GOP length must be an integer multiple of (B-frames + 1) for both Open GOP and Closed GOP structures. 

If this requirement is not met, then the gop-length is reset to 30, and the b-frames to 0.

  • Gop.Length=12, Gop.NumB=3 (12/(3+1) = 3, okay.)
  • Gop.Length=13, Gop.NumB=3 (13/(3+1) = 3.25, is not an integer multiple and will result in a reset)

 

The reason for this is that the OpenMAX (gst-omx) requires the GOP length properties to be in a different format.

This restriction was added in order to avoid floating point math when doing the calculations for the OpenMAX interface.

If you absolutely need these values, then you can use the Control Software interface, which does not have the restriction.

 

链接问答记录

主要问答记录

AR# 71253
日期 06/27/2018
状态 Active
Type 综合文章
Tools
IP