[FFmpeg-user] libavfilter : using amix
george at nsup.org
Sun Apr 13 00:26:31 CEST 2014
Le tridi 23 germinal, an CCXXII, Mr Artichaut a écrit :
> My test program is here :
> It's a collection of functions extracted from examples because for now I
> just want to validate a solution.
Your program reads the first file whole and feeds it to the graph, then
reads the second file whole and feeds it to the graph, and only afterwards
read from the filter. That will require enormous amounts of memory, and
possibly fail since libavfilter is not designed for data accumulation in the
middle of filter graphs.
When working with a graph with several inputs, you need to read from the
output, and if it fails due to input being required, add to the correct
input (not both!).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-user