[FFmpeg-devel] [PATCH 2/3] avformat/options: disable flush_packets as default
michael at niedermayer.cc
Sat Jun 17 14:20:42 EEST 2017
On Sat, Jun 17, 2017 at 12:18:27AM +0200, Marton Balint wrote:
> On Sun, 4 Jun 2017, Marton Balint wrote:
> >It is a huge performance improvement for encoding files with small packets
> >(e.g. wav) over SMB/CIFS.
> Ping? Maybe enabling this unconditionally is also problematic for
> protocols other than file? If that so, then how about making
> flush_packet a tri state with -1 (auto) as default, and then similar
> to how max_packet_size is handled define something in URLContext to
> be able to set the flush preference on a protocol basis?
i think auto is a good idea.
maybe there also could be a min_flush_bytes/duration that would cause
flush to be ommited if the last automatic flush was too short ago
byte or timestamp wise
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel