[FFmpeg-devel] [PATCH v3 1/2] avformat: refactor ff_stream_encode_params_copy() to ff_stream_params_copy()

2022-07-25 Thread pal
From: Pierre-Anthony Lemieux As discussed at https://ffmpeg.org/pipermail/ffmpeg-devel/2022-July/298491.html. Note that ff_stream_params_copy() does not copy the index field, which is usually set by avformat_new_stream(). --- libavformat/avformat.c | 37 +

[FFmpeg-devel] [PATCH v3 2/2] avformat/imfdec: preserve stream information

2022-07-25 Thread pal
From: Pierre-Anthony Lemieux As discussed at https://trac.ffmpeg.org/ticket/9818, the IMF demuxer does not currently preserve stream information such as language in the case of audio streams. --- libavformat/imfdec.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib

[FFmpeg-devel] [PATCH] avformat/riffdec: fix support for WAVEFORMAT

2022-07-25 Thread Tom Yan
WAVEFORMAT can be used for 16-bit PCM as well. Signed-off-by: Tom Yan --- libavformat/riffdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/riffdec.c b/libavformat/riffdec.c index 3946ecb72f..8289438f08 100644 --- a/libavformat/riffdec.c +++ b/libav

Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-07-25 Thread Michael Niedermayer
On Sun, Jul 24, 2022 at 05:10:17PM +0200, Nicolas George wrote: > I hesitated a long time before replying, but all considering, at this > point expressing what is weighing on my heart cannot make things worse. > > > Michael Niedermayer (12022-07-03): > > What is the timeline for the audio+video m

Re: [FFmpeg-devel] [PATCH] avcodec/x86/pngdsp: Remove obsolete ff_add_bytes_l2_mmx()

2022-07-25 Thread Henrik Gramner
On Mon, Jul 25, 2022 at 5:43 AM Andreas Rheinhardt wrote: > > It is overridden by ff_add_bytes_l2_sse2() on any non-ancient CPU. > > Signed-off-by: Andreas Rheinhardt Lgtm ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH] qsv: Update ffmpeg qsv_errors to recognize GPU hang

2022-07-25 Thread Rogozhkin, Dmitry V
On Mon, 2022-07-25 at 01:21 +, Xiang, Haihao wrote: > On Fri, 2022-07-22 at 11:06 -0700, Dmitry Rogozhkin wrote: > > GPU hang is one of the most typical errors on Intel GPUs in > > case something goes wrong. It's important to recognize it > > explicitly for easier bugs triage. Also, this error

[FFmpeg-devel] [PATCH] qsv: Update ffmpeg qsv_errors to recognize GPU hang and other statuses

2022-07-25 Thread Dmitry Rogozhkin
GPU hang is one of the most typical errors on Intel GPUs in case something goes wrong. It's important to recognize it explicitly for easier bugs triage. Also, this error code can be used to trigger GPU recovery path in self-written applications. There were 2 other statuses which MediaSDK can ppote

[FFmpeg-devel] avdevice/xcbgrab: allow window resizing

2022-07-25 Thread Aline Gondim Santos Gondim Santos
Problem: While grabbing a window, if that window is resized the pipeline does not follow the new size. Solution: Make xbcgrab follow the windows geometry by reinitializing the stream. The stream reinit asked for the SHM removal due to memory leak. Aline Gondim Santos, Software Developer - Mon

Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-07-25 Thread Nicolas George
Ronald S. Bultje (12022-07-25): > We still do this, but currently outside FFmpeg (dav1d). So sadly, it's a > bit more out of the sphere of this mailinglist. So we take risks, and if > AV2-9 comes around, we might again. But we still consider ourselves part of > the FFmpeg community, and I still try

Re: [FFmpeg-devel] [PATCH v1] ffmpeg: add optional JSON output of inputs, outputs, mapping, and progress

2022-07-25 Thread Ingo Oppermann
> On 9 Jun 2022, at 14:47, Ingo Oppermann wrote: > > In order to make a running ffmpeg process easier to monitor and parse by > programs that call the ffmpeg binary and process its output, this patch adds > the command line option -jsonstats. This option is a modifier for the > (no)stats option

Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-07-25 Thread Nicolas George
Michael Niedermayer (12022-07-25): > I think many if us, myself included have had un-fun periods in ffmpeg. > This on its own is already bad and we should strive to make project > contributions more fun to all. In my opinion, it would require at least two things: - That the members of the Communi

Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-07-25 Thread Michael Niedermayer
On Mon, Jul 25, 2022 at 09:01:03PM +0200, Nicolas George wrote: [...] > > If we add a XML parser to FFmpeg. Such a thing would be used by several > > bits and we need to ensure it has redundant maintainership. > > So i think a xml parser needs broad support by developers otherwise we > > run the ri

Re: [FFmpeg-devel] [PATCH 14/18] avcodec/hevcdec: Don't allocate redundant HEVCContexts

2022-07-25 Thread Michael Niedermayer
On Sun, Jul 24, 2022 at 11:26:37PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > On Sat, Jul 23, 2022 at 11:42:23PM +0200, Andreas Rheinhardt wrote: > >> Michael Niedermayer: > >>> On Sat, Jul 23, 2022 at 07:44:40AM +0200, Andreas Rheinhardt wrote: > Andreas Rheinhardt: > > M

Re: [FFmpeg-devel] [PATCH 14/18] avcodec/hevcdec: Don't allocate redundant HEVCContexts

2022-07-25 Thread Andreas Rheinhardt
Michael Niedermayer: > On Sun, Jul 24, 2022 at 11:26:37PM +0200, Andreas Rheinhardt wrote: >> Michael Niedermayer: >>> On Sat, Jul 23, 2022 at 11:42:23PM +0200, Andreas Rheinhardt wrote: Michael Niedermayer: > On Sat, Jul 23, 2022 at 07:44:40AM +0200, Andreas Rheinhardt wrote: >> Andre

Re: [FFmpeg-devel] [PATCH] fate/imf: Rename IMF fate-target

2022-07-25 Thread Pierre-Anthony Lemieux
LGTM. On Sun, Jul 24, 2022 at 9:43 PM Andreas Rheinhardt wrote: > > It conflicts with the name of the test using the testtool > in libavformat.mak. > > Fixes ticket #9841. > > Signed-off-by: Andreas Rheinhardt > --- > Other naming suggestions welcome. > > tests/fate/imf.mak | 2 +- > 1 file ch

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat: refactor ff_stream_encode_params_copy() to ff_stream_params_copy()

2022-07-25 Thread Andreas Rheinhardt
p...@sandflow.com: > From: Pierre-Anthony Lemieux > > As discussed at > https://ffmpeg.org/pipermail/ffmpeg-devel/2022-July/298491.html. > Note that ff_stream_params_copy() does not copy the index field, which is > usually set by avformat_new_stream(). > > --- > libavformat/avformat.c | 37 +