[FFmpeg-user] libavfilter : using amix
Nicolas George
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 :
> https://gist.github.com/MrArtichaut/0cd9147441b51113db4d
> 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!).
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140413/09e223d5/attachment.asc>
More information about the ffmpeg-user
mailing list