-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds recording quality tracking to DTV recorders.
This ads a recording gap list to RecorderBase to track gaps in the recording. DTVRecorder updates this with any gaps in video dts values over one second in duration or if it can't extract the dts then gap in pts values then a gap is two seconds or greater in duration. In addition we count transport stream continuity errors and if these are greater than 1% or 0.1% we apply a 40% and 20% derating on the quality metric respectively. The NuppelVideoRecorder could update the recording gap list, but would need to use some other means to detect and measure the length of gaps. For now we just assume there are no gaps in these recordings. Once the recording completes we look at the gaps and score them, giving higher priority to gaps near the start and end of the recording, on the assumption that these are more information rich, i.e. "Who shot JR?" If the score doesn't meet a quality threshold the recording is flagged as a damaged recording and MythTV will try to re-record it when it re-airs. Note: There are a few thresholds that may need additional tuning, only one of which is DB tunable, "MinimumRecordingQuality". I'd appreciate "mythbackend -v record" logs if you see any good recordings marked as bad or bad recordings marked as good. So I can suggest new values for this threshold or try other tweaks to the grading algorithm.
- Loading branch information
1 parent
e2ab48c
commit ca0419d
Showing
17 changed files
with
516 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.