Opened 14 years ago

Closed 14 years ago

#1231 closed defect (fixed)

Some multiplexes only 'partial lock' with dvb-c

Reported by: petermartens@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hoping this is a legitimate ticket, but couldn't find a solution to this. I am trying to set up my dvb-c card within MythTV. Svn from yesterday. I started with a scan off all transports (which I defined before) because a full scan wouldn't work. So far so good. All channels are found. However when trying to tune some channels will lock and display video, others only give a partial lock and refuse to display video. The channels that won't fully lock give lots of these: "PSIP packet has Adaptation Field Control, not ATSC compiant". It is dvb-c, not ATCS!? When reading the logs, it seems the channel locks but then it goes wrong. I can get full eit-data from those channels.

I searched the archives and saw another one having these kind of problems, but the solution wasn't really clear to me (if there was a solution).

Attached is a log (record,channel,siparser) with one channel that does lock and at the end the one that doesn't fully lock.

Greets

Peter

Attachments (1)

mythbackend.txt (124.4 KB) - added by petermartens@… 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by petermartens@…

Attachment: mythbackend.txt added

comment:1 Changed 14 years ago by danielk

What happens when you comment this out:

    if (1!=tspacket->AdaptationFieldControl())
    { // payload only, ATSC req.
        VERBOSE(VB_RECORD,
                "PSIP packet has Adaptation Field Control, not ATSC compiant");
        DONE_WITH_PES_PACKET();
    }

in libs/libmythtv/mpeg/mpegstreamdata.cpp ?

comment:2 Changed 14 years ago by danielk

Milestone: 0.190.20

No reply from bug submitter on possible fix, pushing to 0.20.

comment:3 Changed 14 years ago by petermartens@…

You 're as fast as lightning, Daniel, but a genius too! Sorry for the somewhat late reaction, but I have a daytime job... Your fix, as proposed, seems to fix it. I can get video from those multiplexes now, without any problem or strange messages in the log. I think you don't need any more logs? Otherwise tell me and I 'll send them!

Thanks

Peter

comment:4 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [8902]) Fixes #1231.

The MPEGStreamData stream verifier was checking the adaptation field control field in the PES packets and tossing PSIP packets that contained them, since that flag is invalid for ATSC streams. But that ADF is allowed in DVB and this class is used for both ATSC and DVB streams, so this commit removes the check.

Note: See TracTickets for help on using tickets.