<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 18, 2015 at 1:31 PM, Matt S. <span dir="ltr"><<a href="mailto:skd5aner@gmail.com" target="_blank">skd5aner@gmail.com</a>></span> wrote<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"><br><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Apr 13, 2015 at 11:51 PM, Frank Phillips <span dir="ltr"><<a href="mailto:frankalso@gmail.com" target="_blank">frankalso@gmail.com</a>></span> 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><div><p dir="ltr">On Apr 13, 2015 10:36 PM, "Bill Meek" <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>> wrote:<br></p><p>
<snip><br></p><p dir="ltr">
> Unfortunately (for others), I run 0.28-pre and record nearly everything in<br>
> HD. And that works both with HLS and VLC. Between 0.28-pre, 0.27, SD and HD,<br>
> there are (obviously) 8 test cases. 3 are failing and in 2 of those cases,<br>
> mythtranscode is dropping 10's of thousands of "Audio stream changed" errors.</p>
</div></div><p dir="ltr">Good news:<br>
Today I bisected the 0.27 transcode errors. It's a compound problem caused by two commits pre-0.27.4.</p><span>
<p dir="ltr"><br></p></span></blockquote></div></div></div>What commits where they?  I'm having this same error and all my HLS transcodes are failing to playback because of this?  Have you "fixed" this issue?  Is there a trac ticket for this?</div><br></div></blockquote><div><br>See <a href="https://code.mythtv.org/trac/ticket/12430">https://code.mythtv.org/trac/ticket/12430</a><br><br></div></div>The commits touch ProcessAudioPacket and SetupAudioStream in avformatdecoder.cpp. The transcode log is full of "Audio stream changed" because ctx->channels = 6 and audioOut.channels = 2. That's about as far as I could get, I'm not a coder.<br><br>Looking at the history of avformatdecoder.cpp in master could lead to some fixes: <a href="https://github.com/MythTV/mythtv/commits/master/mythtv/libs/libmythtv/avformatdecoder.cpp">https://github.com/MythTV/mythtv/commits/master/mythtv/libs/libmythtv/avformatdecoder.cpp</a><br></div><div class="gmail_extra">I tried 3.154.07d4b2c + 77fc304 + f6bddc18 but got garbled audio, eliminating the second problem.<br></div></div>