Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffoutput will overflow memory when used for large videos #2

Open
asquared opened this issue Mar 2, 2011 · 0 comments
Open

ffoutput will overflow memory when used for large videos #2

asquared opened this issue Mar 2, 2011 · 0 comments
Labels

Comments

@asquared
Copy link
Owner

asquared commented Mar 2, 2011

The "ffoutput" program will constantly read data from ffmpeg even before it is needed. This can result in large memory buffers being allocated. Potential fixes include using separate ffmpeg processes for video and audio decoding, or blocking the ffmpeg process when buffers exceed a preset size. Separate processes are likely to work best, in light of the fact that ffmpeg audio decoding can be blocked if nothing reads from the video pipe, and vice versa. (Thanks go to lpelay for initially reporting this.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant