[FFmpeg-devel] Output to text file from filter

Clément Bœsch ubitux at gmail.com
Tue Jul 10 16:18:22 CEST 2012


On Tue, Jul 10, 2012 at 03:13:38PM +0100, Mark Himsley wrote:
> Hey,
> 
> I want to put BBC R&D's shot change detector into FFmpeg as a filter.
> but, I need to know the frame number of the frames that were picked.
> 
> I'm not sure that just outputting to the log output is right for
> that, so I'm thinking I should output to a "sidecar" file.
> 
> I've had a look, but I haven't found examples of that in FFmpeg.
> Does anyone have a pointer to a file I can reference to ensure I do
> it the FFmpeg way? Or suggest why I'm a mad-man?
> 

Did you look at how the scene cut is made in the select filter?
http://ffmpeg.org/libavfilter.html#select

-- 
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/2a3a1340/attachment.asc>


More information about the ffmpeg-devel mailing list