<div class="gmail_quote">On Wed, May 16, 2012 at 1:09 PM, Byron Poland <span dir="ltr"><<a href="mailto:wpoland@gmail.com" target="_blank">wpoland@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im">On Mon, May 14, 2012 at 5:50 PM, Chris Pinkham <span dir="ltr"><<a href="mailto:cpinkham@bc2va.org" target="_blank">cpinkham@bc2va.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>* On Sun May 13, 2012 at 10:28:54PM -0400, Byron Poland wrote:<br>
> Following up on this - After changing the "c->level =<br>
> 13;" line to "c->level = 31;" in the avformatwritter.cpp<br>
> file and recompiling, the baseline is now reporting 3.1 from myth and the<br>
> HLS stream looks great on my iPad.<br>
><br>
> Is there any hope to getting this changed in the 0.26 or fixes/0.25?<br>
<br>
</div>Can you test the following patch?<br>
<br>
<a href="http://pastebin.ca/2148415" target="_blank">http://pastebin.ca/2148415</a><br>
<br>
Something will definitely go into 0.26, but to get into fixes/0.25, it<br>
will need to be pretty non-invasive, so checking for low resolution and<br>
bitrate as in this patch should be pretty safe.<br>
<br>
This is based on the presets in the ffpresets directory and should use<br>
the following in this order:<br>
<br>
- Main 4.1 for anything with a width of over 1000 pixels (ie, iPad, etc.)<br>
- Main 3.1 for anything with a width of over 960 pixels (ie, iPhone 4/4s)<br>
- Baseline 1.3 for anything <= 320x240 and 768K bitrate<br>
- Baseline 3.0 for anything else<br>
<br>
This is a quick patch, and hasn't been tested on any of my devices yet<br>
(iPhone 3/3G, iPod Touch 2g, Android Tablet w/ Honeycomb). Perhaps this<br>
will fix my Android issue, I'll try to test that tonight.<br>
<br>
--<br>
Chris</blockquote><div><br></div><div><br></div></div><div>Thanks for the patch.</div><div><br></div><div>I was able to apply this and playing around with a few tests, and running the ts files through mediainfo.. shows the stream doing pretty much as you describe... Baseline based on the chosen size.</div>
</div></blockquote><div><br></div><div>Has anything along these lines been committed to -fixes or Master? I'm not really in a position to start building my own packages right now.</div><div><br></div><div>- Chris </div>
</div>