[FFmpeg-user] Fwd: Understanding/preventing buffer overruns
Carl Zwanzig
cpz at tuunq.com
Mon Jul 20 20:33:33 EEST 2020
On 7/20/2020 9:57 AM, Simon Roberts wrote:
> Splitting this into five separate commands, generating five separate
> output files, running them in background simultaneously, works without
> any overruns, dropped frames, or any other complaints.
This more suggests either a threading/process management issue within ffmpeg
or that the underlying OS is starving the ffmpeg process for resources.
(IIRC, some codecs/etc are single-threaded.)
Which OS?
What are the CPU/memory usages in each running scenario?
Try capturing uncompressed video to the null device; then try encoded to a
null device; that should show if there's an issue with the encoder or
elsewhere. Try using a different encoder, too, for test.
And please give us the cmd output (again)- at least with the headers, stream
info, and a few error messages.
Later,
z!
More information about the ffmpeg-user
mailing list