[mythtv] [PATCH] better GOP detection for HDTV

Doug Larrick doug at ties.org
Wed Dec 17 09:08:59 EST 2003


On 12/17/03 01:38:34, Jason Hoos wrote:
> I'm a little leery though, because I recall that the problem I had  
> wasn't that the code wasn't seeing the GOP markers, it was that they  
> didn't exist at all.  I actually inspected the stream manually  
> looking for the 000 00 01 b8 bytes at the time, and either they  
> weren't there, or they were consistently split across packet  
> boundaries in a way that a grep of od's output couldn't find
> them.

The thing that made me suspicious is that avformatdecoder's  
MpegPreProcessPkt *was* finding GOP markers, so I knew they were in  
there.  You might try putting a message in there if you suspect  
troubles.

The new code *should* handle the case where the pattern is split  
between TS packets, though I was unable to test this.

If you have a recording from that station, try running tsdump, found  
here: <http://jekyl.ddts.net/tsdump.C> on the recording -- it should  
closely mimic how hdtvrecorder is looking at the stream.

-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031217/fc8cf54b/attachment.pgp


More information about the mythtv-dev mailing list