Autor Thema: MP2 audio hickups  (Gelesen 26434 mal)

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #15 am: Juni 27, 2014, 10:19:05 Nachmittag »
Do you have this issue with both tuners or only one of them?

Those tuners are EOL already, however still supported.
Failure is a good thing! I'll fix it

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #16 am: Juni 27, 2014, 10:54:14 Nachmittag »
Both tuners showing same symptoms.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #17 am: Juni 28, 2014, 01:35:03 Vormittag »
Then you might try it with Windows, maybe your CPU is going to an end with those channels on your target platform (watch it with "top")

According to the log file /var/log/mediasrv.log the stream integrity should be okay. If the stream would be more damaged it would print realigning stream regularly (but according to the log file it only writes those lines after changing the channels).
Failure is a good thing! I'll fix it

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #18 am: Juni 28, 2014, 10:05:57 Vormittag »
The XBMC client pc's don't show peaks or spikes when playing the error occurs. Those channels are encrypted and I don't know how to decrypt with the smargo using Windows.

About the realigning stream line in the log; you mention it prints this when changing channels. Are you sure about that? I didn't change channels when writing the log. A few seconds before the hiccup occurs, it does print realigning stream.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #19 am: Juni 28, 2014, 10:48:07 Vormittag »
Then something else changed the channel / frequency in the background. The driver itself does not change any frequency - only external applications can trigger that. Try to have a closer look at that, maybe that's your Problem.
Failure is a good thing! I'll fix it

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #20 am: Juni 28, 2014, 10:58:01 Vormittag »
Maybe it's the second tuner fetching epg data. I'll try the logging with just 1 tuner attached, playing only 1 affected channel.

Edit Yes, turns out to be the epg grab function in TVHeadend.

Can we conclude this issue is not on the Sundtek side but one the TVHeadend side?
« Letzte Änderung: Juni 28, 2014, 11:14:57 Vormittag von Yoshi »

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #21 am: Juni 28, 2014, 02:21:32 Nachmittag »
Were you able to disable the EPG grabbing with tvheadend?
Does it work now?

Yes it's certainly not the tuners fault if tvheadend switches the channel for EPG parsing.
Failure is a good thing! I'll fix it

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #22 am: Juni 28, 2014, 03:22:49 Nachmittag »
I can't find the option in TVHeadend to disable EPG grabbing. It even grabs EPG on the transponder the tuner is using while playback.

What I can see in the status tab in TVHeadend is that the grabbing of the EPG is not causing the hiccups in audio on those radio channels.

I guess something in TVHeadend is causing the messed up audio then  :-\


Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #23 am: Juni 28, 2014, 03:54:39 Nachmittag »
just leave the readsignal command running while listening to radio, if it changes the frequency something is wrong.

You can do some EPG settings in the device tab of tvheadend.
Failure is a good thing! I'll fix it

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #24 am: Juni 28, 2014, 04:42:38 Nachmittag »
I disabled one tuner, started listening one of those stations with the remaining tuner. Frequency stays the same, so the changing of the frequency we saw on the previous logging was due to EPG grabbing with the second tuner.

Is there anything else I can try?

I use the git version of TVHeadend and can't disable the EPG grabbing by the way.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #25 am: Juni 28, 2014, 04:55:52 Nachmittag »
Windows with DVBViewer, for the rest you need to check in the internet how to get it work.

If no further realigning stream messages show up in the logfile the stream integrity is fine as mentioned, the tuner won't be able to do anything different.

Do you have a configuration file /etc/sundtek.conf ?
Failure is a good thing! I'll fix it

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #26 am: Juni 28, 2014, 05:04:43 Nachmittag »
I don't have a sundtek.conf file.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #27 am: Juni 28, 2014, 05:37:54 Nachmittag »
then everything is default, I don't see how the device can cause hickups on your side, it's possibly related that those channels are encrypted/paytv. Maybe increasing the buffers somewhere in the decoding chain might work (please note that we cannot support the software you are using due legal reason).
We certainly support our driver that it delivers data which is okay.
Failure is a good thing! I'll fix it

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #28 am: Juni 28, 2014, 05:59:22 Nachmittag »
I guess this is indeed the conclusion. If I find the time tomorrow maybe I can setup a Windows tv server with Mediaportal.

Yoshi

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:MP2 audio hickups
« Antwort #29 am: Juli 03, 2014, 12:36:27 Nachmittag »
For feedback, did some further investigation and it turns out the Tvheadend stable version doesn't have this issue. So, it's Tvheadend. Thanks for your help!