Re: [FFmpeg-devel] [WIP] [PATCH v5 0/1] add Software Defined Radio support

2023-06-26 Thread Peter Ross
On Tue, Jun 27, 2023 at 01:53:01AM +0200, Michael Niedermayer wrote: > Changes since v4: > * vissualization shows modulation and frequency > * limit station search to AM shortwave and FM broadcast band > * enable FM Probing with some minor adjustments, it seems good enough > * FM Mono demodulation

Re: [FFmpeg-devel] [PATCH] libsvtav1: Add workaround for gop_size == 1

2023-06-26 Thread James Almer
On 6/26/2023 7:32 PM, Vignesh Venkat wrote: On Mon, Jun 26, 2023 at 3:17 PM Ronald S. Bultje wrote: Hi, On Mon, Jun 26, 2023 at 1:47 PM Vignesh Venkatasubramanian wrote: In some versions of libsvtav1, setting intra_period_length to 0 does not produce the intended result (i.e.) all frames

[FFmpeg-devel] [PATCH v5] avformat: add Software Defined Radio support

2023-06-26 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- configure|4 + doc/demuxers.texi| 72 ++ libavdevice/Makefile |1 + libavdevice/alldevices.c |1 + libavdevice/sdrindev.c | 369 + libavformat/Makefile |1 + libavformat/allformats.c |1 +

[FFmpeg-devel] [WIP] [PATCH v5 0/1] add Software Defined Radio support

2023-06-26 Thread Michael Niedermayer
Changes since v4: * vissualization shows modulation and frequency * limit station search to AM shortwave and FM broadcast band * enable FM Probing with some minor adjustments, it seems good enough * FM Mono demodulation * some seeking fixes Known issues: * wraparound with seeking is not behaving

Re: [FFmpeg-devel] [PATCH] libsvtav1: Add workaround for gop_size == 1

2023-06-26 Thread Vignesh Venkat
On Mon, Jun 26, 2023 at 3:17 PM Ronald S. Bultje wrote: > > Hi, > > On Mon, Jun 26, 2023 at 1:47 PM Vignesh Venkatasubramanian > wrote: >> >> In some versions of libsvtav1, setting intra_period_length to 0 >> does not produce the intended result (i.e.) all frames produced >> are not keyframes.

Re: [FFmpeg-devel] [PATCH] libsvtav1: Add workaround for gop_size == 1

2023-06-26 Thread Ronald S. Bultje
Hi, On Mon, Jun 26, 2023 at 1:47 PM Vignesh Venkatasubramanian < vigneshv-at-google@ffmpeg.org> wrote: > In some versions of libsvtav1, setting intra_period_length to 0 > does not produce the intended result (i.e.) all frames produced > are not keyframes. > > Instead handle the gop_size == 1

[FFmpeg-devel] [PATCH] avcodec/vlc: auto calculate depth

2023-06-26 Thread Paul B Mahol
Patch attached. From e1ba15ab470752ebe937bc3865fb0dce99da1921 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 24 Jun 2023 10:02:35 +0200 Subject: [PATCH] libavcodec/vlc: auto calculate depth Signed-off-by: Paul B Mahol --- libavcodec/vlc.c | 9 +++-- libavcodec/vlc.h | 1 + 2 files

[FFmpeg-devel] [WIP] [PATCH 1/2] lavfi/framesync: support filters with multiple outputs

2023-06-26 Thread Nicolas George
The filters will have to provide the logic to set the status and check for a wanted frame. Signed-off-by: Nicolas George --- libavfilter/framesync.c | 46 ++--- libavfilter/framesync.h | 28 + 2 files changed, 62 insertions(+), 12

[FFmpeg-devel] [WIP] [PATCH 2/2] lavfi/vf_framematch: add filter to output matching synchronized frames

2023-06-26 Thread Nicolas George
Signed-off-by: Nicolas George --- libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_framematch.c | 82 + 3 files changed, 84 insertions(+) create mode 100644 libavfilter/vf_framematch.c Unfinished yet, but should be

[FFmpeg-devel] [PATCH] libsvtav1: Add workaround for gop_size == 1

2023-06-26 Thread Vignesh Venkatasubramanian
In some versions of libsvtav1, setting intra_period_length to 0 does not produce the intended result (i.e.) all frames produced are not keyframes. Instead handle the gop_size == 1 as a special case by setting the pic_type to EB_AV1_KEY_PICTURE when encoding each frame so that all the output

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_dec: Don't keep sending frame to filters in flushing

2023-06-26 Thread Paul B Mahol
On Mon, Jun 26, 2023 at 6:08 PM Anton Khirnov wrote: > Quoting Fei Wang (2023-06-26 09:24:58) > > Filter may has a limited frame pool size. Do not always send frame to > > filters without reaping. > > > > Fix the regression of commit 5fa00b38e6. > > > > Example cmd: > > $ ffmpeg -threads 20

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_dec: Don't keep sending frame to filters in flushing

2023-06-26 Thread Anton Khirnov
Quoting Fei Wang (2023-06-26 09:24:58) > Filter may has a limited frame pool size. Do not always send frame to > filters without reaping. > > Fix the regression of commit 5fa00b38e6. > > Example cmd: > $ ffmpeg -threads 20 -init_hw_device vaapi=hw:/dev/dri/renderD128 \ > -hwaccel_output_format

[FFmpeg-devel] [PATCH v4 4/4] fate/jpegxl_anim: add demuxer fate test for jpegxl_anim

2023-06-26 Thread Leo Izen
Adds a fate test for the jpegxl_anim demuxer, that should allow testing for true positives and false positives for animated jpegxl files. Note that two of the test cases are not animated, in order to help sort out false positives. Signed-off-by: --- tests/Makefile | 1 +

[FFmpeg-devel] [PATCH v4 3/4] avformat/jpegxl: remove jpegxl_probe, instead call avcodec/jpegxl_parse

2023-06-26 Thread Leo Izen
This prevents code duplication in the source form by calling the parse code that was moved to avcodec last commit. The code will be duplicated in binary form for shared builds (it's not that large), but for source code it will only exist in one location now. Signed-off-by: ---

[FFmpeg-devel] [PATCH v4 2/4] avcodec/jpegxl_parser: add JPEG XL parser

2023-06-26 Thread Leo Izen
Add a parser to libavcodec for AV_CODEC_ID_JPEGXL. It doesn't find the end of the stream in order to packetize the codec, but it does look at the headers to set preliminary information like dimensions and pixel format. Note that much of this code is duplicated from avformat/jpegxl_probe.c, but

[FFmpeg-devel] [PATCH v4 1/4] avcodec/libjxldec: use internal AVFrame as buffered space

2023-06-26 Thread Leo Izen
Before this commit, the decoder erroneously assumes that the AVFrame passed to the receive_frame is the same one each time. Now it keeps an internal AVFrame to write into, and copies it over when it's done. --- libavcodec/libjxldec.c | 38 ++ 1 file changed, 22

[FFmpeg-devel] [PATCH v4 0/4] JPEG XL Parser

2023-06-26 Thread Leo Izen
Changes from v3: - Don't remove AV_CODEC_CAP_DR1 from libjxldec - jpegxl_parse.o added to STLIBOBJS in avcodec/Makefile - add pipe demuxer to avformat/Makefile's SHLIBOBJS Changes from v2: - Fix libjxldec to work with packets that are smaller than one frame - Change how code is shared between

Re: [FFmpeg-devel] [PATCH] libavformat/mpegts.c: fix hardcoded 5-bytes skip for metadata streams.

2023-06-26 Thread Romain Beauxis
Le sam. 24 juin 2023 à 05:51, Thilo Borgmann a écrit : > > Am 24.06.23 um 12:43 schrieb Anton Khirnov: > > Quoting Romain Beauxis (2023-06-22 16:19:36) > >> commit ca0472eeebe478b7eb6e7d1dc4351037f8811728 > >> Author: Romain Beauxis > >> Date: Thu Jun 22 09:14:18 2023 -0500 > >> > >> Add

Re: [FFmpeg-devel] [PATCH] Optimization: support for libx264's mb_info

2023-06-26 Thread Carotti, Elias
On Sat, 2023-06-24 at 13:01 +0200, Anton Khirnov wrote: > CAUTION: This email originated from outside of the organization. Do > not click links or open attachments unless you can confirm the sender > and know the content is safe. > > > > Quoting Carotti, Elias (2023-06-22 19:23:05) > > On Thu,

Re: [FFmpeg-devel] [PATCH v1] fftools/ffmpeg_dec: Don't keep sending frame to filters in flushing

2023-06-26 Thread Wang, Fei W
On Mon, 2023-06-26 at 05:01 +, Xiang, Haihao wrote: > On So, 2023-06-25 at 06:20 +, Xiang, Haihao wrote: > > On Ma, 2023-06-12 at 11:33 +0800, Fei Wang wrote: > > > Filter may has a limited frame pool size. Do not always send > > > frame to > > > filters without reaping. > > > > > > Fix

[FFmpeg-devel] [PATCH v2] fftools/ffmpeg_dec: Don't keep sending frame to filters in flushing

2023-06-26 Thread Fei Wang
Filter may has a limited frame pool size. Do not always send frame to filters without reaping. Fix the regression of commit 5fa00b38e6. Example cmd: $ ffmpeg -threads 20 -init_hw_device vaapi=hw:/dev/dri/renderD128 \ -hwaccel_output_format vaapi -hwaccel vaapi -i avc_1080P.mp4\ -vf

Re: [FFmpeg-devel] [PATCH v2 4/4] decklink_enc: add support for SMPTE 2038 VANC packet output

2023-06-26 Thread Marton Balint
On Thu, 22 Jun 2023, Devin Heitmueller wrote: On Tue, Jun 6, 2023 at 2:56 PM Devin Heitmueller wrote: You indicated in patch 0/4 that you had some additional feedback/comments on this patch series. Could you please provide them? I've got other data formats I'm working on support for (i.e.