<div dir="ltr"><div>Hi Adam<br><br></div><div>May I ask why you went with 720x406 resolution?<br><br></div><div>I reproduced your good results with ffmepg, however with the following 2-pass commandline I was able to shave off an additional 9-10% filesize by collapsing the audio to mono (I also used 640x360 resolution but this tweak has only small impact on the filesize)<br></div><div><br>$ ffmpeg -y -hide_banner -i 5HMMfiyszjo.mp4 -ac 1 -b:a 40k -c:v libx264 -profile:v baseline -level 3.0 -vf "scale=640x360" -r 15 -b:v 10k -maxrate 15k -bufsize 512k -pass 1 -f mp4 /dev/null && ffmpeg -y -hide_banner -i 5HMMfiyszjo.mp4 -ac 1 -b:a 40k -c:v libx264 -profile:v baseline -level 3.0 -vf "scale=640x360" -r 15 -b:v 10k -maxrate 15k -bufsize 512k -pass 2 -f mp4 5HMMfiyszjo.compress.mp4<br><br><br></div>Sean<br><br>P.S. I'm living in NYC now<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 30, 2017 at 2:19 PM, Adam Holt <span dir="ltr"><<a href="mailto:holt@laptop.org" target="_blank">holt@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can folks plz evaluate the quality of those videos on the left, compared to the
originals on the right? Note that he/we did not compress the audio channel, which should remain in very high quality stereo for now. We've begun by translating KA Lite's 8732 English videos, most all of which (I believe!) originate from Khan Academy itself -- making tight compression attractive in several communities that use SD Cards rather than hard disk drives for their digital libraries (despite the tradeoffs you will see below!)<br><br>Constructive criticism would be really great, as this
is progressing fast, and QA is *always* the hardest part. e.g. What
specific flaws do you see in any video on the LEFT, that are simply unacceptable?? Some lossiness (degradation) cannot be avoided of course! Still, teacher's "fieldback" would be especially interesting here (even as new many usage patterns are evolving on small/mobile screens, outside of schools especially!!) as I noticed widely varying compression rate across the board, across
the 1st 10 videos compressed he compressed here:<br><ol><li><a href="http://unleashkids.org/%7Eholt/10new/5HMMfiyszjo.mp4" target="_blank">5HMMfiyszjo.mp4</a> is 38.7% of 6.9M <a href="http://unleashkids.org/%7Eholt/10old/5HMMfiyszjo.mp4" target="_blank">5HMMfiyszjo.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/91wF7Ef_k8Y.mp4" target="_blank">91wF7Ef_k8Y.mp4</a> is <span style="background-color:rgb(255,0,0)">26.6%</span> of 17M <a href="http://unleashkids.org/%7Eholt/10old/91wF7Ef_k8Y.mp4" target="_blank">91wF7Ef_k8Y.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/DNoDJlB0ygU.mp4" target="_blank">DNoDJlB0ygU.mp4</a> is 54.2% of 2.8M <a href="http://unleashkids.org/%7Eholt/10old/DNoDJlB0ygU.mp4" target="_blank">DNoDJlB0ygU.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/KNklNvGof8o.mp4" target="_blank">KNklNvGof8o.mp4</a> is <span style="background-color:rgb(255,0,0)">29.0%</span> of 15M <a href="http://unleashkids.org/%7Eholt/10old/KNklNvGof8o.mp4" target="_blank">KNklNvGof8o.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/LDyMYyiAsQs.mp4" target="_blank">LDyMYyiAsQs.mp4</a><span class="m_-2184064059934591689gmail-m_3339353189019733449gmail-"> </span>is <span style="background-color:rgb(255,0,255)">93.8%</span> of 8.4M <a href="http://unleashkids.org/%7Eholt/10old/LDyMYyiAsQs.mp4" target="_blank">LDyMYyiAsQs.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/bcCLKACsYJ0.mp4" target="_blank">bcCLKACsYJ0.mp4</a> is 49.5% of 6.1M <a href="http://unleashkids.org/%7Eholt/10old/bcCLKACsYJ0.mp4" target="_blank">bcCLKACsYJ0.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/do8WhQaAyso.mp4" target="_blank">do8WhQaAyso.mp4</a> is is <span style="background-color:rgb(224,102,102)">33.5%</span> of 25M <a href="http://unleashkids.org/%7Eholt/10old/do8WhQaAyso.mp4" target="_blank">do8WhQaAyso.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/iPROoc_o0p8.mp4" target="_blank">iPROoc_o0p8.mp4</a> is <span style="background-color:rgb(224,102,102)">32.7%</span> of 10M <a href="http://unleashkids.org/%7Eholt/10old/iPROoc_o0p8.mp4" target="_blank">iPROoc_o0p8.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/kkrF9X6Fycg.mp4" target="_blank">kkrF9X6Fycg.mp4</a> is 40.0% of 3.5M <a href="http://unleashkids.org/%7Eholt/10old/kkrF9X6Fycg.mp4" target="_blank">kkrF9X6Fycg.mp4</a></li><li><a href="http://unleashkids.org/%7Eholt/10new/meibWcbGqt4.mp4" target="_blank">meibWcbGqt4.mp4</a> is 55.2% of 13M <a href="http://unleashkids.org/%7Eholt/10old/meibWcbGqt4.mp4" target="_blank">meibWcbGqt4.mp4</a></li></ol><p>AVG:
compressed file is 41.0% of ORIGINAL, suggesting the 236GB of English
total may end up around 97GB, perfect (if the quality suffices!)</p><p>Thanks All !!<br></p><p>Challenge: if you do have a chance to express your feedback after viewing several of the videos (new ones, on the LEFT) please also try your device in landscape mode vs. portrait mode ...to see if that makes any difference to the perceived quality/experience of the vid?!</p><p><br></p><p>PS long-term we're aware a further transcoding to WebM and/or OGV is also necessary for compatibility on XO laptops and truly free OS's everywhere, as such Emmanuel Engelhart (founder of Kiwix.org) may in fact be assisting us+all here in coming months (:<br></p></div>
<br>______________________________<wbr>_________________<br>
Server-devel mailing list<br>
<a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/server-devel" rel="noreferrer" target="_blank">http://lists.laptop.org/<wbr>listinfo/server-devel</a><br>
<br></blockquote></div><br></div>