Opened 19 years ago
Closed 19 years ago
#2311 closed defect (fixed)
DVB offline mheg Banner page remains onscreen when recording starts
Reported by: | anonymous | Owned by: | Stuart Auchterlonie |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | mheg |
Cc: | Ticket locked: | no |
Description
For recordings starting a few mins before a channel comes online the Banner page is correctly displayed. Unfortunately it does not dissapear when the programme starts (although it is partly transparent). Quick fix is to press edit recording and delete the first few mins - then all is OK.
Attachments (1)
Change History (8)
comment:1 by , 19 years ago
Owner: | changed from | to
---|
comment:2 by , 19 years ago
Keywords: | mheg added |
---|---|
Milestone: | unknown → 0.21 |
Status: | new → assigned |
comment:3 by , 19 years ago
The Data Broadcast ID descriptor in the PMT contains a Network boot info sub-descriptor. If the version number in this changes and the action field is "boot" the MHEG application is supposed to be rebooted. I made a recording when BBC THREE started at 7pm and this is what happens. I would assume that other broadcasters do the same.
Parsing the sub-descriptor in mpegts.c isn't too difficult but passing the information up to the MHEG application isn't so obvious, probably requiring additional fields in the AVStream structure. It would be better if there was a standard way of passing the descriptor information up to avformatdecoder rather than having ad hoc solutions. I'll work on a patch anyway.
comment:4 by , 19 years ago
FYI We place a copy of the last PMT section seen in AVFormatContext::cur_pmt_sect, you can see this being used in avformatdecoder.
comment:5 by , 19 years ago
The PMT would have to change at these program boundaries, so why not just reset the mheg engine on a PMT change?
by , 19 years ago
Attachment: | mhegstartpatch.txt added |
---|
comment:6 by , 19 years ago
This patch fixes the problem for my recording of BBC THREE start up. I would expect that it would also work for the other BBC channels such as BBC FOUR.
This patch also contains a work-around for #2576, an apparently similar problem when ITV4 starts up, but which arises from a completely different situation. In this case the off-air MHEG application looks for a change in a file in the DSMCC carousel when the channel comes on-air. The broadcaster sends an updated file but does not update the version number for the module containing it in the data carousel. The DSMCC code therefore does not reload the module and the file doesn't change. I've worked around this by flushing a module from the cache if the size of the module given in the DII table changes as well as if the version changes.
David.
comment:7 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Confirmed the problem exists. It's possible the mheg engine isn't responding correctly to requests to shutdown the mheg output.