Re: [FFmpeg-devel] [PATCH 4/4] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-17 Thread Michael Niedermayer
On Sun, Jul 17, 2022 at 09:27:00PM +0200, Anton Khirnov wrote: > --- > libavcodec/libx264.c | 50 +++- > 1 file changed, 49 insertions(+), 1 deletion(-) breaks build on ubuntu libavcodec/libx264.c: In function ‘csp_to_pixfmt’: libavcodec/libx264.c:317:10:

Re: [FFmpeg-devel] [PATCH] avdevice/avdevice: fix return value of avdevice_list_devices()

2022-07-17 Thread Marton Balint
On Sun, 10 Jul 2022, Marton Balint wrote: According to API docs avdevice_list_devices(), avdevice_list_input_sources() and avdevice_list_input_sinks() should return the number of autodetected devices on success. This is redundant with AVDeviceInfoList->nb_devices so it was not noticed earlier

[FFmpeg-devel] [PATCH 2/4] lavc: add API for exporting reconstructed frames from encoders

2022-07-17 Thread Anton Khirnov
--- doc/APIchanges | 5 + libavcodec/avcodec.c | 10 ++ libavcodec/avcodec.h | 20 libavcodec/codec.h | 8 libavcodec/decode.c| 2 +- libavcodec/decode.h| 5 + libavcodec/encode.c| 25

[FFmpeg-devel] [PATCH 1/4] lavu/frame: allow calling av_frame_make_writable() on non-refcounted frames

2022-07-17 Thread Anton Khirnov
This is an easy way to make a refcounted frame from a non-refcounted one. --- doc/APIchanges | 5 + libavutil/frame.c | 3 --- libavutil/frame.h | 3 ++- libavutil/version.h | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index f9

[FFmpeg-devel] [PATCH 4/4] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-17 Thread Anton Khirnov
--- libavcodec/libx264.c | 50 +++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 98ec030865..b27006c030 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -311,6 +311,23 @@ stati

[FFmpeg-devel] [PATCH 3/4] lavc/mpegvideo_enc: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-17 Thread Anton Khirnov
--- libavcodec/flvenc.c| 1 + libavcodec/h261enc.c | 1 + libavcodec/ituh263enc.c| 3 ++- libavcodec/mjpegenc.c | 4 +++- libavcodec/mpeg12enc.c | 6 -- libavcodec/mpeg4videoenc.c | 3 ++- libavcodec/mpegvideo_enc.c | 8 libavcodec/msmpeg4enc.c| 3 +++ l

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: add display_{rotation, hflip, vflip} options

2022-07-17 Thread Gyan Doshi
On 2022-07-17 08:49 pm, Thilo Borgmann wrote: Hi, Am 26.05.22 um 13:31 schrieb Jan Ekström: On Thu, May 19, 2022 at 9:27 AM Jan Ekström wrote: On Thu, May 19, 2022, 07:21 Gyan Doshi wrote: On 2022-05-18 11:34 pm, Jan Ekström wrote: This enables overriding the rotation as well as hori

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: add display_{rotation, hflip, vflip} options

2022-07-17 Thread Thilo Borgmann
Hi, Am 26.05.22 um 13:31 schrieb Jan Ekström: On Thu, May 19, 2022 at 9:27 AM Jan Ekström wrote: On Thu, May 19, 2022, 07:21 Gyan Doshi wrote: On 2022-05-18 11:34 pm, Jan Ekström wrote: This enables overriding the rotation as well as horizontal/vertical flip state of a specific video st

[FFmpeg-devel] [PATCH] add HDR image format test coverage

2022-07-17 Thread Paul B Mahol
Patch attached. From 7080795a572f8f741d4a00b2db02c8e00ce6aaf2 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 17 Jul 2022 15:12:12 +0200 Subject: [PATCH] fate: add Radiance HDR image test Signed-off-by: Paul B Mahol --- tests/fate/lavf-image.mak | 1 + tests/ref/lavf/hdr| 3 +++

Re: [FFmpeg-devel] [PATCH] RELEASE_NOTES: Based on the version from 5.0

2022-07-17 Thread Michael Niedermayer
On Sun, Jul 17, 2022 at 10:43:02AM +0200, Jean-Baptiste Kempf wrote: > Maybe some highlights of this release? Like the biggest changes and > improvements? Isnt that what Changelog is already doing ? If not i would suggest to push the RELEASE_NOTES and let people add what they feel merrits to be m

[FFmpeg-devel] [PATCH 2/2] Copy AVStream disposition to AVCodecContext and use to set DISPLAY_FLAG_ALL_SAMPLES_FORCED in movtextenc.c.

2022-07-17 Thread facefunk
Signed-off-by: facefunk --- fftools/ffmpeg_opt.c| 5 + libavcodec/avcodec.h| 16 libavcodec/movtextenc.c | 41 - 3 files changed, 61 insertions(+), 1 deletion(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index e

[FFmpeg-devel] [PATCH 1/2] Typos.

2022-07-17 Thread facefunk
Signed-off-by: facefunk --- libavcodec/movtextenc.c | 2 +- libavutil/opt.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/movtextenc.c b/libavcodec/movtextenc.c index 728338f2cc..40cdaa3a81 100644 --- a/libavcodec/movtextenc.c +++ b/libavcodec/movtext

[FFmpeg-devel] (no subject)

2022-07-17 Thread facefunk
Hi FFMDevs, I've managed to get forced mov_text subtitles working in VLC Player. -disposition:s:0 +forced is honored but I'm not 100% sure about my approach. The attached patch represents the best idea I came up with so far as the code is minimal and it doesn't require the user to set any extra

[FFmpeg-devel] [PATCH 2/2] avformat/argo_cvg: add -loop and -reverb options

2022-07-17 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- libavformat/argo_cvg.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/libavformat/argo_cvg.c b/libavformat/argo_cvg.c index 2ee4a64449..36026e562e 100644 --- a/libavformat/argo_cvg.c +++ b/libavformat/argo_cvg.c

[FFmpeg-devel] [PATCH 1/2] avformat/argo_cvg: name unk{1, 2} fields correctly

2022-07-17 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- libavformat/argo_cvg.c | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/libavformat/argo_cvg.c b/libavformat/argo_cvg.c index f32487023a..2ee4a64449 100644 --- a/libavformat/argo_cvg.c +++ b/libavformat/argo

Re: [FFmpeg-devel] [PATCH v2 0/8] ddagrab source filter, lavfi.c wrapped_avframe and dependent changes

2022-07-17 Thread Timo Rothenpieler
On 09.07.2022 00:53, Timo Rothenpieler wrote: Since a bunch small stuff has changed since the last time I sent these one by one, here's the whole collection again. I intend to push the whole lot within the next 48h, so they all make it in before 5.1 gets branched. Timo Rothenpieler (8): fftoo

Re: [FFmpeg-devel] [PATCH 3/8] avutil/mem: Add av_fast_realloc_array()

2022-07-17 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2022-07-14 14:51:07) > Anton Khirnov: > > Quoting Andreas Rheinhardt (2022-07-12 16:12:16) > >> Anton really dislikes the av_fast_* naming and instead wants this to be > >> called av_realloc_array_reuse(). I don't care either way. Any more > >> opinions on this (or on th

Re: [FFmpeg-devel] [PATCH] RELEASE_NOTES: Based on the version from 5.0

2022-07-17 Thread Martijn van Beurden
Op zo 17 jul. 2022 om 00:50 schreef Michael Niedermayer < mich...@niedermayer.cc>: > ATM we have to maintain many releases because each is used by some distro > the LTS designation might cause distros to coalescence onto fewer releases > This may also make life easier to distro maintainers > The

Re: [FFmpeg-devel] [PATCH v2 2/2] lavfi/cropdetect: Add new mode to detect crop-area based on motion vectors and edges

2022-07-17 Thread Thilo Borgmann
Am 16.07.22 um 23:09 schrieb Thilo Borgmann: Am 11.07.22 um 10:54 schrieb Thilo Borgmann: $subject v3. v4. -ThiloFrom 9933d7d69781e1922b4a2ddc22777fdef588dbb2 Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Sun, 17 Jul 2022 09:52:01 +0200 Subject: [PATCH v4 2/2] lavfi/cropdetect: Add n

Re: [FFmpeg-devel] [PATCH v2 1/2] lavfi/edge_common: Add 16bit versions of gaussian_blur and sobel

2022-07-17 Thread Thilo Borgmann
Am 16.07.22 um 23:07 schrieb Thilo Borgmann: Hi, 1/2 adds 16 bit versions of ff_gaussian_blur and ff_sobel. 2/2 adds new mode to cropdetect. v3 does it the template way for 1/2 as requested on IRC. v4 fixed bug in gaussian_blur. Otherwise identical. -ThiloFrom 2cced42f8053c647384fe020cdb2e