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
Support
General Support
Audio Delay Option stuttering issue
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="Owlsroost" data-source="post: 1091771" data-attributes="member: 83973"><p>OK - that points to a slightly different area of the code which is probably causing the issue.</p><p></p><p>I'll build you a modified TsReader.ax to try.</p><p></p><p></p><p></p><p>What this means (from the log):</p><p></p><p>[code]</p><p>[2014-07-17 22:00:04,667] [13aeef00] [23dc] - audPin : Audio to render late= -0.106</p><p>[2014-07-17 22:00:04,667] [13aeef00] [23dc] - Aud/Ref : 25.567, Compensated = 25.544 ( -0.106 A/V buffers=21/46), Clk : 25.650354, SampCnt 176, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:04,817] [13aeef00] [23dc] - Aud/Ref : 25.711, Compensated = 25.688 ( -0.112 A/V buffers=22/47), Clk : 25.800354, SampCnt 177, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:04,957] [13aeef00] [23dc] - Aud/Ref : 25.855, Compensated = 25.832 ( -0.108 A/V buffers=22/49), Clk : 25.940438, SampCnt 178, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:05,097] [13aeef00] [23dc] - Aud/Ref : 25.999, Compensated = 25.976 ( -0.104 A/V buffers=21/46), Clk : 26.080417, SampCnt 179, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:05,247] [13aeef00] [23dc] - Aud/Ref : 26.143, Compensated = 26.120 ( -0.110 A/V buffers=20/44), Clk : 26.230375, SampCnt 180, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:05,387] [13aeef00] [23dc] - Aud/Ref : 26.287, Compensated = 26.264 ( -0.106 A/V buffers=22/50), Clk : 26.370375, SampCnt 181, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:05,537] [13aeef00] [23dc] - Aud/Ref : 26.431, Compensated = 26.408 ( -0.112 A/V buffers=21/47), Clk : 26.520396, SampCnt 182, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:05,677] [13aeef00] [23dc] - Aud/Ref : 26.575, Compensated = 26.552 ( -0.108 A/V buffers=20/44), Clk : 26.660354, SampCnt 183, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:05,817] [13aeef00] [23dc] - Aud/Ref : 26.719, Compensated = 26.696 ( -0.104 A/V buffers=22/53), Clk : 26.800396, SampCnt 184, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:05,967] [13aeef00] [23dc] - Aud/Ref : 26.863, Compensated = 26.840 ( -0.111 A/V buffers=21/50), Clk : 26.950521, SampCnt 185, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:06,107] [13aeef00] [23dc] - Aud/Ref : 27.007, Compensated = 26.984 ( -0.106 A/V buffers=20/45), Clk : 27.090375, SampCnt 186, Sleep 1 ms, stallPt 1.100</p><p>[2014-07-17 22:00:06,164] [13aeef00] [1dac] - Pause 321 mS renderer clock to match provider/RTSP clock, A/V = 19/45</p><p>[2014-07-17 22:00:06,165] [13aeef00] [1dac] - CTsReaderFilter::Pause() - IsTimeShifting = 1 - state = 2</p><p>[2014-07-17 22:00:06,165] [13aeef00] [1dac] - CTsReaderFilter::Pause() - END - state = 1</p><p>[2014-07-17 22:00:06,486] [13aeef00] [1dac] - CTsReaderFilter::Run(177675.60) state 1 seeking 0</p><p>[2014-07-17 22:00:06,486] [13aeef00] [1dac] - Run() - Elapsed time from pause to Audio/Video ( total zapping time ) : 321 mS</p><p>[2014-07-17 22:00:06,486] [13aeef00] [1dac] - CTsReaderFilter::Run(177675.60) state 2 -->done</p><p>[/code]</p><p></p><p>....is that TsReader is detecting that the audio samples on it's output pin are late (relative to the renderer clock), so it assumes that there is a data starvation problem and attempts to correct it by pausing playback for a short time. It needs to do this sometimes to recover from stream corruption and when playback is running faster than the broadcast stream, but it's being triggered by the effect of the timestamp adjustments LAV Audio decoder is performing.</p></blockquote><p></p>
[QUOTE="Owlsroost, post: 1091771, member: 83973"] OK - that points to a slightly different area of the code which is probably causing the issue. I'll build you a modified TsReader.ax to try. What this means (from the log): [code] [2014-07-17 22:00:04,667] [13aeef00] [23dc] - audPin : Audio to render late= -0.106 [2014-07-17 22:00:04,667] [13aeef00] [23dc] - Aud/Ref : 25.567, Compensated = 25.544 ( -0.106 A/V buffers=21/46), Clk : 25.650354, SampCnt 176, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:04,817] [13aeef00] [23dc] - Aud/Ref : 25.711, Compensated = 25.688 ( -0.112 A/V buffers=22/47), Clk : 25.800354, SampCnt 177, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:04,957] [13aeef00] [23dc] - Aud/Ref : 25.855, Compensated = 25.832 ( -0.108 A/V buffers=22/49), Clk : 25.940438, SampCnt 178, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:05,097] [13aeef00] [23dc] - Aud/Ref : 25.999, Compensated = 25.976 ( -0.104 A/V buffers=21/46), Clk : 26.080417, SampCnt 179, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:05,247] [13aeef00] [23dc] - Aud/Ref : 26.143, Compensated = 26.120 ( -0.110 A/V buffers=20/44), Clk : 26.230375, SampCnt 180, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:05,387] [13aeef00] [23dc] - Aud/Ref : 26.287, Compensated = 26.264 ( -0.106 A/V buffers=22/50), Clk : 26.370375, SampCnt 181, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:05,537] [13aeef00] [23dc] - Aud/Ref : 26.431, Compensated = 26.408 ( -0.112 A/V buffers=21/47), Clk : 26.520396, SampCnt 182, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:05,677] [13aeef00] [23dc] - Aud/Ref : 26.575, Compensated = 26.552 ( -0.108 A/V buffers=20/44), Clk : 26.660354, SampCnt 183, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:05,817] [13aeef00] [23dc] - Aud/Ref : 26.719, Compensated = 26.696 ( -0.104 A/V buffers=22/53), Clk : 26.800396, SampCnt 184, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:05,967] [13aeef00] [23dc] - Aud/Ref : 26.863, Compensated = 26.840 ( -0.111 A/V buffers=21/50), Clk : 26.950521, SampCnt 185, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:06,107] [13aeef00] [23dc] - Aud/Ref : 27.007, Compensated = 26.984 ( -0.106 A/V buffers=20/45), Clk : 27.090375, SampCnt 186, Sleep 1 ms, stallPt 1.100 [2014-07-17 22:00:06,164] [13aeef00] [1dac] - Pause 321 mS renderer clock to match provider/RTSP clock, A/V = 19/45 [2014-07-17 22:00:06,165] [13aeef00] [1dac] - CTsReaderFilter::Pause() - IsTimeShifting = 1 - state = 2 [2014-07-17 22:00:06,165] [13aeef00] [1dac] - CTsReaderFilter::Pause() - END - state = 1 [2014-07-17 22:00:06,486] [13aeef00] [1dac] - CTsReaderFilter::Run(177675.60) state 1 seeking 0 [2014-07-17 22:00:06,486] [13aeef00] [1dac] - Run() - Elapsed time from pause to Audio/Video ( total zapping time ) : 321 mS [2014-07-17 22:00:06,486] [13aeef00] [1dac] - CTsReaderFilter::Run(177675.60) state 2 -->done [/code] ....is that TsReader is detecting that the audio samples on it's output pin are late (relative to the renderer clock), so it assumes that there is a data starvation problem and attempts to correct it by pausing playback for a short time. It needs to do this sometimes to recover from stream corruption and when playback is running faster than the broadcast stream, but it's being triggered by the effect of the timestamp adjustments LAV Audio decoder is performing. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Audio Delay Option stuttering issue
Contact us
RSS
Top
Bottom