[FFmpeg-devel] [PATCH v2] avformat/http: Add max_requested_size option

2025-03-29 Thread Nicolas Frattaroli
with an offset to be issued. In particular, this hack is useful for mpv, where it can be used to bypass YouTube's throttling. Signed-off-by: Nicolas Frattaroli --- Changes in v2: - Renamed option from max_request_size to max_requested_size --- libavformat/http.c

Re: [FFmpeg-devel] [PATCH v2] avformat/http: Add max_request_size option

2025-01-15 Thread Nicolas Frattaroli
On 08.01.25 08:35, Marth64 wrote: As it’s effectively controlling the value of the Range header, this is also something one can do with curl’s -r switch or -headers on the http protocol handler now. So I think it’s reasonable to make it available as an option. I would not necessarily brand it as

[FFmpeg-devel] [PATCH v2] avformat/http: Add max_request_size option

2025-01-01 Thread Nicolas Frattaroli
an offset to be issued. In particular, this hack is useful for mpv, where it can be used to bypass YouTube's throttling. Signed-off-by: Nicolas Frattaroli --- Changes in v2: - Fix the request hanging if s->filesize < max_request_size --- libavformat/

[FFmpeg-devel] [PATCH] avformat/http: Add max_request_size option

2025-01-01 Thread Nicolas Frattaroli
an offset to be issued. In particular, this hack is useful for mpv, where it can be used to bypass YouTube's throttling. Signed-off-by: Nicolas Frattaroli --- libavformat/http.c | 42 ++ 1 file changed, 30 insertions(+), 12 deletions(-) diff --

Re: [FFmpeg-devel] Questions about Codec

2021-05-13 Thread Nicolas Frattaroli
On 13.05.21 10:16, Renvoi wrote: Dear ffmpeg-devel I want to encode a video or serial number file to the Grassvallay HQ codec in AVI format and export it. Is there any way? Please help us. Grass Valley https://pro.grassvalley.jp/catalog/hqcodec/hq_codec.htm This is the development list, not

[FFmpeg-devel] [PATCH] lavc/pngdec: actually use SIMD version for bpp<=2

2021-05-11 Thread Nicolas Frattaroli
The SIMD version was only used by the bpp > 2 case. This patch uses the SIMD version for both code paths. Change has been tested to still work with a 1-bpp image that uses paeth, to generate one: pngnq-s9 input.png optipng -f4 -force input-nq8.png --- libavcodec/pngdec.c | 2 +- 1 file changed,

Re: [FFmpeg-devel] [PATCH] avformat/libssh: add AVOptions for authentication

2020-07-14 Thread Nicolas Frattaroli
Actually, forget this patch. It was modeled after the previous AVOption patch I sent for the ftp protocol, but a better more generic approach would be to have some sort of callback for API users so they can just implement .netrc. Like this, with just AVOption for usernames and passwords, we can't

[FFmpeg-devel] [PATCH] avformat/libssh: add AVOptions for authentication

2020-07-14 Thread Nicolas Frattaroli
encoding. Setting them while also having credentials in the URL will use the credentials from the URL. The rationale for this is that credentials embedded in the URL are probably more specific to what the user is trying to do than anything set by some API user. Signed-off-by: Nicolas Frattaroli --- doc

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: multiple reference frames

2019-10-26 Thread Nicolas Frattaroli
On 27.10.19 02:14, hydra3...@gmail.com wrote: > I see the attachment (attached by outlook) was scrubbed. > Sorry, I'd hoped it would work. > So, patch just pasted below to see if that works. > Please use git send-email. It's the easiest way to properly send patches to the list.

[FFmpeg-devel] [PATCH] avformat/ftp: add AVOptions for authentication

2019-10-26 Thread Nicolas Frattaroli
. Setting them while also having credentials in the URL will use the credentials from the URL. The rationale for this is that credentials embedded in the URL are probably more specific to what the user is trying to do than anything set by some API user. Signed-off-by: Nicolas Frattaroli --- doc

[FFmpeg-devel] [PATCH] diracdec: fix deprecated API usage

2017-11-02 Thread Nicolas Frattaroli
avcodec_get_chroma_sub_sample is deprecated and generates a warning during build, so av_pix_fmt_get_chroma_sub_sample is used Signed-off-by: Nicolas Frattaroli --- libavcodec/diracdec.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libavcodec/diracdec.c b