-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for legacy (DVBv3) frontend queries to fix continuity errors #1178
Comments
hi, can u comment those lines here: https://github.com/catalinii/minisatip/blob/master/src/dvb.c#L1920C13-L1920C27 |
Commenting out if (!start && ad->new_gs == NEW_SIGNAL)
get_signal_new(ad, &status, &ber, &strength, &snr, &dbvalue); fixed continuity errors (except a few at the start, but that's normal and negligible). STR and SNR are obviously 0. I have tested it on v1.3.6, as I had source + intermediate binaries available. |
OK, I have just tested "legacy" querying:
This means that in my case implementing legacy queries makes no sense, as the values returned are useless. For those interested: Yes, running |
So running dvb-fe-tool -m in parallel with minisatip with legacy ioctls still causes continuity errors? |
No?... The question is confusing. Let's break it down:
The above is true when a 'patched' (as proposed) minisatip is used, which does not query frontend status and does not introduce the problem by itself. |
Perhaps we could add an option to disable querying for signal status? |
https://github.com/catalinii/minisatip/blob/master/src/dvb.c#L1908 Based on this, setting the multipliers to 0 should disable getting the signal |
We could perhaps add a note about that to the README/help. |
Confirmed, appending |
Adds a comment to fix catalinii#1178
Comment added in #1181 . Regards. |
I have been using minisatip for years, as it was the right tool for the job (transmitted DVB over IP). Unfortunately, when used with most of my DVB-T or all of my DVB-T2 tuners, there were random continuity errors, no matter the multiplex or bitrate - every few seconds the video got artifacts or short pauses, every few minutes audio got short silence. This drove me mad, because at first I thought the installation was to blame (aerial, cable, power supply interference), but ultimately couldn't figure it out as I gradually replaced components.
There was however an interesting behaviour - sometimes after weeks of uptime, the problem was disappearing. At the same time, the DVB frontend status was breaking and minisatip reported signal strength as zeroes. This was a very important clue...
Recently I stumbled upon Kodi, which encouraged me to use Tvheadend. I gave it a try. It worked, but the stream still had continuity errors. When exploring settings, I noticed this option:
Then it struck me - maybe the stream gets corrupted when a frontend was queried? I enabled that option and BAM! Smooth streams, broken stats. YEARS of reaching dead-ends finally ended.
As I have learnt where the problem lies, I could look it up and, as it turns out, I'm not alone:
I would like to propose an enhancement for minisatip - add an option to either add "legacy" queries just like Tvheadend or disable frontend queries completely.
The text was updated successfully, but these errors were encountered: