[FFmpeg-devel] [PATCH] avformat/file: increase max packet size to 256k for written files

Michael Niedermayer michael at niedermayer.cc
Sat Jun 17 22:35:27 EEST 2017


On Mon, Jun 05, 2017 at 07:16:57PM +0200, Marton Balint wrote:
> Another huge performance improvement when using SMB/CIFS as output.
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  libavformat/file.c | 5 +++++
>  1 file changed, 5 insertions(+)

is this intended to cause any change in output ?

the following changes:
./ffmpeg-old -i ~/videos/matrixbench_mpeg2.mpg -vb 100k -f hds -t 3  hdstest-old

hdstest-new:
total 404
drwxr-x---   2 michael michael   4096 Jun 17 21:35 ./
drwxr-xr-x 168 michael michael 393216 Jun 17 21:35 ../
-rw-r-----   1 michael michael    760 Jun 17 21:35 index.f4m
-rw-r-----   1 michael michael    106 Jun 17 21:35 stream0.abst
-rw-r-----   1 michael michael      4 Jun 17 21:35 stream0Seg1-Frag1

hdstest-old:
total 492
drwxr-x---   2 michael michael   4096 Jun 17 21:35 ./
drwxr-xr-x 168 michael michael 393216 Jun 17 21:35 ../
-rw-r-----   1 michael michael    760 Jun 17 21:35 index.f4m
-rw-r-----   1 michael michael    106 Jun 17 21:35 stream0.abst
-rw-r-----   1 michael michael  93406 Jun 17 21:35 stream0Seg1-Frag1


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170617/449cccb9/attachment.sig>


More information about the ffmpeg-devel mailing list