[FFmpeg-devel] [PATCH 1/2 v4] avcodec/encode: restructure the core encoding code

Michael Niedermayer michael at niedermayer.cc
Tue May 26 15:08:18 EEST 2020


On Mon, May 25, 2020 at 01:59:16PM -0300, James Almer wrote:
> This commit follows the same logic as 061a0c14bb, but for the encode API: The
> new public encoding API will no longer be a wrapper around the old deprecated
> one, and the internal API used by the encoders now consists of a single
> receive_packet() callback that pulls frames as required.
> 
> amf encoders adapted by James Almer
> librav1e encoder adapted by James Almer
> nvidia encoders adapted by James Almer
> MediaFoundation encoders adapted by James Almer
> vaapi encoders adapted by Linjie Fu
> v4l2_m2m encoders adapted by Andriy Gelman
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> Rebased the old set didn't apply anymore, and now including all the changes to
> the affected encoders, so it's ready to commit, but preferably after 4.3 is
> released.

this breaks FFV1 2 pass encoding

random testcase:
./ffmpeg -y  -i mm-short.mpg -an -vcodec ffv1 -strict -2 -slices 4 -t 1 -coder 1 -level 2 -context 1 -pass 1 ffv1.avi
the problem is with the 2pass log file, it is empty

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200526/ea17f913/attachment.sig>


More information about the ffmpeg-devel mailing list