<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 1/09/2008, at 8:00 PM, Graeme Woollett wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>After I included the cp directshow came to life :-)<br>TV3 is now watchable but large screen changes/movement are not fluid.<br><br>dhsowserver CPU usage varies a lot, between 90and 120%/40% idle for TV3 <br>with the "normal" playback profile<br><br>TV1&2 are around 70-80% with Piha rescue, this prog is not HD though<br><br>front end is crashing reasonably frequently with the following-<br>2008-09-01 19:00:37.711 AFD: Found DirectShow filter<br>2008-09-01 19:00:37.712 AFD: Opened codec 0xa8f35c30, id(H264) type(Video)<br>2008-09-01 19:00:37.712 AFD: codec AAC_LATM has 2 channels<br>2008-09-01 19:00:37.712 AFD Error: Could not find decoder for codec <br>(AAC_LATM), ignoring.<br>2008-09-01 19:00:37.712 AFD: codec AC3 has 6 channels<br>2008-09-01 19:00:37.712 AFD: Opened codec 0xa8faae30, id(AC3) type(Audio)<br>2008-09-01 19:00:39.054 NVP: Prebuffer wait timed out 10 times.<br>2008-09-01 19:10:14.446 Mixer unable to find control Master 1<br>2008-09-01 19:10:14.446 mixer unable to find control Master 1<br>Segmentation fault<br><br>myth@mercury:~$ Parent process 21839 died unexpectedly<br><br>the aac_Latm error I guess is largely due to a fix in avformat.cpp that <br>allowed it to compile cleanly<br><br>2008-09-01 19:49:05.089 AFD: Opened codec 0xa6411f80, id(H264) type(Video)<br>2008-09-01 19:49:05.089 AFD: codec AAC_LATM has 2 channels<br>2008-09-01 19:49:05.089 AFD Error: Could not find decoder for codec <br>(AAC_LATM), ignoring.<br>2008-09-01 19:49:05.089 AFD: Opened codec 0xa64b40a0, id(DVB_SUBTITLE) <br>type(Subtitle)<br>2008-09-01 19:49:05.089 NVP: Disabling Audio, params(0,-1,-1)<br>2008-09-01 19:49:41.475 NVP: prebuffering pause<br>2008-09-01 19:50:05.244 NVP: prebuffering pause<br><br><br>On TV1 and 2 with this build I don't have any sound, TV3 DVB-T and DVB-S <br>are OK<br><br>The directshow build is less stable than others, I think I'll need to <br>stick with DVB-S a little longer or the WAF will take a hammering...<br><br></div></blockquote><br></div><div><div>New tests with CoreAVC 1.7. CPU is 3600+ running in performance mode of 2GHz. and CPU scaling disabled</div><div><br></div><div><font class="Apple-style-span" face="'Courier New'">Channel</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">resolution</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">dshowfilter</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">mythfrontend</font></div><div><font class="Apple-style-span" face="'Courier New'">freeview|HD</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">720p</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">78</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">20</font></div><div><font class="Apple-style-span" face="'Courier New'">TV One</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">720p</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">84</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">22</font></div><div><font class="Apple-style-span" face="'Courier New'">TV 2</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">720p</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">75</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">22</font></div><div><font class="Apple-style-span" face="'Courier New'">TV 3</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">1080i</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">150</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">22</font></div><div><font class="Apple-style-span" face="'Courier New'">C4</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">576i</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">34</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">7</font></div><div><font class="Apple-style-span" face="'Courier New'">TVNZ 6</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">576i</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">30</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">7</font></div><div><font class="Apple-style-span" face="'Courier New'">TVNZ 7</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">576i</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">21</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">7</font></div><div><br></div><div>Some odd issues when switching between 720p and interlaced channels, but otherwise load is ok even on TV3.</div><div><br></div><div>The mythfrontend load is reasonably reliable.</div><div><br></div><div>I also tried tweaking the de-blocking settings</div><div><br></div><div><div>~/bin/registercodec -r $REGISTRY -k \</div><div>"HKLM\\Software\\IniFileMapping\\CoreAVC\\Settings\\C:\\coreavc.ini" \</div><div>-v "deblock=9"</div><div><br></div><div>This appeared to reduce the CPU load by a few more percent.</div><div><br></div><div>Unlike Graeme I managed to get working audio on all of the channels.</div><div><br></div><div>Not really a bullet proof solution yet. Load is a lot better than pure ffmpeg thanks to the CPU threading support, but I have a feeling if ffmpeg gets better multi-core support it will beat CoreAVC.</div><div><br></div><div>Sadly the quality isn't there though. The Interlaced channels look a little bit scrappy.</div><div><br></div><div>I think we need to hold out for better threading support in ffmpeg, or the GSoC performance improvements using the GPU to accelerate the decode.</div><div><br></div><div>Steve</div></div></div><div><br></div><div><br></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Steven Ellis - Technical Director<br>OpenMedia Limited<br>email - <a href="mailto:steven@openmedia.co.nz">steven@openmedia.co.nz</a><br>website - <a href="http://www.openmedia.co.nz/">http://www.openmedia.co.nz</a><br></div></div></span> </div><br></body></html>