Kodi Community Forum

Full Version: VDR/VNSI and AC-3 audio on specific ATSC channel problem.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using VDR 1.7.16 and the vnsi plugin, xbmc seems to be struggling to play
one particular channel. Unfortunetly, it's the channel I'm doing a
temporary admin contract for, so I kind of need to see it. vdr-sxfe plays
it OK, but I get too much video stuttering on it, and all other channels
play ok on xbmc/vdr.

Working at the station, if the problem is there, I have a hope of getting
it fixed. Their sister station using the same equipment but on a
different frequency and antenna (transmitter) is fine.

I get the same symptoms using both OTA (8vsb) and via Comcast QAM256, so
am fairly sure the problem is specific to something at the station.

The code from demuxer.c (in vnsi plugin) that's being triggered is this:

Code:
else if(checkTimestamp)
  {
    int d = dts + m_epochDTS - m_LastDTS;

    if (d < 0 || d > 90000) {

      if (d < -PTS_MASK || d > -PTS_MASK + 180000)
      {
        m_badDTS++;

        if (m_badDTS < 5)
        {
          dsyslog("VNSI-Error: DTS discontinuity. DTS = %10lu, last =
%10lu", dts, m_LastDTS);
        }
      }
      else
      {
        /* DTS wrapped, increase upper bits */
        m_epochDTS += PTS_MASK + 1;
        m_badDTS = 0;
      }
    }

I get my logs filled with the VNSI-Error, DTS discontinuity. The audio
stutters. It appears to be AC-3 Stereo, but may be labelled 5.1? I have
audio passthrough to my amp. On another laptop with analog output it
seems to stutter in a different way..

I'm fairly happy putting some kind of checking in VDR or VNSI and
recompiling if it'll help. I have two ATSC tuners, it happens to both
tuners.

Thanks
Rob