[Cin] ffmpeg 7.0 api changes

Andrew Randrianasulu randrianasulu at gmail.com
Sun Apr 7 20:30:32 CEST 2024


On Sun, Apr 7, 2024 at 9:34 PM Phyllis Smith <phylsmith2017 at gmail.com>
wrote:

> Andrea, oops, I guess I had better try another video as BD Render did not
> crash for me, but I always use the same small file with only 2 channels.
> Your terminal output looks correct though!  More testing !!  Phyllis
>

for fileac3.C I tried to add line

av_channel_layout_copy(&codec_context->ch_layout, &ch_la
yout);

in FileAC3::open_file(int rd, int wr) function, so it reads

 av_channel_layout_copy(&codec_context->ch_layout, &ch_la
yout);
                        codec_context->sample_fmt = codec->sample_fmts[0];
                        SwrContext *resample_context = NULL;
                        swr_alloc_set_opts2(&resample_context,

but this does not lead to ac3 working. I'll try to ask on libav maillist


>
> On Sun, Apr 7, 2024 at 12:28 PM Andrea paz <gamberucci.andrea at gmail.com>
> wrote:
>
>> Compilation with all the patches went well. I loaded a m2ts file with
>> many audio channels and tried (from root) to do a BD render. I left
>> all settings at default. At the end of the render I got a crash (no
>> dump).
>> In the terminal I have these lines:
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240407/425ce158/attachment.htm>


More information about the Cin mailing list