[FFmpeg-devel] [PATCH 1/1] avformat/avio: add configuration options for IO_BUFFER_SIZE

姚靖威 joneyao6 at gmail.com
Thu Mar 13 13:30:51 EET 2025


 protocols like local socket and local file.  In our product, I set
avio-buffer-size
value to 1024 in order to reduce memory.The OS we use is based on nuttx, it
can be used in very small resource chips.

[image: image.png]


Zhao Zhili <quinkblack-at-foxmail.com at ffmpeg.org> 于2025年3月13日周四 18:26写道:

>
>
> > On Mar 13, 2025, at 17:40, 姚靖威 <joneyao6 at gmail.com> wrote:
> >
> > The purpose of this patch is to modify the default buffer size of the
> avio
> > module during compilation.
> > On some resource-constrained devices to save memory, the current default
> > value (32K), it can also be set to a smaller value.
>
> Which protocol? And what’s the value used to replace the default 32KB?
>
> >
> > Nicolas George <george at nsup.org> 于2025年3月11日周二 19:55写道:
> >
> >> joneyao6 at gmail.com (HE12025-03-11):
> >>> From: Jingwei Yao <joneyao6 at gmail.com>
> >>>
> >>> Signed-off-by: Jingwei Yao <joneyao6 at gmail.com>
> >>> ---
> >>> configure             | 6 ++++++
> >>> libavformat/aviobuf.c | 2 +-
> >>> 2 files changed, 7 insertions(+), 1 deletion(-)
> >>
> >> Thanks for the patch. It is missing the explanations about why.
> >>
> >> Regards,
> >>
> >> --
> >>  Nicolas George
> >> _______________________________________________
> >> ffmpeg-devel mailing list
> >> ffmpeg-devel at ffmpeg.org
> >> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> >>
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 10477 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250313/e58b6986/attachment.png>


More information about the ffmpeg-devel mailing list