Opened 16 years ago
Closed 16 years ago
#7919 closed defect (fixed)
no teletext in mythtv > 0.21
| Reported by: | anonymous | Owned by: | Janne Grunau |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | head |
| Severity: | low | Keywords: | teletext |
| Cc: | Ticket locked: | no |
Description
If i try to use the teletext in mythtv 0.22 or 0.23 the only message i get is "Page not found". There are no other errors in the output. I also can type in some numbers, but nothing else happens. Hope you can fix it very soon. Some infos: Im using mythtv with a DVB-S-Card with
Installed versions: 0.22_p23069(22:08:34 05.01.2010)(alsa css dvb lcd lirc mmx perl python tiff vdpau video_cards_nvidia)
Attachments (2)
Change History (13)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Status: | new → infoneeded_new |
|---|
comment:3 by , 16 years ago
I got the same problem.
This helped me out: Index: libs/libmythtv/avformatdecoder.cpp =================================================================== --- libs/libmythtv/avformatdecoder.cpp (revision 23064) +++ libs/libmythtv/avformatdecoder.cpp (working copy) @@ -2870,6 +2870,8 @@
{
if (*buf == 0x10)
buf++; skip
+ if (*buf == 0xFF) + buf += 3; skip
if (*buf == 0x02) {
...now it's working again (I'm at DVB-T in Germany)
by , 16 years ago
| Attachment: | teletext.patch added |
|---|
comment:4 by , 16 years ago
| Milestone: | unknown → 0.23 |
|---|---|
| Status: | infoneeded_new → new |
comment:5 by , 16 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:6 by , 16 years ago
| Milestone: | 0.23 → unknown |
|---|---|
| Priority: | major → minor |
| Severity: | medium → low |
| Status: | assigned → infoneeded |
| Version: | unknown → head |
frankm, this patch doesn't make sense to me. This test & skip already exists @ line 2996:
else if (*buf == 0xff)
{
buf += 3;
}
comment:7 by , 16 years ago
I'm in germany, Astra 19,2E Program (every german one with teletext). On no one teletext is working!
comment:8 by , 16 years ago
| Status: | infoneeded → assigned |
|---|
0xFF is used as a "stuffing descriptor" all through DVB. IIRC there is nothing to stop it occuring multiple times.
The while loop that's attempting to decode streams here doesn't take into account whether or not descriptors can occur multiple times.
Stuart
comment:9 by , 16 years ago
Frank, does the attached patch work?
It moves the buf increment inside the decode conditionals and also adds a check that we have enough bytes left to safely call TeletextDecoder::Decode(). This way we are only incrementing the pointer by a full packet size on full-sized packets and on unknown packets types, so any number of stuffing packets should get properly ignored.
I don't have any actual streams with teletext to test on, so feel free to make any corrections necessary for real data.
comment:11 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

We need more information, which country? Which satellite?
Teletext transmissions have recently ceased in the UK and probably other countries too. Are you certain that they are still broadcasting?
This is going to be difficult for the devs to fix unless we have access to sample recordings.