[FFmpeg-devel] Request: make framepool visible externally

2022-07-12 Thread Marco Vianini
Hi all I'm using Libav libraries (version 4.1.6) to make operations on audio/video AVFrame: conversions, decoding, encoding, etc. To improve performances I'd like to use framepool. So I need to include "libavfilter/framepool.h", but I cannot, because this file is not exported.  Should be possibl

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-13 Thread Marco Vianini
a pool. So it should be very nice if I could use it in my own code. To be possible framepool.h should become a public header. Thank You Il martedì 12 luglio 2022 19:19:34 CEST, James Almer ha scritto: On 7/12/2022 1:28 PM, Marco Vianini wrote: > Hi all > I'm using Libav lib

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-13 Thread Marco Vianini
e above).Then my request to make it public. Thank You Il martedì 12 luglio 2022 19:16:02 CEST, Timo Rothenpieler ha scritto: On 12.07.2022 18:28, Marco Vianini wrote: > Hi all > I'm using Libav libraries (version 4.1.6) to make operations on audio/video > AVFrame: conversions,

[FFmpeg-devel] Performances improvement in "image_copy_plane"

2022-07-13 Thread Marco Vianini
}// MY PATCH STOP     for (;height > 0; height--) {        memcpy(dst, src, bytewidth);        dst += dst_linesize;        src += src_linesize;    }}" What do You think about?Thank You Marco Vianini ___ ffmpeg-devel mailing list ffmpeg-devel@ffmp

Re: [FFmpeg-devel] Performances improvement in "image_copy_plane"

2022-07-13 Thread Marco Vianini
(us)=465315(average=517.017)copy_cnt=1000 size=1920x1080 tot_time_copy(us)=520381(average=520.381) I think the results are very good.What do you think about? Thank You Il mercoledì 13 luglio 2022 11:52:23 CEST, Paul B Mahol ha scritto: On Wed, Jul 13, 2022 at 11:38 AM Marco Vianini

Re: [FFmpeg-devel] Performances improvement in "image_copy_plane"

2022-07-13 Thread Marco Vianini
On Wednesday, July 13, 2022 at 05:08:27 PM GMT+2, Paul B Mahol wrote: On Wed, Jul 13, 2022 at 5:02 PM Marco Vianini < marco_vianini-at-yahoo...@ffmpeg.org> wrote: >  I did following tests on Windows 10 64bit.I compiled code in Release. > I copied my pc camera frame

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-13 Thread Marco Vianini
On Wednesday, July 13, 2022 at 02:02:18 PM GMT+2, James Almer wrote: On 7/13/2022 5:03 AM, Marco Vianini wrote: >  Actually I was speaking about framepool, and not bufferpool. > framepool is intended to get an "AVFrame *" from a pool, by > "ff_frame_pool_get

Re: [FFmpeg-devel] Performances improvement in "image_copy_plane"

2022-07-14 Thread Marco Vianini
On Wednesday, July 13, 2022 at 06:16:15 PM GMT+2, James Almer wrote: On 7/13/2022 12:54 PM, Marco Vianini wrote: > Sorry, my mail client was using html format. > I hope now the mail will be sent correctly. > > > You can get a very big improvement of performances

[FFmpeg-devel] Encoding image

2022-08-02 Thread Marco Vianini
I have a PNG image converted to YUV 420P and I need to encode it to a specific RTMPS URI, with fps 10. The encoding process is quite heavy for the CPU.  In this specific case the frame is always the same, re-encoded at a rate basing on fps. Is it necessary to call "avcodec_send_frame / avcodec_re