Re: [FFmpeg-devel] [PATCH 01/46] avcodec/a64multienc: Avoid intermediate buffer

2021-05-01 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > This patchset is the first batch of patches to implement support for > user-supplied buffers in encoders; those who can't wait can already look > here for the second part dealing with encoders with external libs: > https://github.com/

Re: [FFmpeg-devel] [PATCH 2/2] avformat/dv: use av_packet_alloc() to allocate packets

2021-05-01 Thread Andreas Rheinhardt
James Almer: > As avpriv_dv_get_packet can fail now, make it return < 0 on error, 0 on no > packet found, and > 0 on packet found. > > Signed-off-by: James Almer > --- > libavdevice/iec61883.c | 2 +- > libavformat/avidec.c | 4 +++- > libavformat/dv.c | 51 ++--

[FFmpeg-devel] [PATCH] lavfi/dnn_backend_native_layer_avgpool.c: Correct Spelling of Pixel

2021-05-01 Thread Shubhanshu Saxena
Correct spelling of word `pixel` from `pxiels` Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_native_layer_avgpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/dnn/dnn_backend_native_layer_avgpool.c b/libavfilter/dnn/dnn_backend_native_laye

Re: [FFmpeg-devel] [PATCH 2/2 v2] avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker

2021-05-01 Thread James Almer
On 5/1/2021 12:06 PM, James Almer wrote: On 5/1/2021 11:30 AM, James Almer wrote: On 5/1/2021 11:17 AM, Michael Niedermayer wrote: On Sat, May 01, 2021 at 09:41:55AM -0300, James Almer wrote: On 5/1/2021 4:01 AM, Michael Niedermayer wrote: On Thu, Apr 22, 2021 at 02:02:33PM -0300, James Almer

Re: [FFmpeg-devel] [PATCH 2/2 v2] avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker

2021-05-01 Thread James Almer
On 5/1/2021 11:30 AM, James Almer wrote: On 5/1/2021 11:17 AM, Michael Niedermayer wrote: On Sat, May 01, 2021 at 09:41:55AM -0300, James Almer wrote: On 5/1/2021 4:01 AM, Michael Niedermayer wrote: On Thu, Apr 22, 2021 at 02:02:33PM -0300, James Almer wrote: With JPEG-LS PAL8 samples, the JPE

Re: [FFmpeg-devel] [PATCH 2/2 v2] avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker

2021-05-01 Thread James Almer
On 5/1/2021 11:17 AM, Michael Niedermayer wrote: On Sat, May 01, 2021 at 09:41:55AM -0300, James Almer wrote: On 5/1/2021 4:01 AM, Michael Niedermayer wrote: On Thu, Apr 22, 2021 at 02:02:33PM -0300, James Almer wrote: With JPEG-LS PAL8 samples, the JPEG-LS extension parameters signaled with t

Re: [FFmpeg-devel] [PATCH 2/2 v2] avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker

2021-05-01 Thread Michael Niedermayer
On Sat, May 01, 2021 at 09:41:55AM -0300, James Almer wrote: > On 5/1/2021 4:01 AM, Michael Niedermayer wrote: > > On Thu, Apr 22, 2021 at 02:02:33PM -0300, James Almer wrote: > > > With JPEG-LS PAL8 samples, the JPEG-LS extension parameters signaled with > > > the LSE marker show up after SOF but

[FFmpeg-devel] [PATCH] ffprobe: add option to control optional fields display

2021-05-01 Thread Gyan Doshi
--- doc/ffprobe.texi | 6 ++ fftools/ffprobe.c | 23 +-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index d7fab4ff40..59a397a225 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -335,6 +335,12 @@ Show informa

Re: [FFmpeg-devel] [PATCH 2/2 v2] avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker

2021-05-01 Thread James Almer
On 5/1/2021 4:01 AM, Michael Niedermayer wrote: On Thu, Apr 22, 2021 at 02:02:33PM -0300, James Almer wrote: With JPEG-LS PAL8 samples, the JPEG-LS extension parameters signaled with the LSE marker show up after SOF but before SOS. For those, the pixel format chosen by get_format() in SOF is GRA

[FFmpeg-devel] [PATCH] Revert "avformat/hlsenc: compute video_keyframe_size after write keyframe"

2021-05-01 Thread Steven Liu
This reverts commit b5ca8f2c66954614d81579082025f580efc0cffc. This commit will make new problem about tickets: 9193,9205 It flush data into file with init file context together, and it can get keyframe size, maybe need more method to get keyframe size. Signed-off-by: Steven Liu --- libavformat/

Re: [FFmpeg-devel] [PATCH 2/2 v2] avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker

2021-05-01 Thread Michael Niedermayer
On Thu, Apr 22, 2021 at 02:02:33PM -0300, James Almer wrote: > With JPEG-LS PAL8 samples, the JPEG-LS extension parameters signaled with > the LSE marker show up after SOF but before SOS. For those, the pixel format > chosen by get_format() in SOF is GRAY8, and then replaced by PAL8 in LSE. > This