[FFmpeg-devel] [PATCH] amfenc: Add support for pict_type field
akravchenko188 at gmail.com
Fri Feb 1 20:39:00 EET 2019
I could take manteinership and one person from my team, hopefully it could help to move pending patches which are required to be applied and have been waiting for a long time
От: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> от имени Carl Eugen Hoyos <ceffmpeg at gmail.com>
Обратный адрес: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
Дата: пятница, 1 февраля 2019 г., 21:31
Кому: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
Тема: Re: [FFmpeg-devel] [PATCH] amfenc: Add support for pict_type field
2019-02-01 19:25 GMT+01:00, Michael Dirks <michael.dirks at xaymar.com>:
On 15.01.2019 23:41, Michael Dirks wrote:
On 15.01.2019 23:05, michael.dirks at xaymar.com wrote:
From: Michael Fabian 'Xaymar' Dirks <info at xaymar.com>
Adds support for the pict_type field in AVFrame to amf_h264 and
amf_h265 simultaneously. This field is needed in cases where the
application wishes to override the frame type with another one, such
as forcefully inserting a key frame for chapter markers or similar.
Additionally this abuses AV_PICTURE_TYPE_S for marking Skip frames, a
special type of frame in AVC, SVC and HEVC which is a flag for the
decoder to repeat the last frame.
This patch has been tested with the small tool I wrote here:
https://github.com/Xaymar/ffmpeg-test. It works in both H264 and H265
and produces the correct sequence of IDR, I, P and Skip frames -
including the visual corruption that AMD's Skip frames have.
As there currently seems to be no active maintainer for amfenc files
(I don't find this surprising given the history of the AMD patch.)
Could you take over mantainership?
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel