[mythtv] [PATCH] Plextor PX-TV402 / go7007 keyframe seek fix
Nathan Lutchansky
lutchann-mythtvdev at litech.org
Mon May 23 02:18:06 UTC 2005
On Sun, May 22, 2005 at 10:11:31PM -0400, Nathan Lutchansky wrote:
> On Mon, May 23, 2005 at 10:26:36AM +0900, Jack Porter wrote:
> > This patch fixes the problem of up to a second of mpeg blockiess
> > whenever you seek in a video captured with one of these devices.
[...]
> > My solution was to write a 'sync' frame to the nuv only when the frame
> > data written is an MPEG4 I-frame. Why are the sync frames placed so
> > rigidly placed exactly 30 frames apart in the nuv?
>
> Right, so this isn't going to work for the GO7007 for the reasons above.
> The GO7007 driver (and probably other V4L2 MPEG drivers) pass the frame
> type through the V4L2 flags, so if that could be used to produce the sync
> frames in the NUV that would probably be the way to go about it. -Nathan
Sorry, just to clarify, Jack, your approach of writing a sync frame only
for MPEG4 I frames is correct. What I meant to say is that using the V4L2
flags should be compatible with any compression hardware and format,
regardless of whether it is MPEG1/MPEG2/MPEG4/H.264/WMV9/whatever, without
having to try and parse the data stream itself. -Nathan
-------------- 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/20050522/ea21f0a5/attachment.pgp
More information about the mythtv-dev
mailing list