On Mon, 2005-10-31 at 23:11 -0500, Isaac Richards wrote:

> Daniel, I'm not sure if a similar change is necessary for the recorders which 
> inherit off of DTVRecorder..  Basically, it needs to write up to the 
> beginning of the packet containing the last gop or seq start header to the 
> previous file, then flush + start the new one.

The current dtvrecorder code works in practice, but can fail in theory.

When the SEQ or GOP header is in the first TS packet of the series of
TS packets that store a PES packet, then it works. I tested with the
ATSC channels I get and this is always the case on the streams I can
get.

However, if there was a large AFC offset, the SEQ or GOP header could
be in a continuation TS packet, in which case we would chop the PES
packet in two... I'm still looking for an elegant solution...

-- Daniel

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to