<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks mate, that was it... sort of.</div><div><br></div><div>I added '-threads 0' and that made all four cores to be utilized.</div><div>At first I realized that there is a "multiple threading" checkbox on myth export and used</div><div>that . But it adds '-threads 2' to the command so it only uses two cores.</div><div><br></div><div>With '-threads 0' on both passes it only took 1.5 hours for the first pass and 1 hour to for the second pass.</div><div>Still not as fast as Airvideo but a heck of a lot faster than before.</div><div><br></div><div>The only things I noticed are:</div><div>- The 1 GB RAM was being used with the SWAP going to 200MB or so. I upped the memory to 2GB and it still used it all but did not use swap.</div><div>- Even though all 4 cores are being used, none are used more than 80% and there is always one that </div><div>oscillates between 30 and 80%. With Airvideo all 4 cores are pretty much pegged at 80% the whole time.</div><div>- I am guessing that the CPU does not go to 100% because of I/O bottlenecks. It could be that the 500GB IDE HDD /controller combo</div><div>just can't keep up with ffmpeg using all four cores.</div><div>- The output file is twice as big as Airvideo's so there is definetely a mismatch on the settings. I need to investigate that.</div><div>- I realized that myth export uses a two pass approach whilst Airvideo uses a one pass approach</div><div>(because the output file starts to fill up immediately). Doing some reading on the ffmpeg lit it says that a two pass</div><div>approach is required with a Variable Bit Rate and in general is recommended for quality output.</div><div>I reckon the quality from airvideo's one pass is more than good for the ipad so I will try hacking the script (time permittiing) to do a one pass only</div><div>and compare the conversion time.</div><div><br></div><div><br></div><div>Cheers and thanks again.</div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Diego </span></font></div></span></span></span></span></span></div><br><div><div>On 01/09/2010, at 2:41 AM, John Baab wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Tue, Aug 31, 2010 at 4:36 AM, Diego Torres <<a href="mailto:torres.diego@ttcpl.com.au">torres.diego@ttcpl.com.au</a>> wrote:<br><font class="Apple-style-span" color="#006312"><br></font>Video conversion is a slow process in general, especially if you are<br>using h.264. You can try adding "-threads 0" to your ffmpeg line in<br>the config, which should make ffmpeg attempt to automagically detect<br>cpu settings.<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br></div></blockquote></div><br></body></html>