<div class="gmail_quote">On Sun, May 13, 2012 at 8:02 AM, Byron Poland <span dir="ltr">&lt;<a href="mailto:wpoland@gmail.com" target="_blank">wpoland@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br><br>On Sunday, May 13, 2012, Raymond Wagner  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 5/12/2012 22:47, Byron Poland wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The bit rates are the main difference:   the Myth stream has an overall<br>
bitrate of 912 kbps vs 5866 kbps with plex.<br>
</blockquote>
<br>
MythTV does not set the profile, causing it to default to Baseline, and hard codes the level to 1.3.  At that configuration, video bitrate is artificially constrained to 786kbps rather than the 3000kbps you configured, and the maximum macroblock rates are abysmal.  The iPad 3 is capable of High 4.1, and the Plex encoding is Main 3.1.<br>



<br>
Edit this line to a more reasonable level, recompile, and see what happens.<br>
<br>
<a href="http://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmythtv/avformatwriter.cpp#n455" target="_blank">http://code.mythtv.org/cgit/<u></u>mythtv/tree/mythtv/libs/<u></u>libmythtv/avformatwriter.cpp#<u></u>n455</a><br>


<font color="#1155cc"><br></font>
</blockquote><div><br></div></div><div>Thanks, I&#39;ll give that a shot when I get some free time.  (its been a while sine i built myth from source) I assume if I change the &quot;13&quot; value to &quot;31&quot; that would change the baseline from 1.3 to 3.1?</div>


<div><br></div><div>Is there any logic behind the 1.3 setting that is hard coded now?  Even watching the streams in the jwplayer in the browser looks bad.  I would think the default should be higher, or at least configurable.<span></span></div>


</blockquote></div><br><div>Following up on this -  After changing the  &quot;c-&gt;level                 = 13;&quot; line to &quot;c-&gt;level                 = 31;&quot; in the avformatwritter.cpp file and recompiling, the baseline is now reporting 3.1 from myth and the HLS stream looks great on my iPad.</div>

<div><br></div><div>Is there any hope to getting this changed in the 0.26 or fixes/0.25?</div><div><br></div><div>Thanks.</div><div><br></div>