[FFmpeg-user] ffmpeg stdout write performance on windows (buffering request)
nicolas.george at normalesup.org
Thu Aug 16 21:35:57 CEST 2012
Le decadi 30 thermidor, an CCXX, Jason Anders a écrit :
> I'd like to update this RFE to status: discard :o)
> It turned out that reading stdin is dog slow when trying to do this:
> read(handle, buffer, w*h*3);
> I rewrote it to read from stdin in batches of 64K, and-a-bit until I
> get a full frame. After this minor change I could read frames in
> 8ms, as opposed to the ~330ms I had earlier.
If you need very high throughput, you should probably not be using pipes to
forward raw video data anyway. Using the API instead of the command-line
tool would be much more efficient.
> ----- Original Message ----- From: "Roger Pack"
Please do not top post on these mailing-list. And if you do not know what it
is, look it up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-user