[FFmpeg-devel] [PATCH v2] avfilter/avf_showcqt: improve pts handling

Muhammad Faiz mfcc64 at gmail.com
Wed Feb 17 16:10:39 CET 2016


On Wed, Feb 17, 2016 at 6:26 PM, wm4 <nfxjfg at googlemail.com> wrote:
> On Wed, 17 Feb 2016 10:39:30 +0100
> Paul B Mahol <onemda at gmail.com> wrote:
>
>> On 2/16/16, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>> > correct output pts based on input pts
>> > make seeking possible
>> > output frame one by one on eof
>> > tested with showinfo filter
>> >
>> > patch attached
>> >
>> > thank's
>> >
>>
>> Tested with mpv, works, so LGTM.
>
> I don't think that's sufficient. Also, the patch author said something
> about seeking - I'm not sure what that means (since libavfilter doesn't
> support seeking, not even flushing), and mpv in particular just
> destroys and recreates the entire graph on seeking out of necessity.

I just post a patch for movie/amovie seek support, and test it for
showcqt filter
ffplay -f lavfi "amovie=$HOME/Music/audio.mp3, asendcmd=c='10 amovie
seek -1|120000000|0', asplit[out1],showcqt[out0]"
and it works.


More information about the ffmpeg-devel mailing list