[FFmpeg-devel] [PATCH 2/2] libvpxenc: Report encoded VP9 level

James Zern jzern at google.com
Mon Nov 28 21:57:18 EET 2016


On Mon, Nov 28, 2016 at 10:32 AM, Alex Converse <alex.converse at gmail.com> wrote:
> On Tue, Nov 22, 2016 at 3:10 PM, James Zern <jzern at google.com> wrote:
>> On Tue, Nov 22, 2016 at 12:08 PM, James Zern <jzern at google.com> wrote:
>>> On Tue, Nov 22, 2016 at 12:04 PM, James Zern <jzern at google.com> wrote:
>>>> On Fri, Nov 18, 2016 at 2:01 PM, Alex Converse <alex.converse at gmail.com> wrote:
>>>>> Report the actual level of the encoded output if a level is
>>>>> targeted or the level is passively tracked with a target of 0.
>>>>> ---
>>>>>  libavcodec/libvpxenc.c | 31 +++++++++++++++++++++++++++++++
>>>>>  1 file changed, 31 insertions(+)
>>>>>
>>>>
>>>> lgtm.
>>>> I don't know if there's a better way to report this at the stream
>>>> level (AV_PKT_DATA_STRINGS_METADATA?), there doesn't seem to be
>>>> anything specific right now. This info can be translated quickly if
>>>> someone wants to make this more structured or has any opinion now.
>>>>
>>>
>>> I forgot that there was some discussion around adding this to the
>>> codec extradata in webm. That could be a followup if there's
>>> documentation on the format for that.
>>
>> http://wiki.webmproject.org/vp9-codecprivate
>
> Are there any tools that read or write this data. libavformat and
> libvpx/webmenc.cc don't seem to implement it. I'd rather not be the
> guinea pig for this.

libwebm has support in the muxer sample and webm_info for reporting:
https://chromium.googlesource.com/webm/libwebm/+/master/mkvmuxer_sample.cc#471
https://chromium.googlesource.com/webm/libwebm/+/master/webm_info.cc#381


More information about the ffmpeg-devel mailing list