home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MediaPortal Audio renderer - better video playback quality
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="tourettes" data-source="post: 637138" data-attributes="member: 10858"><p><strong>version 1 - based on SVN revision 26064</strong></p><p></p><p>Initial version.</p><p></p><p><strong>version 2 - based on SVN revision 26095</strong></p><p></p><p>First version with WASAPI event driven mode in use</p><p></p><p>Major changes:</p><p></p><ul> <li data-xf-list-type="ul"> WASAPI is now using event driven mode (pull mode) </li> <li data-xf-list-type="ul"> Added option to specify WASAPI device period (buffer size)</li> <li data-xf-list-type="ul"> Improved lip sync with WASAPI</li> <li data-xf-list-type="ul"> Refresh rate estimator improved</li> <li data-xf-list-type="ul"> Render stats display rationalised</li> <li data-xf-list-type="ul"> Thread pausing logic modified (Owlsroost - please add more info if needed <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />)</li> <li data-xf-list-type="ul"> Improved handling of DVD looping video menus and video fps > display fps situations</li> </ul><p></p><p></p><p><strong>version 3 - based on SVN revision 26100</strong></p><p></p><p>Minor patch release.</p><p></p><ul> <li data-xf-list-type="ul"> Fixed A/V sync going of when stream contains corrupted / dropped data (live tv / recorded tv most likely)</li> <li data-xf-list-type="ul"> Fixed audio getting into looped state when no new data is available (for example signal lost in TV for a brief moment) - now only silence will get rendered in such cases</li> <li data-xf-list-type="ul"> Improved handling of DVD looping video menus (Astronaut Farmer's main menu is now working 100% ok)</li> </ul><p></p><p><strong>version 4 - based on SVN revision 26101</strong></p><p></p><p>Minor patch release.</p><p></p><p></p><ul> <li data-xf-list-type="ul"> Added registry setting for sample time logging</li> <li data-xf-list-type="ul"> Fixed dropped data detection after seeking</li> </ul><p></p><p><strong>version 5 - based on SVN revision 26107</strong></p><p></p><p>Minor patch release.</p><p></p><p></p><ul> <li data-xf-list-type="ul"> Audio render will not render the few last seconds of the audio (depending on the video container / muxing parameters used) - fixed in SVN, will be included in the next version</li> <li data-xf-list-type="ul"> FLAC audio in MKV could cause buffer underruns when time stretching is enabled</li> <li data-xf-list-type="ul"> Disabled audio clock fine tuning when refresh rate and source material doesn't match 1:1, 1:2 or 1:3 (even after possible speed up / slow down)</li> </ul><p></p><p></p><p><strong>version 6 - based on SVN revision 26202</strong></p><p></p><p>First test relase with following highlights:</p><p></p><ul> <li data-xf-list-type="ul"> Multichannel support</li> <li data-xf-list-type="ul"> On-the-fly AC3 encoding for SPDIF users</li> <li data-xf-list-type="ul"> Support for non 16 bit samples (24 bit integer, 32 bit integer and 32 bit float)</li> <li data-xf-list-type="ul"> Improved the logging for debugging - log more stream events, used audio decoder etc.</li> </ul><p></p><p>Fixes:</p><p></p><ul> <li data-xf-list-type="ul"> When buffer underrun happens don't discard the available data</li> <li data-xf-list-type="ul"> WASAPI shared mode was not working</li> <li data-xf-list-type="ul"> Missing support for the device latency (for A/V sync) - implemented for WASAPI only</li> <li data-xf-list-type="ul"> Improved A/V sync for pause / seeking / start of playback</li> <li data-xf-list-type="ul"> Fixed some wrong logging of dropped audio samples</li> <li data-xf-list-type="ul"> Fixed device period instructions - logging change only</li> <li data-xf-list-type="ul"> Added logging for the default WASAPI audio device when it is used</li> </ul><p></p><p><strong>version 7 - based on SVN revision 26225</strong></p><p></p><p>Minor patch release.</p><p></p><p>Fixes:</p><p></p><ul> <li data-xf-list-type="ul"> DVD menus can trigger main movie to nave no sound and then hang (WASAPI only)</li> <li data-xf-list-type="ul"> Removed the audio buffer flush when pausing audio, this allows audio to continue sooner after the resume is done. There is still small glitch - amount is equal to the audio device's latency</li> <li data-xf-list-type="ul"> Introduced preroll samples. This will remove the need for dropping the first audio samples to match the device latency</li> <li data-xf-list-type="ul"> Reduced amount of the audio samples that are dropped when discontinuity in the stream is detected (valid samples from "past" are renderer)</li> </ul><p></p><p><strong>version 8 - based on SVN revision 26250</strong></p><p></p><p>Minor patch release.</p><p></p><p>Fixes:</p><p></p><ul> <li data-xf-list-type="ul"> Aligned WASAPI buffer to match AC3 frame lenght when AC3 encoding is enabled - should reduce noise when zapping / seeking</li> <li data-xf-list-type="ul"> Fixed Last WASAPI buffer before seeking / stop / pause getting cut </li> <li data-xf-list-type="ul"> Fixed a memory / resource leak </li> <li data-xf-list-type="ul"> Added logging for sample allocator failures (during creation)</li> <li data-xf-list-type="ul"> Fixed audio adjustment to be thread safe - earlier it was possible that audio channels would have been out of phase in some cases when speed adjustment was done</li> <li data-xf-list-type="ul"> "Fixed wrong caching of alphablend" changes from mr_hipp incorporated. Render stats re-positioned so they're not covered by the timeline bar.</li> </ul><p></p><p></p><p><strong>version 9 - based on SVN revision 26274</strong></p><p></p><p>Test relase with following highlight:</p><p></p><ul> <li data-xf-list-type="ul"> Added support for WASAPI polling based buffer filling (should help with HW / drivers that are broken - NVIDIA, Xonar)</li> </ul><p></p><p>Fixes:</p><p></p><ul> <li data-xf-list-type="ul"> MMCSS thread boost was not done for the rendering thread</li> <li data-xf-list-type="ul"> Added OS version detection - WASAPI is not even tried to be enabled on Windows XP</li> <li data-xf-list-type="ul"> Few rare crashes - not sure if those have been present in earlier releases (SVN only most likely)</li> <li data-xf-list-type="ul"> Small REW/FFDW improvements in EVR presenter</li> </ul><p></p><p><strong>version 10 - based on SVN revision 26297</strong></p><p></p><p>Test relase with following highlight:</p><p></p><ul> <li data-xf-list-type="ul"> Added channel mask override settings for 5.1 and 7.1 stream types. This is required for example ASUS Xonar</li> </ul><p></p><p>Fixes:</p><p></p><ul> <li data-xf-list-type="ul"> Try WAVEFORMATEXin format negotiation if the WAVEFORMATEXTENSIBLE is reported to be unsupported by the driver.</li> </ul><p></p><p></p><p><strong>version 11 - based on SVN revision 26308</strong></p><p></p><p>Minor fix release. </p><p></p><p><strong>NOTE: you need to reset the 5.1 and 7.1 channel mask overrides - setting name has been changed in registry</strong> </p><p></p><p>channelMaskOverride_5_1 to ChannelMaskOverride_5_1 </p><p>channelMaskOverride_7_1 to ChannelMaskOverride_7_1</p><p></p><ul> <li data-xf-list-type="ul"> Fixed a deadlock with audio stream changes </li> <li data-xf-list-type="ul"> Fixed A/V sync with stream changes</li> <li data-xf-list-type="ul"> Fixed a possible crash with the AC3 encoding</li> </ul><p></p><p></p><p><strong>version 12 - based on SVN revision 26348</strong></p><p></p><p>Minor fix release. </p><p></p><ul> <li data-xf-list-type="ul"> Refactored A/V sync / sample scheduling - hopefully this will sort out few A/V sync related issues, for example the one that Xonar has with big buffers</li> <li data-xf-list-type="ul"> Fixed sample handling with the time strecthing disabled - madFlac was not working at all. ffdshow could have lots of dropped audio data.</li> <li data-xf-list-type="ul"> Fixed format negotiation when EnableTimestretching was set to disabled</li> <li data-xf-list-type="ul"> Added logging for device reported latency.</li> </ul><p></p><p></p><p><strong>version 13 - based on SVN revision 26419</strong></p><p></p><p>Initial version of the audio HW based reference clock. No other changes.</p><p></p><p></p><p><strong>version 14 - based on SVN revision 26527</strong></p><p></p><p>Minor fix release. </p><p></p><ul> <li data-xf-list-type="ul"> Fixed a crash with the OnlineVideos plugin</li> <li data-xf-list-type="ul"> Fixed a deadlock on stream automatic type changes</li> <li data-xf-list-type="ul"> Minor adjustment to rendering stats layout</li> <li data-xf-list-type="ul"> Added workaround for the MS Video decoder reporting wrong fps values and therefore causing incorrect bias calculation.</li> <li data-xf-list-type="ul"> Improving bias calculation accuracy</li> <li data-xf-list-type="ul"> Added a setting for toggling the sync adjustment on/off for debugging. When disabled the EVR presenter is not able to do the minor v-sync position adjustments.</li> <li data-xf-list-type="ul"> Improving A/V sync - drifting is tried to be minimized (drift handling needs to be refactored completely to fix it completely)</li> </ul><p></p><p><strong>version 15 - based on SVN revision 26591</strong></p><p></p><ul> <li data-xf-list-type="ul"> Completely refactored the A/V sync drift handling - thanks davidf</li> <li data-xf-list-type="ul"> Fixed a memory leak</li> </ul><p></p><p><strong>version 16 - based on SVN revision 26614</strong></p><p></p><ul> <li data-xf-list-type="ul"> Reduced duration of audio resampling that is required for 1:1, 1:2 and 1:3 material - thanks davidf</li> <li data-xf-list-type="ul"> Changed collected drift data to be reset only on graph ::run. Previously this was done when ever audio clock was "skipping" backwards / having discontinuity which could cause the reset to be done in incorrect times with some drivers (Xonar at least)</li> <li data-xf-list-type="ul"> Small tweaks to the rendering stats</li> </ul><p></p><p><strong>version 17 - based on SVN revision 26623</strong></p><p></p><ul> <li data-xf-list-type="ul"> Added audio delay setting in the registry</li> <li data-xf-list-type="ul"> Fixed A/V sync drifting when AC3 encoding is enabled</li> </ul><p></p><p><strong>version 18 - based on SVN revision 26672</strong></p><p></p><ul> <li data-xf-list-type="ul"> Fixed audio delay value - delay was always 10x bigger than it was configured in registry. Remember to update the setting if you have used it (set to non zero value).</li> <li data-xf-list-type="ul"> Disabled AC3 encoding when audio stream is either mono or stereo. Improves sound quality when PCM instead of AC3 can be used</li> <li data-xf-list-type="ul"> Fixed AC3 drifting calculations - no more jumpy dirft values</li> <li data-xf-list-type="ul"> Reduced drift allowed window back to 8 ms with 1:1, 1:2 or 1:3 material</li> </ul><p></p><p><strong>version 19 - based on SVN revision 26757</strong></p><p></p><ul> <li data-xf-list-type="ul"> Fixed WASAPIUseEventMode setting registry key was not created correctly if all settings were removed.</li> <li data-xf-list-type="ul"> Added a workaround for the Xonar audio HW drivers (audio clock produces incorrect values)</li> <li data-xf-list-type="ul"> Fixed a crash when no WASAPI devices are available</li> </ul><p></p><p><strong>version 20 - based on SVN revision 26834</strong></p><p></p><ul> <li data-xf-list-type="ul"> Fixed stream duration calculation - caused issues at least with WMA3 audio codec</li> </ul><p></p><p><strong>version 21 - based on SVN revision 27950</strong> (added by Owlsroost)</p><p></p><ul> <li data-xf-list-type="ul"> SoundTouch quality settings exposed - see <a href="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-audio-renderer-better-video-playback-quality-84441/index124.html#post751312" target="_blank">https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-audio-renderer-better-video-playback-quality-84441/index124.html#post751312</a></li> <li data-xf-list-type="ul"> EVR presentation delay compensation patch add - see <a href="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mp1-evr-presenter-dshowhelper-community-development-81148/index68.html#post707555" target="_blank">https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mp1-evr-presenter-dshowhelper-community-development-81148/index68.html#post707555</a></li> <li data-xf-list-type="ul"> dshowhelper updated to v0055f</li> <li data-xf-list-type="ul"> This version requires '<a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84" target="_blank">Microsoft Visual C++ 2010 Redistributable Package</a>' to be installed.</li> </ul><p></p><p><strong>version 21a </strong> (added by Owlsroost)</p><p></p><ul> <li data-xf-list-type="ul"> Rebuild of version 21 to remove VC90 dependency - no functional or code changes.</li> </ul></blockquote><p></p>
[QUOTE="tourettes, post: 637138, member: 10858"] [b]version 1 - based on SVN revision 26064[/b] Initial version. [b]version 2 - based on SVN revision 26095[/b] First version with WASAPI event driven mode in use Major changes: [list] [*] WASAPI is now using event driven mode (pull mode) [*] Added option to specify WASAPI device period (buffer size) [*] Improved lip sync with WASAPI [*] Refresh rate estimator improved [*] Render stats display rationalised [*] Thread pausing logic modified (Owlsroost - please add more info if needed :)) [*] Improved handling of DVD looping video menus and video fps > display fps situations [/list] [b]version 3 - based on SVN revision 26100[/b] Minor patch release. [list] [*] Fixed A/V sync going of when stream contains corrupted / dropped data (live tv / recorded tv most likely) [*] Fixed audio getting into looped state when no new data is available (for example signal lost in TV for a brief moment) - now only silence will get rendered in such cases [*] Improved handling of DVD looping video menus (Astronaut Farmer's main menu is now working 100% ok) [/list] [b]version 4 - based on SVN revision 26101[/b] Minor patch release. [list] [*] Added registry setting for sample time logging [*] Fixed dropped data detection after seeking [/list] [b]version 5 - based on SVN revision 26107[/b] Minor patch release. [list] [*] Audio render will not render the few last seconds of the audio (depending on the video container / muxing parameters used) - fixed in SVN, will be included in the next version [*] FLAC audio in MKV could cause buffer underruns when time stretching is enabled [*] Disabled audio clock fine tuning when refresh rate and source material doesn't match 1:1, 1:2 or 1:3 (even after possible speed up / slow down) [/list] [b]version 6 - based on SVN revision 26202[/b] First test relase with following highlights: [list] [*] Multichannel support [*] On-the-fly AC3 encoding for SPDIF users [*] Support for non 16 bit samples (24 bit integer, 32 bit integer and 32 bit float) [*] Improved the logging for debugging - log more stream events, used audio decoder etc. [/list] Fixes: [list] [*] When buffer underrun happens don't discard the available data [*] WASAPI shared mode was not working [*] Missing support for the device latency (for A/V sync) - implemented for WASAPI only [*] Improved A/V sync for pause / seeking / start of playback [*] Fixed some wrong logging of dropped audio samples [*] Fixed device period instructions - logging change only [*] Added logging for the default WASAPI audio device when it is used [/list] [b]version 7 - based on SVN revision 26225[/b] Minor patch release. Fixes: [list] [*] DVD menus can trigger main movie to nave no sound and then hang (WASAPI only) [*] Removed the audio buffer flush when pausing audio, this allows audio to continue sooner after the resume is done. There is still small glitch - amount is equal to the audio device's latency [*] Introduced preroll samples. This will remove the need for dropping the first audio samples to match the device latency [*] Reduced amount of the audio samples that are dropped when discontinuity in the stream is detected (valid samples from "past" are renderer) [/list] [b]version 8 - based on SVN revision 26250[/b] Minor patch release. Fixes: [list] [*] Aligned WASAPI buffer to match AC3 frame lenght when AC3 encoding is enabled - should reduce noise when zapping / seeking [*] Fixed Last WASAPI buffer before seeking / stop / pause getting cut [*] Fixed a memory / resource leak [*] Added logging for sample allocator failures (during creation) [*] Fixed audio adjustment to be thread safe - earlier it was possible that audio channels would have been out of phase in some cases when speed adjustment was done [*] "Fixed wrong caching of alphablend" changes from mr_hipp incorporated. Render stats re-positioned so they're not covered by the timeline bar. [/list] [b]version 9 - based on SVN revision 26274[/b] Test relase with following highlight: [list] [*] Added support for WASAPI polling based buffer filling (should help with HW / drivers that are broken - NVIDIA, Xonar) [/list] Fixes: [list] [*] MMCSS thread boost was not done for the rendering thread [*] Added OS version detection - WASAPI is not even tried to be enabled on Windows XP [*] Few rare crashes - not sure if those have been present in earlier releases (SVN only most likely) [*] Small REW/FFDW improvements in EVR presenter [/list] [b]version 10 - based on SVN revision 26297[/b] Test relase with following highlight: [list] [*] Added channel mask override settings for 5.1 and 7.1 stream types. This is required for example ASUS Xonar [/list] Fixes: [list] [*] Try WAVEFORMATEXin format negotiation if the WAVEFORMATEXTENSIBLE is reported to be unsupported by the driver. [/list] [b]version 11 - based on SVN revision 26308[/b] Minor fix release. [B]NOTE: you need to reset the 5.1 and 7.1 channel mask overrides - setting name has been changed in registry[/B] channelMaskOverride_5_1 to ChannelMaskOverride_5_1 channelMaskOverride_7_1 to ChannelMaskOverride_7_1 [list] [*] Fixed a deadlock with audio stream changes [*] Fixed A/V sync with stream changes [*] Fixed a possible crash with the AC3 encoding [/list] [b]version 12 - based on SVN revision 26348[/b] Minor fix release. [list] [*] Refactored A/V sync / sample scheduling - hopefully this will sort out few A/V sync related issues, for example the one that Xonar has with big buffers [*] Fixed sample handling with the time strecthing disabled - madFlac was not working at all. ffdshow could have lots of dropped audio data. [*] Fixed format negotiation when EnableTimestretching was set to disabled [*] Added logging for device reported latency. [/list] [b]version 13 - based on SVN revision 26419[/b] Initial version of the audio HW based reference clock. No other changes. [b]version 14 - based on SVN revision 26527[/b] Minor fix release. [list] [*] Fixed a crash with the OnlineVideos plugin [*] Fixed a deadlock on stream automatic type changes [*] Minor adjustment to rendering stats layout [*] Added workaround for the MS Video decoder reporting wrong fps values and therefore causing incorrect bias calculation. [*] Improving bias calculation accuracy [*] Added a setting for toggling the sync adjustment on/off for debugging. When disabled the EVR presenter is not able to do the minor v-sync position adjustments. [*] Improving A/V sync - drifting is tried to be minimized (drift handling needs to be refactored completely to fix it completely) [/list] [b]version 15 - based on SVN revision 26591[/b] [list] [*] Completely refactored the A/V sync drift handling - thanks davidf [*] Fixed a memory leak [/list] [b]version 16 - based on SVN revision 26614[/b] [list] [*] Reduced duration of audio resampling that is required for 1:1, 1:2 and 1:3 material - thanks davidf [*] Changed collected drift data to be reset only on graph ::run. Previously this was done when ever audio clock was "skipping" backwards / having discontinuity which could cause the reset to be done in incorrect times with some drivers (Xonar at least) [*] Small tweaks to the rendering stats [/list] [b]version 17 - based on SVN revision 26623[/b] [list] [*] Added audio delay setting in the registry [*] Fixed A/V sync drifting when AC3 encoding is enabled [/list] [b]version 18 - based on SVN revision 26672[/b] [list] [*] Fixed audio delay value - delay was always 10x bigger than it was configured in registry. Remember to update the setting if you have used it (set to non zero value). [*] Disabled AC3 encoding when audio stream is either mono or stereo. Improves sound quality when PCM instead of AC3 can be used [*] Fixed AC3 drifting calculations - no more jumpy dirft values [*] Reduced drift allowed window back to 8 ms with 1:1, 1:2 or 1:3 material [/list] [b]version 19 - based on SVN revision 26757[/b] [list] [*] Fixed WASAPIUseEventMode setting registry key was not created correctly if all settings were removed. [*] Added a workaround for the Xonar audio HW drivers (audio clock produces incorrect values) [*] Fixed a crash when no WASAPI devices are available [/list] [b]version 20 - based on SVN revision 26834[/b] [list] [*] Fixed stream duration calculation - caused issues at least with WMA3 audio codec [/list] [b]version 21 - based on SVN revision 27950[/b] (added by Owlsroost) [list] [*] SoundTouch quality settings exposed - see [URL="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-audio-renderer-better-video-playback-quality-84441/index124.html#post751312"]https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mediaportal-audio-renderer-better-video-playback-quality-84441/index124.html#post751312[/URL] [*] EVR presentation delay compensation patch add - see [URL="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mp1-evr-presenter-dshowhelper-community-development-81148/index68.html#post707555"]https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/mp1-evr-presenter-dshowhelper-community-development-81148/index68.html#post707555[/URL] [*] dshowhelper updated to v0055f [*] This version requires '[URL="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84"]Microsoft Visual C++ 2010 Redistributable Package[/URL]' to be installed. [/list] [b]version 21a [/b] (added by Owlsroost) [list] [*] Rebuild of version 21 to remove VC90 dependency - no functional or code changes. [/list] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MediaPortal Audio renderer - better video playback quality
Contact us
RSS
Top
Bottom