Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Zhao Zhili <quinkblack-at-foxmail.com@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 1/1] avformat/avio: add configuration options for IO_BUFFER_SIZE
Date: Thu, 13 Mar 2025 20:50:10 +0800
Message-ID: <tencent_EA965B523589807C35C73E6756799C14E009@qq.com> (raw)
In-Reply-To: <CAG_LTpEFbMncWrqNstyeb5Um77jg=_KS_A5jOesTK36tRaQtgg@mail.gmail.com>

On Mar 13, 2025, at 19:30, 姚靖威 <joneyao6@gmail.com> wrote:
> 
> 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.

How about runtime option like this?

https://ffmpeg.org/pipermail/ffmpeg-devel/2025-March/341107.html

Please don’t top-posting.

> 
> [image: image.png]
> 
> 
> Zhao Zhili <quinkblack-at-foxmail.com@ffmpeg.org> 于2025年3月13日周四 18:26写道:
> 
>> 
>> 
>>> On Mar 13, 2025, at 17:40, 姚靖威 <joneyao6@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@nsup.org> 于2025年3月11日周二 19:55写道:
>>> 
>>>> joneyao6@gmail.com (HE12025-03-11):
>>>>> From: Jingwei Yao <joneyao6@gmail.com>
>>>>> 
>>>>> Signed-off-by: Jingwei Yao <joneyao6@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@ffmpeg.org
>>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>>> 
>>>> To unsubscribe, visit link above, or email
>>>> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>>>> 
>>> _______________________________________________
>>> ffmpeg-devel mailing list
>>> ffmpeg-devel@ffmpeg.org
>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>> 
>>> To unsubscribe, visit link above, or email
>>> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>> 
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel@ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>> 
>> To unsubscribe, visit link above, or email
>> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>> 
> 
> <image.png>_______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
> 

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  reply	other threads:[~2025-03-13 12:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11 11:44 joneyao6
2025-03-11 11:55 ` Nicolas George
2025-03-13  9:40   ` 姚靖威
2025-03-13 10:25     ` Zhao Zhili
2025-03-13 11:30       ` 姚靖威
2025-03-13 12:50         ` Zhao Zhili [this message]
2025-03-13 16:24           ` 姚靖威
2025-03-13 12:56     ` Nicolas George

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_EA965B523589807C35C73E6756799C14E009@qq.com \
    --to=quinkblack-at-foxmail.com@ffmpeg.org \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git