Default, with no variations having been tested, Bluray creation works and plays on Samsung and LG TV connected devices just fine.  This is after I patched with 0005-Fix-audio-encoding-with-ffmpeg-7.0.patch and I had added the attached patch to thirdparty/src/ffmpeg-7.0.patch3 (which I re-created based on 6.1 and although it looks like it should be the same, I have no idea if it is even correct).

However, I "think" Andrew already knows that DVD creation fails:
virtual int FileAC3::open_file(int, int):
FileAC3::open_file failed to open codec.
FileAC3::encode_flush: encode failed: Invalid argument

On Sun, Apr 7, 2024 at 10:57 AM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:


вс, 7 апр. 2024 г., 19:12 Phyllis Smith <phylsmith2017@gmail.com>:
I attached ffmpeg-7.0.patch0, but maybe we do not need anymore?? Andrew??


yes, patch0 was for termux, but I just added ffmpeg configure option into termux.bld so patch is not needed anymore ...


bigger problem I can't make ac3 encoding to work, it does not crash but file is empty. And copying context by specialized av_  function just crashes it. So I am a bit stuck on this one. 

> Ah, even if most patches apart from 3, 4 and D still apply encoding is busted :/
I have tried three encodings and they work normally (h265-Hi;
DNxHR-HQX and AV1.svt).