[mythtv] [PATCH] better GOP detection for HDTV

Doug Larrick doug at ties.org
Thu Dec 18 11:57:07 EST 2003


On 2003.12.18 11:36, Jason Hoos wrote:
> Doug -
> 
> Received this off-list, looks like it might help.  I modified your
> tsdump.C program to look for the sequence headers he mentions (which  
> I determined was 00 00 01 b3 with the help of Google -
> http://andrew.csie.ncyu.edu.tw/zip/mpeg.htm), and the headers do  
> exist in the stream from that station.  And they seem to occur at  
> regular 30-picture intervals.
> 
> When I get a chance I'll try modifying the GOP code to look for these
> as well and see what happens, but I probably won't get to it until
> Saturday.

Interesting.  If this works, I'd say that avformatdecoder  
(MpegPreProcessPacket) should also be changed to fall back to sequence  
markers if GOP markers aren't found.  That should restore full  
functionality for these streams.  Or maybe it should be using sequence  
markers for everything anyway?

I'll have to look at some of my recordings to see where they have  
sequence markers.  I, too, will probably not have time to look at this  
until Saturday.

-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/20031218/fa3a4af0/attachment.pgp


More information about the mythtv-dev mailing list