Re: [FFmpeg-devel] [PATCH v10 3/6] avformat/flvenc: support mux av1 in enhanced flv

2023-06-01 Thread Tristan Matthews
On Mon, May 15, 2023 at 4:43 AM Steven Liu wrote: > > Signed-off-by: Steven Liu > --- > libavformat/Makefile | 2 +- > libavformat/flvenc.c | 22 ++ > 2 files changed, 19 insertions(+), 5 deletions(-) > > diff --git a/libavformat/Makefile b/libavformat/Makefile > index

Re: [FFmpeg-devel] [PATCH v10 0/6] Support enhanced flv in FFmpeg

2023-06-01 Thread Steven Liu
Tristan Matthews 于2023年6月2日周五 01:58写道: > > On Thu, Jun 1, 2023 at 2:08 AM Steven Liu wrote: > > > > Tristan Matthews 于2023年6月1日周四 13:03写道: > > > > > > > you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp. > > > > > > Were you able to push av1 or vp9 to Youtube with this patchset

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/cbs_av1: Clear obu.metadata on error

2023-06-01 Thread James Almer
On 6/1/2023 9:28 PM, Andreas Rheinhardt wrote: 1. Before 97f4263, the current_obu was reset (and the packet effectively discarded) upon errors from ff_cbs_read_packet(); yet this is no longer true and it seems that the contents of current_obu will be processed in the next call to

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/cbs_av1: Clear obu.metadata on error

2023-06-01 Thread Andreas Rheinhardt
Michael Niedermayer: > On error pointers can be left NULL while code later assumes these not to be > NULL > > Fixes: NULL pointer dereference > Fixes: > 59359/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AV1_fuzzer-6726080594313216 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] metadata (.m4a): tag 'tmpo' is not handled

2023-06-01 Thread Brad Lanam
Likewise for MP3 / metadata tag UFID. On Thu, Jun 1, 2023 at 11:48 AM Brad Lanam wrote: > Versions: > Linux: 4.3.6-0+deb11u1 > Windows: 5.1.2-full_build-www.gyan.dev > > The 'tmpo' metadata tag within a .m4a audio file is not recognized by > ffmpeg and is never processed or output.

[FFmpeg-devel] [PATCH 3/3] avcodec/mpeg4videodec: more unsigned in amv computation

2023-06-01 Thread Michael Niedermayer
Fixes: signed integer overflow: -2147483648 + -1048576 cannot be represented in type 'int' Fixes: 59365/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-642654923954585 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 2/3] avcodec/cbs_av1: Clear obu.metadata on error

2023-06-01 Thread Michael Niedermayer
On error pointers can be left NULL while code later assumes these not to be NULL Fixes: NULL pointer dereference Fixes: 59359/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AV1_fuzzer-6726080594313216 Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 1/3] tools/target_dec_fuzzer: adjust threshold for RKA

2023-06-01 Thread Michael Niedermayer
Fixes: Timeout Fixes: 59349/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RKA_fuzzer-5334280839233536 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 2 +- 1 file

Re: [FFmpeg-devel] [PATCH] avdevice/lavfi: fix crash on unconnected outpads

2023-06-01 Thread Paul B Mahol
On Thu, Jun 1, 2023 at 12:14 PM metamuffin wrote: > Nameless outpads would cause an invocation to sscanf with NULL. > Example: ffmpeg -f lavfi -i 'nullsrc;nullsrc' - > Changed to throwing an error instead. > See:

[FFmpeg-devel] [PATCH v2] avformat/http: copy only mime type from Content-Type

2023-06-01 Thread Kacper Michajłow
Content-Type can include charset and boundary which is not a part of mime type and shouldn't be copied as such. Fixes HLS playback when the Content-Type includes additional fields. Signed-off-by: Kacper Michajłow --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH v10 0/6] Support enhanced flv in FFmpeg

2023-06-01 Thread Tristan Matthews
On Thu, Jun 1, 2023 at 2:08 AM Steven Liu wrote: > > Tristan Matthews 于2023年6月1日周四 13:03写道: > > > > > you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp. > > > > Were you able to push av1 or vp9 to Youtube with this patchset alone? > I've tested push them after after this

[FFmpeg-devel] [PATCH] avformat/http: copy only mime type from Content-Type

2023-06-01 Thread Kacper Michajłow
Content-Type can include charset and boundary which is not a part of mime type and shouldn't be copied as such. Fixes HLS playback when the Content-Type includes additional fields. Signed-off-by: Kacper Michajłow --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] MXF - Add jpeg2000 subdescriptor - Sponsored by INA

2023-06-01 Thread Cédric Le Barz
Le 09/05/2023 à 16:28, Pierre-Anthony Lemieux a écrit : Couple of follow-up comments. - "mxf_parse_jpeg2000_frame" could be moved to one of jpeg2000 source files, to keep J2K parsing code together. Maybe there is a way to reuse jpeg2000_read_main_headers() at jpeg2000dec.c? - when defining

[FFmpeg-devel] [PATCH] Fix failure to initialize ddagrab if adapter ID is specified

2023-06-01 Thread Jøger Hansegård
>From dd7208b1edd0d7efcde1a12fd468a180737ad9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Thu, 1 Jun 2023 15:30:48 +0200 Subject: [PATCH] Fix failure to initialize ddagrab if adapter ID is specified If an adapter ID is specified when initializing hw device for

Re: [FFmpeg-devel] [PATCH v2 2/9] avcodec: add D3D12VA hardware accelerated H264 decoding

2023-06-01 Thread Wu, Tong1
> >On Wed, May 31, 2023 at 11:07:15AM +0800, Tong Wu wrote: >> From: Wu Jianhua >> >> The implementation is based on: >> https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12- >video-overview >> >> With the Direct3D 12 video decoding support, we can render or process >> the

Re: [FFmpeg-devel] [PATCH] lavc/aarch64: new optimization for 8-bit hevc_pel_uni_w_pixels, qpel_uni_w_h, qpel_uni_w_v, qpel_uni_w_hv and qpel_h

2023-06-01 Thread Martin Storsjö
On Sun, 28 May 2023, Logan.Lyu wrote: 在 2023/5/28 12:36, Jean-Baptiste Kempf 写道: Hello, The last interaction still has the wrong name in patchset. Thanks for reminding.  I modified the correct name in git. Thanks, most of the issues in the patch seem to have been fixed - however there's

Re: [FFmpeg-devel] [PATCH 1/4] configure: aarch64: Support assembling the dotprod and i8mm arch extensions

2023-06-01 Thread Martin Storsjö
On Sun, 28 May 2023, Martin Storsjö wrote: The documentation for .arch_extension hints at it being possible to disable support for extensions with it too, but that doesn't seem to be the case in practice. If it was, we could add macros to only enable specifically the extensions we want around

[FFmpeg-devel] [PATCH] avdevice/lavfi: fix crash on unconnected outpads

2023-06-01 Thread metamuffin
Nameless outpads would cause an invocation to sscanf with NULL. Example: ffmpeg -f lavfi -i 'nullsrc;nullsrc' - Changed to throwing an error instead. --- libavdevice/lavfi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index

Re: [FFmpeg-devel] [PATCH v10 0/6] Support enhanced flv in FFmpeg

2023-06-01 Thread Jean-Baptiste Kempf
Hello, On Thu, 1 Jun 2023, at 02:02, Steven Liu wrote: > Neal Gompa 于2023年5月31日周三 13:47写道: >> >> On Mon, May 15, 2023 at 10:41 PM Neal Gompa wrote: >> > >> > On Mon, May 15, 2023 at 4:32 AM Steven Liu wrote: >> > > >> > > Reference file: >> > >

Re: [FFmpeg-devel] [PATCH v10 0/6] Support enhanced flv in FFmpeg

2023-06-01 Thread Steven Liu
Tristan Matthews 于2023年6月1日周四 13:03写道: > > > you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp. > > Were you able to push av1 or vp9 to Youtube with this patchset alone? I've tested push them after after this patchset, do you mean you get some problems after this patchset?