[FFmpeg-devel] Output to text file from filter

Clément Bœsch ubitux at gmail.com
Tue Jul 10 19:19:57 CEST 2012

On Tue, Jul 10, 2012 at 06:48:53PM +0200, Nicolas George wrote:
> Le tridi 23 messidor, an CCXX, Clément Bœsch a écrit :
> > Did you look at how the scene cut is made in the select filter?
> > http://ffmpeg.org/libavfilter.html#select
> Since you speak of it, I must say I am really not fond of that approach.
> Of course, having the feature right now is better than waiting forever for
> the perfect design, so you were quite right to just go ahead, and it was
> probably the most useful way of doing it. But now that we have time, we
> should be looking for generic solutions to that issue.
> My main concern is that the scene change test can be useful for other things
> than just selecting the frame: segmenting, updating on-screen text,
> inserting another program, etc.
> A solution that just came to my mind: let the filters attach arbitrary
> key=value pairs to the frames. And, of course, let the select expressions
> use any of these variables.

We discussed the project of "libavfilter metadata injection" several times
yes; I think it's btw as a task on the SOCIS page. Maybe Stefano would
like to comment. I personally don't plan to work on that now, but I would
love that feature (especially in order to access several metadata from
other filter such as drawtext)


Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120710/0f6060ca/attachment.asc>

More information about the ffmpeg-devel mailing list