<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 7, 2024 at 9:34 PM Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com">phylsmith2017@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:small">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<br></div></div></div></blockquote><div><br></div><div>for fileac3.C I tried to add line <br></div><div><br></div><div>av_channel_layout_copy(&codec_context->ch_layout, &ch_la<br>yout);</div><div><br></div><div>in FileAC3::open_file(int rd, int wr) function, so it reads</div><div><br></div><div> av_channel_layout_copy(&codec_context->ch_layout, &ch_la<br>yout);<br> codec_context->sample_fmt = codec->sample_fmts[0];<br> SwrContext *resample_context = NULL;<br> swr_alloc_set_opts2(&resample_context,<br></div><div><br></div><div>but this does not lead to ac3 working. I'll try to ask on libav maillist<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:small"></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 7, 2024 at 12:28 PM Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com" target="_blank">gamberucci.andrea@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Compilation with all the patches went well. I loaded a m2ts file with<br>
many audio channels and tried (from root) to do a BD render. I left<br>
all settings at default. At the end of the render I got a crash (no<br>
dump).<br>
In the terminal I have these lines:<br>
<br>
</blockquote></div></div>
</blockquote></div></div>