[MEncoder-users] [PATCH] ve_lavc: Fix build against newer FFmpeg versions

Alexander Strasser eclipse7 at gmx.net
Tue May 11 19:20:02 EEST 2021


Hi all!

Together with Reimar's muxer_lavf patch[1], the attached patch fixes
the currently broken mencoder build for me.

Please review carefully and test if you can.

The patch is a bit bigger than I would like it to be, but that's
just because there so many things in ve_lavc affected by the
recent lavc bump to major 59.

Locally I have split it into 3 commit
1. use dict entries for lavcopts that used to be set on
   deprecated codec context fields
2. rewrite psnr option to use lavc packet side data
3. use avcodec_send_frame/avcodec_receive_packet

But I have sent this as a single patch to encourage testing.

Greetings,
  Alexander

1. "[MPlayer-dev-eng] [PATCH] muxer_lavf: fix compilation with newer FFmpeg.":
   https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2021-May/073989.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ve_lavc--port-to-lavc59.patch
Type: text/x-diff
Size: 12479 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20210511/ed90a0f3/attachment.patch>


More information about the MEncoder-users mailing list