[mythtv] [PATCH] generic libavformat seek support (6)

Isaac Richards ijr at case.edu
Sat May 21 06:37:50 UTC 2005


On Saturday 21 May 2005 02:07 am, Mark Spieth wrote:
> here is what I hope is the last cut of this patch.
> works seek exact for both avi and mpeg files (the ones I have anyway)
> to overcome the keyframe seek issue with mpeg which doesnt support it
> inside avf I have set it to seek behind by maxkeyframedist and then use
> myth getframe gobble to nudge things forward. avi does this intrinsically.
> the stream dts/frame number was not previously adjusted for my dts
> wraparound fix and this now happens. fixed a few of my problems. I have
> removed all of the guff now so I think its cvsable now. I have left some
> instrumentation in avf utils.c in estimate timing. I have also removed all
> of the estimation code previously there due to previous inadequate support
> for length determination. it still generates the myth native gop list for
> use in mythcommflag --video.

Looks good.  Very minimal modifications to the avformatdecoder, very nice. =)

> Does anyone want a setup checkbox to disable this mode?

Naw, that shouldn't be necessary.

> can that person who had the problems with plextor?? please test again. I
> suspect a start adjust issue was the prob previously. if not could you make
> a recording available (short of course :-)
>
> hopefully I wont have to revisit this. =)

Actually, uhm.  I just started doing a resync with ffmpeg CVS a bit earlier 
tonight.  Not sure exactly when I'll have it in our CVS tree, but, once I've 
got that finished, would you mind verifying that your patch still works 
before I apply it?

Isaac


More information about the mythtv-dev mailing list