Re: [Libav-user] Seeking problem with avformat_seek_file

2011-09-13 Thread Benjamin Gretsch
th other formats. > > Dan > > > > ------------ > From: moiein2...@gmail.com > Date: Tue, 13 Sep 2011 12:49:14 -0400 > To: libav-user@ffmpeg.org > Subject: Re: [Libav-user] Seeking problem with avformat_

Re: [Libav-user] Seeking problem with avformat_seek_file

2011-09-13 Thread Dan Haddix
Y to make sure you actually end up at the start. This code works well on all the files I've tested, but we only use FFmpeg for MP4, MKV and FLV so you may still have trouble with other formats. Dan From: moiein2...@gmail.com Date: Tue, 13 Sep 2011 12:49:14 -0400 To: libav-user@ffmpeg.org S

Re: [Libav-user] Seeking problem with avformat_seek_file

2011-09-13 Thread Matthew Einhorn
On Tue, Sep 13, 2011 at 12:42 PM, Benjamin Gretsch wrote: > Good afternoon, > > After days of searching and trying, I still have a problem: > > When I use avformat_seek_file() to go back to the very beginning of a file > and then av_read_frame(), I still don't get the first frames again. > > The g

[Libav-user] Seeking problem with avformat_seek_file

2011-09-13 Thread Benjamin Gretsch
Good afternoon, After days of searching and trying, I still have a problem: When I use avformat_seek_file() to go back to the very beginning of a file and then av_read_frame(), I still don't get the first frames again. The goal is to extract multiple chunks of audio from a stream. My approach is