Ticket #4130 (closed patch: Won't Fix)
Opened 5 years ago
Last modified 10 months ago
Extend mythcommflag to flag bad recordings
| Reported by: | Tony Lill <ajlill@…> | Owned by: | cpinkham |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - Mythcommflag | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
This patch piggybacks on the video processing that mythcommflag already does to check for bad recordings. Recordings with excessive blank frames or not enough frames to fill it's scheduled run time are marked for re-recording. This requires Ticket #3917 to provide the re-recording functionality.
If anyone has any pointers to getting audio into mythcommflag, I'll add a check to no sound (every once in a while, I'll get a no-sound recording from my stb).
Attachments
Change History
comment:1 Changed 4 years ago by cpinkham
- Owner changed from ijr to cpinkham
- Status changed from new to assigned
comment:4 Changed 4 years ago by laga
- Type changed from enhancement to patch
comment:7 Changed 3 years ago by ajlill@…
I tried commenting on #3872, but it was locked.
These tickets are duplicates in only the sense that mythtv thinks it's done it's job, but you still wind up downloading the show off the net!
The are two basic causes of why a recording fails, hardware failure and signal failure. Hardware failure is usually permanent (requires a manual reboot or reset), while signal failure is transitory, where simply retrying after some delay usually works.
Ticket #3872 is about early detection of hardware failure. The resolution requires that you detect an obviously bogus file during recording, abort the recording, disable or de-prioritize the borked video source, and do a reschedule in time to record the same showing on a different source. You should also let the user know that mythtv suspects one of the video sources is boned.
This ticket (and #6899) are about signal failure, where you record a perfectly valid file, but the contents are unwatchable because it's blank, has no sound, the STB froze or was reset, etc. Detecting this requires more signal processing that you probably want to do in the recorder, although some might be easy to do, like what I think #6899 does. Also, you generally want a long retry, especially if it's weather related.
My patch works in the comflagger by re-analysing the blank frame data, then removing any probably bad recordings from duplicate detection and rescheduling. It works great in Canada 'cause cable and satellite pad their lineups with stations from every timezone, but would be less effective if you only had one shot at recording a show.
That being said, my patch also detects a zero byte file, but since it simply causes it to be re-recorded at a later time, doesn't solve all of the other tickets concerns, especially avoiding the jammed hardware.
comment:10 Changed 10 months ago by stuartm
- Status changed from assigned to closed
- Resolution set to Won't Fix
I think we have to call it a day on this patch, if it hasn't drawn sufficient interest in 4 years then it's simply not going to get committed any time soon. The patch will be still here if anyone wants to dig it up in the future but I'm closing the ticket.
