<br><br>On Tuesday, April 19, 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">Forgot to add that this patch also applied and result checked in even though not yet functional:<br></div><div class="gmail_default" style="font-size:small">   0012-truehd-experimental-<wbr>bluray-profile.patch</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 18, 2022 at 6:21 PM Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com" target="_blank">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 style="font-size:small" class="gmail_default">Checked into GIT from megapile_8 the patches related to creating Bluray media by Andrew:</div><div style="font-size:small" class="gmail_default"><br></div>0005-EXPERIMENT-update-<wbr>bdwrite-for-lpcm-hevc.patch<br>0006-EXPERIMENTAL-add-<wbr>variable-chapter-interval-to-<wbr>bdwrit.patch<br>0007-EXPERIMENTAL-add-bd_<wbr>profile-array-to-bdcreate.C-<wbr>so-i.patch<br>0008-EXPERIMENTAL-bdcreate-<wbr>add-m2ts-profiles-part-1.patch<br>0009-Fix-bdcreate.C-layout.<wbr>patch<br><div>0010-EXPERIMENTAL-attempt-to-<wbr>get-value-from-popuptextbox.<wbr>patch0012-truehd-experimental-<wbr>bluray-profile.patch<br>0013-EXPERIMENTAL-add-truehd-<wbr>audio-profile-for-bdcreate.C.<wbr>patch<br>0014-EXPERIMENTAL-add-tsmuxer-<wbr>checkbox.patch<br>0015-EXPERIMENTAL-fix-layout-<wbr>in-bdcreate-after-tsmuxer-ch.<wbr>patch<br>0016-NOT-YET.patch<br>0017-EXPERIMENTAL-shell-<wbr>script-run-tsmuxer-<wbr>conditionally-.patch<br>0018-Attempt-at-fixing-<wbr>bdwrite-stream_type-coding_<wbr>type-co.patch<br>0019-EXPERIMENTAL-attempt-at-<wbr>fixing-bdwrite-on-Android-af.<wbr>patch<br>0020-EXPERIMENTAL-real-fix-<wbr>for-bdwrite.patch<br>0021-EXPERIMENTAL-try-to-add-<wbr>lpcm-to-tsmuxer-meta-file.<wbr>patch<br>0022-EXPERIMENTAL-really-fix-<wbr>audio-names-fir-tsmuxer-meta.<wbr>patch<span class="gmail_default" style="font-size:small"> <br></span></div><div><span class="gmail_default" style="font-size:small">0037-freebsd-in-bdcreate-<wbr>bdwrite.patch</span></div><div><span class="gmail_default" style="font-size:small">  and from megapile_10:<br></span></div><div><span class="gmail_default" style="font-size:small"></span>0077-Better-layout-in-<wbr>bdcreate.C-after-my-changes.<wbr>patch</div><div><br></div><div><div style="font-size:small" class="gmail_default">Already in from a previous checkin as related to Bluray from megapile_8 were:</div><div style="font-size:small" class="gmail_default"></div>0001-ffmpeg-4.4-bluray-lpcm-<wbr>encoder.patch<br>0002-Fix-ffmpeg-4.4-bluray-<wbr>lpcm-patch-for-5.1.patch<br>0003-Add-simple-m2ts-lpcm-<wbr>profile.patch</div><div>0011-Rename-m2ts_pcm.m2ts-to-<wbr>bluray_lpcm.m2ts.patch</div><div><div style="font-size:small" class="gmail_default"></div><div style="font-size:small" class="gmail_default">But because I forgot to test    0004-Improve-truehd-decoder-<wbr>encoder-from-ffmpeg.git.patch <wbr>  the choice in bdcreate.C for truehd (line 865) was commented out until I can test a smaller set tomorrow.  Although <b>I am confused why the following lines of code (around line 70) in bdcreate.C do not include truehd as an option???</b>  I looked in megapile_10 to see if I missed a related patch but did not see anything.<br></div><div style="font-size:small" class="gmail_default"><span style="font-family:monospace">   static struct bd_profile {<br>        const char *name;<br>} bd_profiles[] = {<br>        {"bluray.m2ts"},<br>        {"bluray_lpcm.m2ts"},<br>};</span><br></div><div style="font-size:small" class="gmail_default"></div></div></div></blockquote></div></blockquote><div><br></div><div><br></div><div>I think I just did things a little bit different,  so may be  this piece if code no longer needed -  need to look again (just wake up) </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 dir="ltr"><div><div style="font-size:small" class="gmail_default"></div><br></div><div><div style="font-size:small" class="gmail_default">and around line 350 (and maybe other places too?):</div><div style="font-size:small" class="gmail_default">        <span style="font-family:monospace">fprintf(fp,"MUXOPT --blu-ray --hdmv-descriptors\n");<br>        fprintf(fp,"V_MPEG4/ISO/AVC, bd.m2ts, track=4113\n");<br>        if(!strcmp(use_profile, "bluray.m2ts"))<br>        fprintf(fp,"A_AC3, bd.m2ts, track=4352\n");<br>        if(!strcmp(use_profile, "bluray_lpcm.m2ts"))<br>        fprintf(fp,"A_LPCM, bd.m2ts, track=4352\n");<br>        fprintf(fp,"\n");<br>        fclose(fp);</span><br></div><div style="font-size:small" class="gmail_default"></div></div></div></blockquote></div></blockquote><div><br></div><div><br></div><div><br></div><div>yes, not yet for tsmuxer - not quite sure how it works there (latery I read truehd must come with ac3 'core' embedded, not sure if ffmpeg can output this in one pass? - <a href="https://forum.doom9.org/showthread.php?t=176668&page=61">https://forum.doom9.org/showthread.php?t=176668&page=61</a> - comment 1202 and around...) </div><div><br></div><div>it will be very interesting to hear from your experiment! </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 dir="ltr"><div><div style="font-size:small" class="gmail_default"></div><div style="font-size:small" class="gmail_default"></div><br></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">oh YES, you are right, I swapped those unintentionally! <div><br></div><div>probably explains your bug with chapters? <br></div></blockquote><div><span class="gmail_default" style="font-size:small">YOU ARE RIGHT ! now chapters work (hopefully you understand why it takes me so long to test and check in changes as I do not want to add problems -- the oxen is slow, but the earth is patient).</span></div><div></div></div></div></blockquote></div></blockquote><div><br></div><div><br></div><div>yes, very big thanks for  NOT rushing things out! </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 dir="ltr"><div class="gmail_quote"><div></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small">"lpcm" works too and when I press the "info" button on the remote control on the LG bluray player, it clearly shows it is lpcm -- this not working was my mistake due to not getting the current GIT head.<br></span></div><div></div></div></div></blockquote></div></blockquote><div><br></div><div>\0/ </div>