[mythtv] [PATCH] better avi seek support
Joseph A. Caputo
jcaputo1 at comcast.net
Wed May 4 20:39:52 UTC 2005
On Wednesday 04 May 2005 13:52, 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"
True; but as you've indicated in the past, the internal player's avi
handling needs work... or have things changed in the past month or two?
-JAC
More information about the mythtv-dev
mailing list