[FFmpeg-user] High memory usage when merging videos

Nicolas George george at nsup.org
Mon Dec 19 18:15:33 EET 2016


Le nonidi 29 frimaire, an CCXXV, Carl Eugen Hoyos a écrit :
> A patch that I believe is a prerequisite for the improvement was
> just committed:
> http://ffmpeg.org/pipermail/ffmpeg-cvslog/2016-December/103759.html

I am not sure it would help in this discussion, but I have not followed
the details closely.

The changes I am working on would fix the "bufferqueue overflow,
dropping" problems that occur with slightly unbalanced streams, for
example audio streams with tiny frames where you can get a hundred or so
frames in one go.

But it would not fix the really unbalanced cases, because nothing can.

As a rule of thumb, if now adding (a)fifo helps, then the incoming
changes should help.

On the other hand, huge memory consumption is sign of a really
unbalanced stream, and it would not help.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20161219/d8ebb4c5/attachment.sig>


More information about the ffmpeg-user mailing list