Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1487 closed defect (fixed)

MythTV can't write a PES packet exceeding 184 bytes.

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

Description

This is breaking at least one channel for Oscar.

The problem is that while we can generate a PES packet in memory for something like a PMT, we only ever write out the first TS Packet of such a table. This works fine when the PMT fits in 188 bytes, but as we record more streams now and keep more descriptors than we used to we occasionally run into this limitation.

The solution is to add a TSPacket generator to PESPacket, and potentially to fix any problems ffmeg's mpegts.c might have with multi-ts-packet sections.

Change History (4)

comment:1 Changed 13 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newassigned

comment:2 Changed 13 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [9351]) Closes #1487. Allow MythTV to generate PMT tables exceeding 183 bytes..

The code could be used for any payload only PES packet, but we always write the same short PAT table at the moment, so I didn't bother with the extra complexity for that table.

comment:3 Changed 13 years ago by danielk

(In [9352]) References #1487. I Left some debugging on in last commit, this reverts it.

comment:4 Changed 13 years ago by danielk

(In [9360]) References #1487. Remove some debugging.

Note: See TracTickets for help on using tickets.