<br><br>On Wednesday, April 27, 2022, Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com">phylsmith2017@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Andrew, 10 million "mega" tests later, I finally figured it out.  Neither the chosen "Profile" or "tsmuxer" setting is getting reset to "Bluray" for profile and "no tsmuxer" for tsmuxer.  <br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">So what was happening is I loaded a file with 5:1 audio, chose LPCM and TSMUXER and the error message of: <br></div><div class="gmail_default" style="font-size:small">   <i> [pcm_bluray @ 0x7f002b5ff9c0] Specified channel layout '5.1' is not supported</i></div><div class="gmail_default" style="font-size:small">which is fine as long as I document that. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div></blockquote><div><br></div><div>actually, up to 7.1 should be supported.. ( I'll look into both issues (sorry for making so slow progress on this) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"> But then I would load Big Buck Bunny (also 5:1 audio) and since I saw that tsmuxer was not checked and lpcm was not highlighted, I thought is should work and it did not because both LPCM and TSMUXER will still "on".</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since I am not sure if I can get it right, could you provide the lines of code to change so that the profile and tsmuxer are reset to default "not on" values every time BD Render is chosen from the File pulldown?  Then I can do a final test and check into GIT.  Thanks, Phyllis<br></div></div></blockquote><div><br></div><div>moment, while on termux I need to multitask between terminal and browser carefully, otherwise one or both will (soft) reset themselves, erasing lates work i had there.. so see you in hopefully 10-15 mins... </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 26, 2022 at 7:22 AM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@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"><br><br>On Tuesday, April 26, 2022, Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com" target="_blank">phylsmith2017@gmail.com</a>> wrote:<br><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 style="font-size:small" class="gmail_default">Andrew, if instead of choosing lpcm as the profile with the 2 patches in, I choose the standard bluray, it works.</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div>note, even if file named like c file it actually diff.. </div><div><br></div><div>but both patches as send works for me as after full rebuild.. </div><div>/</div><div><br></div><div>if you (re)move those last two patches from tirdparty/src error (can't find codec..) disappears? </div></blockquote><div><span class="gmail_default" style="font-size:small">Yes.</span> </div></div></div></blockquote><div><br></div><div><br></div><div>do you have some other libavcodec headers installed? </div><div><br></div><div>what ldd bin/cin (assuming you run from src root for single user) says? </div><div><br></div><div><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 class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><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 class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div>but strange. you rebuild cin executable too? (because we link statically I typed  "touch cinelerra/new.C" and this forced rebuild of  this file and re-linking of executable...) </div></blockquote><div><span class="gmail_default" style="font-size:small">I do full rebuilds by running "make clean" which deletes all of the thirdparty libraries and then do a full rebuild with "./bld.sh".  Goes pretty fast on this laptop and it is not worth the aggravation to only rebuild changed itemsl</span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div>does ffmpeg from thirdparty lists pcm_bluray as supported encoder? </div></blockquote><div><span class="gmail_default" style="font-size:small">It must because what is checked into GIT, lets me choose the lpcm profile and on the bluray player, the info button clearly displays it as lpcm.<br></span></div><div></div></div></div></blockquote><div><br></div><div>try thirdparty/ffmpeg-4.4/ffmpeg -codecs | grep bluray</div><div><br></div></blockquote><div><span class="gmail_default" style="font-size:small"></span>[root@keystone cinelerra-5.1]# thirdparty/ffmpeg-4.4/ffmpeg -codecs | grep bluray<br><div dir="ltr"><div class="gmail_default" style="font-size:small"> DEAI.S pcm_bluray           PCM signed 16|20|24-bit big-endian for Blu-ray media</div></div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div></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 class="gmail_quote"><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><br></div><div><br></div><div><br></div><div><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><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 25, 2022 at 2:00 PM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@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"><br><br>On Monday, April 25, 2022, Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com" target="_blank">phylsmith2017@gmail.com</a>> wrote:<br><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 style="font-size:small">Andrew, applied ffmpeg-4.4.patch_12 and ffmpeg-4.4.patch99 and it compiles but fails with error message "open failed pcm_bluray:/tmp/bd_date_tme/<wbr>bd.m2ts" as seen in the attached png file.<br></div></div></blockquote><div><br></div><div>strange. </div><div><br></div><div>can you double-check patches applied correctly (by comparing pcm-bluenc.c I attached earlier and actual file in thirdparty/ffmpeg/libavcodec? )</div><div><br></div><div><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><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 24, 2022 at 9:18 AM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@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">Paul fixed bug preventing tsmuxer from recognizing our lpcm audio stream<div><br></div><div>I backshoed fix into our ffmpeg 4.4.. </div><div><br></div><div>I think having it all worked in monthly release quite important, even if names of patches kinda high... </div><div><br></div><div>also attached raw pcm-bluenc file as I hacked it, and fix/patch as downloaded from gitweb.. </div><div><br></div><div><a href="https://github.com/justdan96/tsMuxer/issues/580" target="_blank">https://github.com/justdan96/<wbr>tsMuxer/issues/580</a></div><div><br></div><div><a href="https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/037fa0437d2aead40c1f786c6ad4d343afe0546d..058a1ff9b4cdbd2e1a93acc8bf0365e7d01cc9f4:/libavcodec/pcm-blurayenc.c" target="_blank">https://git.ffmpeg.org/gitweb/<wbr>ffmpeg.git/blobdiff/<wbr>037fa0437d2aead40c1f786c6ad4d3<wbr>43afe0546d..<wbr>058a1ff9b4cdbd2e1a93acc8bf0365<wbr>e7d01cc9f4:/libavcodec/pcm-<wbr>blurayenc.c</a></div><div><br></div><div><a href="https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/93dfb6afddb278218da7f8c696bf35ede2ba05aa" target="_blank">https://git.ffmpeg.org/gitweb/<wbr>ffmpeg.git/commit/<wbr>93dfb6afddb278218da7f8c696bf35<wbr>ede2ba05aa</a></div>
</blockquote></div>
</blockquote>
</blockquote></div>
</blockquote>
</blockquote></div></div>
</blockquote>
</blockquote></div></div>
</blockquote>
</blockquote></div>
</blockquote>