[FFmpeg-devel] Filters and addition/removal on the fly
Paul B Mahol
onemda at gmail.com
Fri Aug 30 03:05:44 CEST 2013
On 8/30/13, JULIAN GARDNER <joolzg at btinternet.com> wrote:
> I am trying to write a new filter that will when getting stimulus from an
> external source add/remove other filters from the filterchain on the fly?
>
> So my question is, are there any examples which would do this
No, as far as I know, there is no filter that changes filtergraph dynamically.
But there is timeline supported by some fitlers, but it may not be
what you are looking for.
>
> As an example
>
> ffmpeg -i src1 -i src2 -filter_complex '[0:v][1:v] overlay' -v:b 1300k
> overlay_test.ts
>
>
> but with external stimulus to become
>
> ffmpeg -i src1 -i src2 -filter_complex '[0:v][1:v] overlay,edgedetect' -v:b
> 1300k overlay_test.ts
>
>
> and then back again when needed to
>
> ffmpeg -i src1 -i src2 -filter_complex '[0:v][1:v] overlay' -v:b 1300k
> overlay_test.ts
>
>
> This will be a live source and the stimulus will be coming in over a tcp
> link
>
> joolz
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list