[Ffmpeg-devel] Re: seeking in asf fails

Ronald S. Bultje rbultje
Fri Aug 25 14:00:45 CEST 2006


hi Steve,

On Fri, 2006-08-25 at 13:46 +0200, steve Lhomme wrote:
> Ronald S. Bultje wrote:
> > On Wed, 2006-08-23 at 15:48 +0200, Steve Lhomme wrote:
> >> Here are 2 versions. The original from John Donaghy on the 23-03-2006 
> >> '[Ffmpeg-devel] dvr-ms seek help request'. And the complete changes we 
> >> did for ASF in DrFFMPEG with some more fixes (may not be 100% clean but 
> >> it works).
> > 
> > your patch doesn't apply to the current tree, it's too different for me
> > to figure out quickly how to make it work. The version from John does
> > not fix the issue.
> 
> Michael applied parts of the patch in SVN. Did you try that ?
> If yes and it still doesn't work, can you provide a sample ? I could 
> check if it works with DrDivX and if not fix it and send a new patch.

No, still fails with vanilla current svn. I test  with
http://samples.mplayerhq.hu/A-codecs/WMA2/ffwma2_broken.wma and
http://samples.mplayerhq.hu/A-codecs/WMA/Bangles%2001%20-%20Walk%20Like%
20An%20Egyptian.wma . I originally tested with some other files as well
(basically any wma I could find on mplayerhq), and they all failed;
however, I haven't tested each one of them with current svn.

Output:

$ ./ffplay_g ~/Desktop/ffwma2_broken.wma
Seek to 59% ( 0:02:06) of total duration ( 0:03:33)
[asf @ 0x8322160]seek failed
[asf @ 0x8322160]seek failed
/home/rbultje/Desktop/ffwma2_broken.wma: error while seeking
Seek to 24% ( 0:00:51) of total duration ( 0:03:33)
[asf @ 0x8322160]seek failed
[asf @ 0x8322160]seek failed
/home/rbultje/Desktop/ffwma2_broken.wma: error while seeking

It will sometimes jump to some unspecified position somewhere in the
file when trying to seek, but I don't think the position it seeks to has
anything to do with the position I requested. Just click the same
location 3 times, it will start playing different audio each time.

Cheers,
Ronald





More information about the ffmpeg-devel mailing list