[mythtv] [PATCH] better avi seek support

John Patrick Poet john at BlueSkyTours.com
Wed May 4 19:41:38 UTC 2005


On Wed, 4 May 2005, J. Donavan Stanley wrote:

> John Patrick Poet wrote:
>
> > Mark Spieth wrote:
> >
> >> I have implemented a patch that allows avis to be played and seeked
> >> correctly. it shows correct length too!
> >> I know its a bit of a nasty hack.
> >> The reasons for doing it this way is to minimise the impact on
> >> libavformat which Isaac has stressed.
> >> Thus avidec.c has 1 new function and is thus easy to merge.
> >> The new function is the same as avi_read_seek except without the
> >> url_fseek.
> >> It is needed to sync the audio and video stream timestamps otherwise
> >> they diverge uncontrollably.
> >> It is only activated if there is an index in the avi file.
> >> The structures in avidec are partially reproduced in
> >> avformatdecoder.cpp to allow scanning of the index table.
> >> This has been annoying me for a while now and have finally done
> >> something about it.
> >> note that I use myth to play my avi's instead of mplayer or xine due
> >> to timestretch and thus it was higher on my priority list.
> >> feedback welcome.
> >> cheers
> >> mark
> >
> >
> >
> > I have several videos I have tried to import into Myth in the past.
> > Doing a "mythcommflag --rebuild" has always been ineffectual.
>
>
> That's because the command is "mythcommflag --video"


Aah.  Okay, for some reason I though that had to do with mythvideo instead
of mythtv.  I will give that a try.

Thanks,

John



More information about the mythtv-dev mailing list